Function at 0x41cd80
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 0x41cdf2
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 0x41ce0c
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 0x41ce80
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 0x41cea5
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 0x41cf19
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 0x41cf41
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 0x41cfbb
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 0x41cfe0
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 0x41d2be
mov edx, edi
add edi, 4
mov ecx, dword [edx]
movzx edx, byte [esp + 0x38]
xor ecx, dword [edx*4 + 0x49b218]
mov edx, dword [esp + 0x44]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x49bb48]
mov dx, word [esp + 0x42]
and edx, 0xff
and edx, 0xff
xor ecx, dword [edx*4 + 0x49a4dc]
mov edx, dword [esp + 0x3c]
shr edx, 0x18
and edx, 0xff
xor ecx, dword [edx*4 + 0x49ae18]
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 + 0x49b218]
mov ecx, dword [esp + 0x38]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49bb48]
mov cx, word [esp + 0x46]
and ecx, 0xff
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49a4dc]
mov ecx, dword [esp + 0x40]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49ae18]
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 + 0x49b218]
mov edx, dword [esp + 0x3c]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x49bb48]
mov dx, word [esp + 0x3a]
and edx, 0xff
and edx, 0xff
xor ecx, dword [edx*4 + 0x49a4dc]
mov edx, dword [esp + 0x44]
shr edx, 0x18
and edx, 0xff
xor ecx, dword [edx*4 + 0x49ae18]
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 + 0x49b218]
mov ecx, dword [esp + 0x40]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49bb48]
mov cx, word [esp + 0x3e]
and ecx, 0xff
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49a4dc]
mov ecx, dword [esp + 0x38]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49ae18]
mov ecx, edi
add edi, 4
mov dword [esp + 0x54], edx
mov ecx, dword [ecx]
movzx eax, byte [esp + 0x48]
xor ecx, dword [eax*4 + 0x49b218]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x49bb48]
mov dx, word [esp + 0x52]
and edx, 0xff
and edx, 0xff
xor ecx, dword [edx*4 + 0x49a4dc]
mov edx, dword [esp + 0x4c]
shr edx, 0x18
and edx, 0xff
xor ecx, dword [edx*4 + 0x49ae18]
mov dword [esp + 0x38], ecx
mov ecx, edi
add edi, 4
mov edx, dword [ecx]
movzx ecx, byte [esp + 0x4c]
xor edx, dword [ecx*4 + 0x49b218]
mov ecx, dword [esp + 0x48]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49bb48]
mov cx, word [esp + 0x56]
and ecx, 0xff
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49a4dc]
mov ecx, dword [esp + 0x50]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49ae18]
mov dword [esp + 0x3c], edx
mov edx, edi
add edi, 4
mov ecx, dword [edx]
movzx edx, byte [esp + 0x50]
xor ecx, dword [edx*4 + 0x49b218]
mov edx, dword [esp + 0x4c]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x49bb48]
mov dx, word [esp + 0x4a]
and edx, 0xff
and edx, 0xff
xor ecx, dword [edx*4 + 0x49a4dc]
mov edx, dword [esp + 0x54]
shr edx, 0x18
and edx, 0xff
xor ecx, dword [edx*4 + 0x49ae18]
mov dword [esp + 0x40], ecx
mov ecx, edi
add edi, 4
mov edx, dword [ecx]
movzx ecx, byte [esp + 0x54]
dec esi
xor edx, dword [ecx*4 + 0x49b218]
mov ecx, dword [esp + 0x50]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49bb48]
mov cx, word [esp + 0x4e]
and ecx, 0xff
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49a4dc]
mov ecx, dword [esp + 0x48]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49ae18]
test esi, esi
mov dword [esp + 0x44], edx
jg 0x41d001
mov eax, edi
add edi, 4
mov edx, dword [eax]
movzx ebx, byte [esp + 0x38]
mov ecx, dword [esp + 0x44]
shr ecx, 8
xor edx, dword [ebx*4 + 0x49b218]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x49bb48]
mov ax, word [esp + 0x42]
mov ebx, dword [esp + 0x3c]
shr ebx, 0x18
and ebx, 0xff
and eax, 0xff
and eax, 0xff
xor edx, dword [eax*4 + 0x49a4dc]
xor edx, dword [ebx*4 + 0x49ae18]
mov dword [esp + 0x48], edx
mov edx, edi
add edi, 4
mov esi, dword [edx]
movzx ecx, byte [esp + 0x3c]
mov eax, dword [esp + 0x38]
xor esi, dword [ecx*4 + 0x49b218]
shr eax, 8
and eax, 0xff
xor esi, dword [eax*4 + 0x49bb48]
mov bx, word [esp + 0x46]
mov edx, dword [esp + 0x40]
shr edx, 0x18
and edx, 0xff
and ebx, 0xff
and ebx, 0xff
xor esi, dword [ebx*4 + 0x49a4dc]
xor esi, dword [edx*4 + 0x49ae18]
mov dword [esp + 0x4c], esi
mov esi, edi
add edi, 4
mov ecx, dword [esi]
movzx eax, byte [esp + 0x40]
mov ebx, dword [esp + 0x3c]
xor ecx, dword [eax*4 + 0x49b218]
shr ebx, 8
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x49bb48]
mov dx, word [esp + 0x3a]
mov eax, dword [esp + 0x44]
shr eax, 0x18
and eax, 0xff
and edx, 0xff
and edx, 0xff
xor ecx, dword [edx*4 + 0x49a4dc]
xor ecx, dword [eax*4 + 0x49ae18]
mov dword [esp + 0x50], ecx
mov ecx, edi
add edi, 4
mov esi, dword [ecx]
movzx ebx, byte [esp + 0x44]
mov edx, dword [esp + 0x40]
xor esi, dword [ebx*4 + 0x49b218]
shr edx, 8
and edx, 0xff
xor esi, dword [edx*4 + 0x49bb48]
mov ax, word [esp + 0x3e]
mov ecx, dword [esp + 0x38]
shr ecx, 0x18
and ecx, 0xff
mov edx, dword [esp + 0x4c]
shr edx, 0x18
and edx, 0xff
and eax, 0xff
and eax, 0xff
xor esi, dword [eax*4 + 0x49a4dc]
xor esi, dword [ecx*4 + 0x49ae18]
mov dword [esp + 0x54], esi
movzx ebx, byte [edx + 0x49a8dc]
mov cx, word [esp + 0x52]
shl ebx, 0x18
and ecx, 0xff
and ecx, 0xff
movzx eax, byte [ecx + 0x49a8dc]
mov ecx, esi
shr ecx, 8
shl eax, 0x10
and ecx, 0xff
movzx edx, byte [ecx + 0x49a8dc]
mov esi, edi
shl edx, 8
add edi, 4
mov ecx, dword [esi]
movzx esi, byte [esp + 0x48]
movzx esi, byte [esi + 0x49a8dc]
xor ecx, esi
xor edx, ecx
xor eax, edx
xor ebx, eax
mov edx, dword [esp + 0x50]
shr edx, 0x18
mov dword [esp + 0x38], ebx
and edx, 0xff
movzx eax, byte [edx + 0x49a8dc]
mov bx, word [esp + 0x56]
shl eax, 0x18
and ebx, 0xff
and ebx, 0xff
movzx ecx, byte [ebx + 0x49a8dc]
mov edx, dword [esp + 0x48]
shr edx, 8
shl ecx, 0x10
and edx, 0xff
movzx esi, byte [edx + 0x49a8dc]
mov ebx, edi
shl esi, 8
add edi, 4
mov edx, dword [ebx]
movzx ebx, byte [esp + 0x4c]
movzx ebx, byte [ebx + 0x49a8dc]
xor edx, ebx
xor esi, edx
xor ecx, esi
xor eax, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x54]
shr ecx, 0x18
and ecx, 0xff
movzx eax, byte [ecx + 0x49a8dc]
shl eax, 0x18
mov bx, word [esp + 0x4a]
and ebx, 0xff
and ebx, 0xff
movzx edx, byte [ebx + 0x49a8dc]
mov ecx, dword [esp + 0x4c]
shr ecx, 8
shl edx, 0x10
and ecx, 0xff
movzx esi, byte [ecx + 0x49a8dc]
mov ebx, edi
shl esi, 8
add edi, 4
mov ecx, dword [ebx]
movzx ebx, byte [esp + 0x50]
movzx ebx, byte [ebx + 0x49a8dc]
xor ecx, ebx
xor esi, ecx
xor edx, esi
xor eax, edx
mov edx, dword [esp + 0x48]
shr edx, 0x18
mov dword [esp + 0x40], eax
and edx, 0xff
movzx eax, byte [edx + 0x49a8dc]
mov bx, word [esp + 0x4e]
shl eax, 0x18
and ebx, 0xff
and ebx, 0xff
movzx ecx, byte [ebx + 0x49a8dc]
mov edx, dword [esp + 0x50]
shr edx, 8
shl ecx, 0x10
and edx, 0xff
movzx esi, byte [edx + 0x49a8dc]
shl esi, 8
mov ebx, dword [edi]
movzx edx, byte [esp + 0x54]
movzx edx, byte [edx + 0x49a8dc]
xor ebx, edx
xor esi, ebx
xor ecx, esi
xor eax, ecx
mov dword [esp + 0x44], eax
cmp byte [0x4661b8], 1
jne 0x41d60c
mov ebx, dword [esp + 0x38]
and ebx, 0xff000000
mov edi, dword [esp + 0x38]
and edi, 0xff0000
mov edx, dword [esp + 0x38]
and edx, 0xff
mov eax, dword [esp + 0x38]
and eax, 0xff00
shl edx, 0x18
shl eax, 8
shr edi, 8
or edx, eax
shr ebx, 0x18
or edi, edx
or ebx, edi
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x90]
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.0045a4e0
add esp, 0xc
jmp 0x41d62b
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x18], eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.0045a4e0
add esp, 0xc
cmp byte [0x4661b8], 1
jne 0x41d686
mov eax, dword [esp + 0x3c]
and eax, 0xff000000
mov ecx, dword [esp + 0x3c]
and ecx, 0xff0000
mov ebx, dword [esp + 0x3c]
and ebx, 0xff
mov edi, dword [esp + 0x3c]
and edi, 0xff00
shl ebx, 0x18
shl edi, 8
shr ecx, 8
or ebx, edi
shr eax, 0x18
or ecx, ebx
or eax, ecx
mov dword [esp + 0xc], eax
lea eax, [esi + 4]
push 4
lea edx, [esp + 0x10]
push edx
push eax
call fcn.0045a4e0
add esp, 0xc
jmp 0x41d6a1
mov ebx, dword [esp + 0x3c]
lea edx, [esi + 4]
mov dword [esp + 0x1c], ebx
push 4
lea edi, [esp + 0x20]
push edi
push edx
call fcn.0045a4e0
add esp, 0xc
cmp byte [0x4661b8], 1
jne 0x41d6fc
mov edx, dword [esp + 0x40]
and edx, 0xff000000
mov eax, dword [esp + 0x40]
and eax, 0xff0000
mov ecx, dword [esp + 0x40]
and ecx, 0xff
mov ebx, dword [esp + 0x40]
and ebx, 0xff00
shl ecx, 0x18
shl ebx, 8
shr eax, 8
or ecx, ebx
shr edx, 0x18
or eax, ecx
or edx, eax
mov dword [esp + 0x24], edx
lea edx, [esi + 8]
push 4
lea edi, [esp + 0x28]
push edi
push edx
call fcn.0045a4e0
add esp, 0xc
jmp 0x41d717
mov ecx, dword [esp + 0x40]
lea edi, [esi + 8]
mov dword [esp + 0x28], ecx
push 4
lea ebx, [esp + 0x2c]
push ebx
push edi
call fcn.0045a4e0
add esp, 0xc
cmp byte [0x4661b8], 1
jne 0x41d772
mov edi, dword [esp + 0x44]
and edi, 0xff000000
mov edx, dword [esp + 0x44]
and edx, 0xff0000
mov eax, dword [esp + 0x44]
and eax, 0xff
mov ecx, dword [esp + 0x44]
and ecx, 0xff00
shl eax, 0x18
shl ecx, 8
shr edx, 8
or eax, ecx
shr edi, 0x18
or edx, eax
or edi, edx
mov dword [esp + 0x2c], edi
lea edi, [esi + 0xc]
push 4
lea ebx, [esp + 0x30]
push ebx
push edi
call fcn.0045a4e0
add esp, 0xc
jmp 0x41d78d
mov eax, dword [esp + 0x44]
lea ebx, [esi + 0xc]
mov dword [esp + 0x34], eax
push 4
lea ecx, [esp + 0x38]
push ecx
push ebx
call fcn.0045a4e0
add esp, 0xc
push 0x20
lea edx, [esp + 0x3c]
push edx
call fcn.0041a350
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x78
ret