Function at 0x41c360
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
mov edx, 1
push ebx
push esi
push edi
mov ecx, dword [esp + 0x88]
mov edi, dword [ecx + 4]
cmp byte [0x4661b8], dl
lea edi, [ecx + edi*4 + 8]
jne 0x41c3d2
push 4
push dword [esp + 0x90]
lea eax, [esp + 0x18]
push eax
call fcn.0045a4e0
add esp, 0xc
mov ecx, dword [esp + 0x10]
and ecx, 0xff000000
mov edx, dword [esp + 0x10]
and edx, 0xff0000
mov ebx, dword [esp + 0x10]
and ebx, 0xff
mov eax, dword [esp + 0x10]
and eax, 0xff00
shl ebx, 0x18
shl eax, 8
shr edx, 8
or ebx, eax
shr ecx, 0x18
or edx, ebx
or ecx, edx
jmp 0x41c3ec
push 4
push dword [esp + 0x90]
lea ebx, [esp + 0x68]
push ebx
call fcn.0045a4e0
add esp, 0xc
mov ecx, dword [esp + 0x60]
mov edx, edi
add edi, 4
mov dword [esp + 0x38], ecx
mov ecx, dword [edx]
xor dword [esp + 0x38], ecx
cmp byte [0x4661b8], 1
jne 0x41c460
mov edx, dword [esp + 0x8c]
add edx, 4
mov dword [esp + 0x6c], edx
push 4
push dword [esp + 0x70]
lea ecx, [esp + 0x60]
push ecx
call fcn.0045a4e0
add esp, 0xc
mov edx, dword [esp + 0x58]
and edx, 0xff000000
mov ecx, dword [esp + 0x58]
and ecx, 0xff0000
mov eax, dword [esp + 0x58]
and eax, 0xff
mov ebx, dword [esp + 0x58]
and ebx, 0xff00
shl eax, 0x18
shl ebx, 8
shr ecx, 8
or eax, ebx
shr edx, 0x18
or ecx, eax
or edx, ecx
jmp 0x41c485
mov edx, dword [esp + 0x8c]
add edx, 4
mov dword [esp + 0x74], edx
push 4
push dword [esp + 0x78]
lea ecx, [esp + 0x64]
push ecx
call fcn.0045a4e0
add esp, 0xc
mov edx, dword [esp + 0x5c]
mov ecx, edi
add edi, 4
mov dword [esp + 0x3c], edx
mov edx, dword [ecx]
xor dword [esp + 0x3c], edx
cmp byte [0x4661b8], 1
jne 0x41c4f9
mov ecx, dword [esp + 0x8c]
add ecx, 8
mov dword [esp + 0x78], ecx
push 4
push dword [esp + 0x7c]
lea edx, [esp + 0x6c]
push edx
call fcn.0045a4e0
add esp, 0xc
mov ecx, dword [esp + 0x64]
and ecx, 0xff000000
mov edx, dword [esp + 0x64]
and edx, 0xff0000
mov eax, dword [esp + 0x64]
and eax, 0xff
mov ebx, dword [esp + 0x64]
and ebx, 0xff00
shl eax, 0x18
shl ebx, 8
shr edx, 8
or eax, ebx
shr ecx, 0x18
or edx, eax
or ecx, edx
jmp 0x41c521
mov ecx, dword [esp + 0x8c]
add ecx, 8
mov dword [esp + 0x7c], ecx
push 4
push dword [esp + 0x80]
lea edx, [esp + 0x70]
push edx
call fcn.0045a4e0
add esp, 0xc
mov ecx, dword [esp + 0x68]
mov edx, edi
add edi, 4
mov dword [esp + 0x40], ecx
mov ecx, dword [edx]
xor dword [esp + 0x40], ecx
cmp byte [0x4661b8], 1
jne 0x41c59b
mov edx, dword [esp + 0x8c]
add edx, 0xc
mov dword [esp + 0x80], edx
push 4
push dword [esp + 0x84]
lea ecx, [esp + 0x28]
push ecx
call fcn.0045a4e0
add esp, 0xc
mov edx, dword [esp + 0x20]
and edx, 0xff000000
mov ecx, dword [esp + 0x20]
and ecx, 0xff0000
mov eax, dword [esp + 0x20]
and eax, 0xff
mov ebx, dword [esp + 0x20]
and ebx, 0xff00
shl eax, 0x18
shl ebx, 8
shr ecx, 8
or eax, ebx
shr edx, 0x18
or ecx, eax
or edx, ecx
jmp 0x41c5c0
mov edx, dword [esp + 0x8c]
add edx, 0xc
mov dword [esp + 0x70], edx
push 4
push dword [esp + 0x74]
lea ecx, [esp + 0x38]
push ecx
call fcn.0045a4e0
add esp, 0xc
mov edx, dword [esp + 0x30]
mov ecx, edi
add edi, 4
mov dword [esp + 0x44], edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x88]
xor dword [esp + 0x44], edx
mov esi, dword [ecx]
sar esi, 1
dec esi
jle 0x41c89c
mov edx, edi
add edi, 4
mov ecx, dword [edx]
movzx edx, byte [esp + 0x38]
xor ecx, dword [edx*4 + 0x49a0dc]
mov edx, dword [esp + 0x3c]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x49a9dc]
mov dx, word [esp + 0x42]
and edx, 0xff
and edx, 0xff
xor ecx, dword [edx*4 + 0x49b618]
mov edx, dword [esp + 0x44]
shr edx, 0x18
and edx, 0xff
xor ecx, dword [edx*4 + 0x499cd8]
mov dword [esp + 0x48], ecx
mov ecx, edi
add edi, 4
mov edx, dword [ecx]
movzx ecx, byte [esp + 0x3c]
xor edx, dword [ecx*4 + 0x49a0dc]
mov ecx, dword [esp + 0x40]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49a9dc]
mov cx, word [esp + 0x46]
and ecx, 0xff
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49b618]
mov ecx, dword [esp + 0x38]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x499cd8]
mov dword [esp + 0x4c], edx
mov edx, edi
add edi, 4
mov ecx, dword [edx]
movzx edx, byte [esp + 0x40]
xor ecx, dword [edx*4 + 0x49a0dc]
mov edx, dword [esp + 0x44]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x49a9dc]
mov dx, word [esp + 0x3a]
and edx, 0xff
and edx, 0xff
xor ecx, dword [edx*4 + 0x49b618]
mov edx, dword [esp + 0x3c]
shr edx, 0x18
and edx, 0xff
xor ecx, dword [edx*4 + 0x499cd8]
mov dword [esp + 0x50], ecx
mov ecx, edi
add edi, 4
mov edx, dword [ecx]
movzx ecx, byte [esp + 0x44]
xor edx, dword [ecx*4 + 0x49a0dc]
mov ecx, dword [esp + 0x38]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49a9dc]
mov cx, word [esp + 0x3e]
and ecx, 0xff
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49b618]
mov ecx, dword [esp + 0x40]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x499cd8]
mov ecx, edi
add edi, 4
mov dword [esp + 0x54], edx
mov ecx, dword [ecx]
movzx eax, byte [esp + 0x48]
mov ebx, dword [esp + 0x4c]
shr ebx, 8
and ebx, 0xff
xor ecx, dword [eax*4 + 0x49a0dc]
mov ax, word [esp + 0x52]
shr edx, 0x18
xor ecx, dword [ebx*4 + 0x49a9dc]
and edx, 0xff
and eax, 0xff
and eax, 0xff
xor ecx, dword [eax*4 + 0x49b618]
xor ecx, dword [edx*4 + 0x499cd8]
mov edx, edi
add edi, 4
mov dword [esp + 0x38], ecx
mov ecx, dword [edx]
movzx edx, byte [esp + 0x4c]
xor ecx, dword [edx*4 + 0x49a0dc]
mov edx, dword [esp + 0x50]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x49a9dc]
mov dx, word [esp + 0x56]
and edx, 0xff
and edx, 0xff
xor ecx, dword [edx*4 + 0x49b618]
mov edx, dword [esp + 0x48]
shr edx, 0x18
and edx, 0xff
xor ecx, dword [edx*4 + 0x499cd8]
mov dword [esp + 0x3c], ecx
mov ecx, edi
add edi, 4
mov edx, dword [ecx]
movzx ecx, byte [esp + 0x50]
xor edx, dword [ecx*4 + 0x49a0dc]
mov ecx, dword [esp + 0x54]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49a9dc]
mov cx, word [esp + 0x4a]
and ecx, 0xff
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49b618]
mov ecx, dword [esp + 0x4c]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x499cd8]
mov dword [esp + 0x40], edx
mov edx, edi
add edi, 4
mov ecx, dword [edx]
movzx edx, byte [esp + 0x54]
dec esi
xor ecx, dword [edx*4 + 0x49a0dc]
mov edx, dword [esp + 0x48]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x49a9dc]
mov dx, word [esp + 0x4e]
and edx, 0xff
and edx, 0xff
xor ecx, dword [edx*4 + 0x49b618]
mov edx, dword [esp + 0x50]
shr edx, 0x18
and edx, 0xff
xor ecx, dword [edx*4 + 0x499cd8]
test esi, esi
mov dword [esp + 0x44], ecx
jg 0x41c5e1
mov eax, edi
add edi, 4
mov ecx, dword [eax]
movzx ebx, byte [esp + 0x38]
mov edx, dword [esp + 0x3c]
shr edx, 8
xor ecx, dword [ebx*4 + 0x49a0dc]
and edx, 0xff
xor ecx, dword [edx*4 + 0x49a9dc]
mov ax, word [esp + 0x42]
mov ebx, dword [esp + 0x44]
shr ebx, 0x18
and ebx, 0xff
and eax, 0xff
and eax, 0xff
xor ecx, dword [eax*4 + 0x49b618]
xor ecx, dword [ebx*4 + 0x499cd8]
mov dword [esp + 0x48], ecx
mov ecx, edi
add edi, 4
mov esi, dword [ecx]
movzx edx, byte [esp + 0x3c]
mov eax, dword [esp + 0x40]
xor esi, dword [edx*4 + 0x49a0dc]
shr eax, 8
and eax, 0xff
xor esi, dword [eax*4 + 0x49a9dc]
mov bx, word [esp + 0x46]
mov ecx, dword [esp + 0x38]
shr ecx, 0x18
and ecx, 0xff
and ebx, 0xff
and ebx, 0xff
xor esi, dword [ebx*4 + 0x49b618]
xor esi, dword [ecx*4 + 0x499cd8]
mov dword [esp + 0x4c], esi
mov esi, edi
add edi, 4
mov edx, dword [esi]
movzx eax, byte [esp + 0x40]
mov ebx, dword [esp + 0x44]
xor edx, dword [eax*4 + 0x49a0dc]
shr ebx, 8
and ebx, 0xff
xor edx, dword [ebx*4 + 0x49a9dc]
mov cx, word [esp + 0x3a]
mov eax, dword [esp + 0x3c]
shr eax, 0x18
and eax, 0xff
and ecx, 0xff
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49b618]
xor edx, dword [eax*4 + 0x499cd8]
mov dword [esp + 0x50], edx
mov edx, edi
add edi, 4
mov esi, dword [edx]
movzx ebx, byte [esp + 0x44]
mov ecx, dword [esp + 0x38]
xor esi, dword [ebx*4 + 0x49a0dc]
shr ecx, 8
and ecx, 0xff
xor esi, dword [ecx*4 + 0x49a9dc]
mov ax, word [esp + 0x3e]
mov edx, dword [esp + 0x40]
shr edx, 0x18
and edx, 0xff
and eax, 0xff
and eax, 0xff
xor esi, dword [eax*4 + 0x49b618]
xor esi, dword [edx*4 + 0x499cd8]
mov ecx, esi
shr ecx, 0x18
mov dword [esp + 0x54], esi
and ecx, 0xff
movzx ebx, byte [ecx + 0x49ba18]
mov ax, word [esp + 0x52]
shl ebx, 0x18
and eax, 0xff
and eax, 0xff
movzx esi, byte [eax + 0x49ba18]
mov ecx, dword [esp + 0x4c]
shr ecx, 8
shl esi, 0x10
and ecx, 0xff
movzx edx, byte [ecx + 0x49ba18]
mov eax, edi
shl edx, 8
add edi, 4
mov ecx, dword [eax]
movzx eax, byte [esp + 0x48]
movzx eax, byte [eax + 0x49ba18]
xor ecx, eax
xor edx, ecx
xor esi, edx
xor ebx, esi
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x48]
shr ebx, 0x18
and ebx, 0xff
movzx edx, byte [ebx + 0x49ba18]
shl edx, 0x18
mov ax, word [esp + 0x56]
and eax, 0xff
and eax, 0xff
movzx ecx, byte [eax + 0x49ba18]
mov ebx, dword [esp + 0x50]
shr ebx, 8
shl ecx, 0x10
and ebx, 0xff
movzx esi, byte [ebx + 0x49ba18]
mov eax, edi
shl esi, 8
add edi, 4
mov ebx, dword [eax]
movzx eax, byte [esp + 0x4c]
movzx eax, byte [eax + 0x49ba18]
xor ebx, eax
xor esi, ebx
xor ecx, esi
xor edx, ecx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x4c]
shr edx, 0x18
and edx, 0xff
movzx ecx, byte [edx + 0x49ba18]
shl ecx, 0x18
mov ax, word [esp + 0x4a]
and eax, 0xff
and eax, 0xff
movzx ebx, byte [eax + 0x49ba18]
mov edx, dword [esp + 0x54]
shr edx, 8
shl ebx, 0x10
and edx, 0xff
movzx esi, byte [edx + 0x49ba18]
mov eax, edi
shl esi, 8
add edi, 4
mov edx, dword [eax]
movzx eax, byte [esp + 0x50]
movzx eax, byte [eax + 0x49ba18]
xor edx, eax
xor esi, edx
xor ebx, esi
xor ecx, ebx
mov ebx, dword [esp + 0x50]
shr ebx, 0x18
mov dword [esp + 0x40], ecx
and ebx, 0xff
movzx ecx, byte [ebx + 0x49ba18]
mov ax, word [esp + 0x4e]
shl ecx, 0x18
and eax, 0xff
and eax, 0xff
movzx edx, byte [eax + 0x49ba18]
mov ebx, dword [esp + 0x48]
shr ebx, 8
shl edx, 0x10
and ebx, 0xff
movzx esi, byte [ebx + 0x49ba18]
shl esi, 8
mov eax, dword [edi]
movzx ebx, byte [esp + 0x54]
movzx ebx, byte [ebx + 0x49ba18]
xor eax, ebx
xor esi, eax
xor edx, esi
xor ecx, edx
mov dword [esp + 0x44], ecx
cmp byte [0x4661b8], 1
jne 0x41cbe2
mov eax, dword [esp + 0x38]
and eax, 0xff000000
mov edi, dword [esp + 0x38]
and edi, 0xff0000
mov ebx, dword [esp + 0x38]
and ebx, 0xff
mov ecx, dword [esp + 0x38]
and ecx, 0xff00
shl ebx, 0x18
shl ecx, 8
shr edi, 8
or ebx, ecx
shr eax, 0x18
or edi, ebx
or eax, edi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x90]
push 4
lea edx, [esp + 0x18]
push edx
push esi
call fcn.0045a4e0
add esp, 0xc
jmp 0x41cc01
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x18], ecx
push 4
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.0045a4e0
add esp, 0xc
cmp byte [0x4661b8], 1
jne 0x41cc5c
mov ecx, dword [esp + 0x3c]
and ecx, 0xff000000
mov edx, dword [esp + 0x3c]
and edx, 0xff0000
mov eax, dword [esp + 0x3c]
and eax, 0xff
mov edi, dword [esp + 0x3c]
and edi, 0xff00
shl eax, 0x18
shl edi, 8
shr edx, 8
or eax, edi
shr ecx, 0x18
or edx, eax
or ecx, edx
mov dword [esp + 0xc], ecx
lea ecx, [esi + 4]
push 4
lea ebx, [esp + 0x10]
push ebx
push ecx
call fcn.0045a4e0
add esp, 0xc
jmp 0x41cc77
mov eax, dword [esp + 0x3c]
lea ebx, [esi + 4]
mov dword [esp + 0x1c], eax
push 4
lea edi, [esp + 0x20]
push edi
push ebx
call fcn.0045a4e0
add esp, 0xc
cmp byte [0x4661b8], 1
jne 0x41ccd2
mov ebx, dword [esp + 0x40]
and ebx, 0xff000000
mov ecx, dword [esp + 0x40]
and ecx, 0xff0000
mov edx, dword [esp + 0x40]
and edx, 0xff
mov eax, dword [esp + 0x40]
and eax, 0xff00
shl edx, 0x18
shl eax, 8
shr ecx, 8
or edx, eax
shr ebx, 0x18
or ecx, edx
or ebx, ecx
mov dword [esp + 0x24], ebx
lea ebx, [esi + 8]
push 4
lea edi, [esp + 0x28]
push edi
push ebx
call fcn.0045a4e0
add esp, 0xc
jmp 0x41cced
mov edx, dword [esp + 0x40]
lea edi, [esi + 8]
mov dword [esp + 0x28], edx
push 4
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.0045a4e0
add esp, 0xc
cmp byte [0x4661b8], 1
jne 0x41cd49
mov edi, dword [esp + 0x44]
and edi, 0xff000000
mov ebx, dword [esp + 0x44]
and ebx, 0xff0000
mov ecx, dword [esp + 0x44]
and ecx, 0xff
mov edx, dword [esp + 0x44]
and edx, 0xff00
shl ecx, 0x18
shl edx, 8
shr ebx, 8
or ecx, edx
shr edi, 0x18
or ebx, ecx
or edi, ebx
mov dword [esp + 0x2c], edi
lea edi, [esi + 0xc]
push 4
lea eax, [esp + 0x30]
push eax
push edi
call fcn.0045a4e0
add esp, 0xc
jmp 0x41cd64
mov ecx, dword [esp + 0x44]
lea eax, [esi + 0xc]
mov dword [esp + 0x34], ecx
push 4
lea edx, [esp + 0x38]
push edx
push eax
call fcn.0045a4e0
add esp, 0xc
push 0x20
lea ebx, [esp + 0x3c]
push ebx
call fcn.0041a350
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x78
ret