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

Disassembly:
sub esp, 0x40
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
push ebx
push ebp
mov ebp, dword [0x4a4e50]
push esi
mov esi, dword [esp + 0x68]
mov ebx, dword [0x4a4e5c]
movzx eax, word [ecx + ebp*2]
push edi
add eax, dword [esi + ebp*4]
dec ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [0x4a4e50], ebp
mov esi, dword [esp + 0x64]
mov edi, dword [0x4a4e10]
mov eax, dword [eax + 0x7ce4]
xor eax, 0x89d
mov dword [esp + 0x44], eax
movzx eax, word [ecx]
sub ecx, 2
mov dword [esp + 0x68], ecx
mov al, byte [edx + eax*8]
mov edx, dword [esp + 0x58]
mov byte [esp + 0x13], al
movzx eax, byte [0x4a4dfa]
mov dword [esp + 0x1c], eax
movzx eax, word [edx]
movzx ecx, byte [esi + eax*4 + 0x27]
movzx eax, byte [ebx + esi + 4]
and ecx, eax
mov eax, dword [0x4a4e24]
inc ebx
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4a4e30]
mov dword [0x4a4e5c], ebx
movzx eax, word [eax + ebp*2]
add ebp, ebp
xor eax, dword [0x4a4e54]
movzx esi, word [edx]
mov dword [esp + 0x40], eax
mov eax, edi
cdq
idiv dword [ecx + esi*4]
mov eax, dword [esp + 0x1c]
inc edi
mov ecx, eax
mov dword [0x4a4e10], edi
or ecx, 0xea5
mov edi, dword [esp + 0x58]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x78]
mov ecx, dword [ecx + ebp*8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x5c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x7c]
add eax, ebx
inc byte [0x4a4dfa]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x4c], eax
mov eax, dword [0x4a4dfc]
movzx esi, byte [ebx + 0xc2c]
or esi, eax
inc eax
mov dword [0x4a4dfc], eax
movzx eax, word [0x4a4e04]
add eax, eax
mov dword [esp + 0x18], esi
mov eax, dword [ecx + eax*8 + 0x18]
movzx ecx, word [edi]
mov dword [esp + 0x2c], eax
mov eax, ecx
mov al, byte [edx + eax*2]
or al, byte [ebp + 0x3364]
mov byte [esp + 0x12], al
movzx eax, byte [ebx + 0x70]
mov ebp, dword [esp + 0x68]
add eax, 0x7b5
mov dword [esp + 0x30], eax
movzx eax, word [edx + 0x15dc]
mov dword [esp + 0x38], eax
lea eax, [ecx - 1]
mov word [edi], ax
mov ebx, dword [0x4a4e14]
movzx ecx, ax
imul eax, ecx, 6
add ecx, ecx
movzx edx, word [edx + ebx*2]
mov bl, byte [0x4a4dfa]
movzx eax, word [eax + ebp + 4]
sub edx, eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x24], edx
mov eax, dword [eax + ecx*8 + 0xc]
sub eax, dword [0x4a4dfc]
inc bl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
movzx eax, bl
mov byte [0x4a4dfa], bl
cmp dword [ecx + eax*4], esi
ja 0x40d0c2
mov eax, dword [0x4a4e14]
movzx eax, word [eax + eax + 0x1ae5]
cmp dword [0x4a4e10], eax
jne 0x40d0c2
mov eax, dword [esp + 0x64]
push dword [0x4a4e44]
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
movzx edx, byte [eax + 0x1d72]
movzx eax, word [0x4a4e34]
xor edx, esi
inc bl
mov byte [0x4a4dfa], bl
movzx ecx, word [ecx + 0x292e]
mov eax, dword [edi + eax*4 + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x64]
push 0x185f
push eax
movzx eax, bl
mov ebx, dword [0x4a4e14]
movzx eax, byte [eax + ecx]
push eax
mov eax, dword [esp + 0x38]
or eax, ebx
push eax
push edx
call fcn.0040b702
movzx eax, byte [0x4a4dfa]
add esp, 0x18
mov ecx, dword [esp + 0x80]
inc esi
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x58]
add dword [ecx + eax*4], esi
mov eax, dword [0x4a4e58]
lea ecx, [eax + esi*4]
imul eax, dword [esp + 0x24], 0xcf3
sub eax, dword [edx + 0x36d8]
cdq
idiv dword [ecx]
inc esi
mov dword [ecx], edx
mov bl, byte [0x4a4dfa]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], esi
mov eax, dword [0x4a4df0]
push 0x42
pop ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
cmp edx, dword [eax + esi*4]
jbe 0x40d1b5
movzx ecx, byte [0x4a4df9]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
push 0x1739
movzx ebp, byte [eax + ecx*4 + 5]
mov eax, dword [0x4a4e1c]
add ebp, dword [esp + 0x38]
mov ebx, dword [eax + esi*4]
mov eax, dword [0x4a4e3c]
xor ebx, 0x17ae
mov edi, dword [edx + eax*4 + 0xc]
xor edx, edx
mov eax, dword [0x4a4e40]
sub edi, eax
dec eax
mov dword [0x4a4e40], eax
mov eax, dword [esp + 0x70]
mov esi, dword [eax + esi*4 + 0x80]
mov eax, dword [esp + 0x20]
xor esi, ecx
div dword [esp + 0x18]
movzx ecx, word [0x4a4e08]
push eax
mov eax, 0x18bd
add ecx, dword [0x4a4e20]
cdq
idiv dword [esp + 0x28]
dec dword [esp + 0x24]
push ecx
push esi
push edx
push edi
push ebx
push ebp
call fcn.0040e3d0
mov ebx, dword [esp + 0x40]
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x84]
movzx eax, byte [ebx + eax]
xor eax, 0x48b
push eax
push ebx
call fcn.0040b340
mov edi, dword [esp + 0x80]
add esp, 0x28
mov edx, dword [esp + 0x2c]
inc ebx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
movzx ecx, word [edi]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [0x4a4df0]
cmp ebx, dword [eax + esi*4]
ja 0x40d0db
mov bl, byte [0x4a4dfa]
mov ebp, dword [esp + 0x68]
push 0x42
pop ecx
movzx eax, word [edi + esi*8]
inc esi
mov dword [esp + 0x18], esi
cmp eax, dword [esp + 0x28]
jae 0x40d310
mov edx, dword [esp + 0x7c]
movzx eax, bl
add eax, eax
mov dword [esp + 0x14], ecx
cmp dword [edx + eax*8], 0xd33
jge 0x40d310
movzx ecx, byte [esp + 0x13]
mov eax, 0xffff
add word [ebp], ax
movzx eax, word [ebp]
add eax, eax
push ecx
mov eax, dword [edx + eax*8]
imul eax, ecx
push eax
call fcn.0040b340
mov esi, dword [esp + 0x34]
xor edx, edx
mov ebp, dword [esp + 0x78]
lea ebx, [eax + 1]
mov eax, 0x9f
imul ecx, ebx, 0xc
mov dword [esp + 0x20], ebx
div dword [ecx + esi]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x5c]
sub al, byte [ecx + ebx*4]
mov byte [ecx + ebx*4], al
movzx eax, word [0x4a4e2c]
cdq
idiv dword [esi + 0x108]
movzx eax, word [edi]
mov ecx, dword [esp + 0x80]
imul eax, eax, 6
mov word [eax + ecx + 8], dx
movzx eax, word [0x4a4e04]
mov ecx, dword [esp + 0x7c]
imul eax, eax, 0xc
imul edx, dword [eax + ecx], 0x43
movzx ecx, word [edi]
mov eax, dword [0x4a4e1c]
mov dword [eax + ecx*4 + 8], edx
movzx eax, byte [0x4a4df9]
movzx ecx, byte [esp + 0x1a]
mov ebx, dword [esi + eax*4]
mov eax, dword [0x4a4df4]
or ebx, 0x453
movzx edi, byte [eax + ecx*4]
mov eax, dword [esp + 0x64]
mov ecx, dword [0x4a4e44]
mov esi, ecx
movzx eax, word [eax + 0x1a0]
sub esi, eax
mov eax, dword [0x4a4e5c]
inc ecx
mov dword [0x4a4e44], ecx
movzx edx, word [eax + eax + 0x1ae5]
mov eax, dword [0x4a4e30]
mov ecx, dword [eax + 0x7714]
mov eax, dword [esp + 0x40]
imul ecx, dword [eax + 0xc40]
mov eax, dword [0x4a4e14]
inc eax
mov dword [0x4a4e14], eax
movzx eax, byte [eax + ebp]
push eax
push ecx
push edx
push esi
push edi
push ebx
call fcn.0040b702
movzx ecx, word [0x4a4e04]
add esp, 0x20
mov edi, dword [esp + 0x58]
mov dword [0x4a4e50], eax
mov eax, dword [0x4a4e00]
mov dword [esp + 0x14], 0x43
mov eax, dword [eax + ecx*4]
sub eax, dword [0x4a4e38]
mov dword [0x4a4e38], eax
movzx ecx, word [0x4a4e08]
movzx eax, byte [0x4a4df9]
or ecx, 0xa0c
push eax
push ecx
call fcn.0040b340
imul esi, dword [0x4a4e18], 3
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov byte [esp + 0x88], al
imul eax, dword [0x4a4e5c], 3
movzx edx, byte [eax + ecx]
movzx eax, byte [0x4a4df8]
movzx ecx, byte [esi + ebx + 4]
sub edx, eax
mov eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x44]
mov byte [esi + ebx + 4], dl
xor edx, edx
dec byte [0x4a4df8]
mov eax, dword [0x4a4e14]
mov esi, dword [0x4a4e3c]
mov ecx, dword [ecx + eax*4]
dec eax
mov dword [0x4a4e14], eax
mov eax, dword [0x4a4e5c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x84]
mov ebp, dword [ecx + eax*4]
mov al, byte [esp + 0x1b]
xor ebp, dword [esp + 0x48]
inc al
mov ecx, dword [esp + 0x68]
movzx eax, al
mov dword [esp + 0x7c], eax
movzx ecx, byte [esi + ecx]
movzx eax, word [edi + eax*2]
div ecx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
mov ebx, edx
mov edi, dword [esp + 0x4c]
xor edx, edx
movzx eax, byte [eax + ecx + 7]
sub dword [esp + 0x1c], eax
mov ecx, dword [0x4a4e50]
imul eax, ecx, 0xc
mov eax, dword [eax + edi]
div dword [edi + ecx*8 + 0x88]
movzx edx, word [0x4a4e0c]
mov edi, eax
mov eax, dword [esp + 0x64]
movzx esi, word [eax + esi*2 + 8]
mov eax, dword [esp + 0x70]
movzx ecx, word [eax]
mov eax, dword [0x4a4e1c]
imul edx, dword [eax + ecx*8 + 0x14]
push edx
push esi
push edi
push dword [esp + 0x28]
push ebx
push ebp
push dword [0x4a4e3c]
push dword [esp + 0x9c]
call fcn.0040e3d0
mov ecx, dword [0x4a4e50]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x94]
mov word [edi + ecx*2], ax
inc dword [0x4a4e50]
mov eax, dword [esp + 0x80]
movzx edx, word [0x4a4e08]
movzx eax, word [eax]
movzx ecx, word [eax + eax + 0x1ae5]
mov eax, dword [0x4a4e58]
and ecx, dword [eax + 0x67b0]
imul eax, dword [esp + 0x9c], 0xc
mov eax, dword [eax + esi]
add eax, 0x1c0f
push eax
movzx eax, byte [esp + 0xac]
push eax
push 0x1d57
push ecx
push edx
push 0x93c
call fcn.0040b702
mov bl, byte [0x4a4df8]
mov ebp, eax
movzx eax, word [0x4a4e04]
xor edx, edx
imul ecx, eax, 6
add esp, 0x40
mov eax, dword [0x4a4e48]
movzx eax, word [ecx + eax]
movzx ecx, bl
div ecx
mov ecx, dword [0x4a4e4c]
inc bl
mov edx, dword [esp + 0x64]
mov dword [esp + 0x68], eax
mov byte [0x4a4df8], bl
mov ebx, 0x9a3
movzx eax, word [edi]
movzx edi, word [ecx + eax*2]
mov eax, dword [esp + 0x24]
movzx ecx, word [ecx + ebp*2 + 0xe]
movzx esi, byte [edx + eax*4]
xor edx, edx
mov eax, dword [esp + 0x70]
movzx eax, byte [eax + 0x15cb]
imul ecx, eax
push ecx
mov ecx, dword [esp + 0x50]
mov eax, ecx
div ebx
push 0x1b15
push edx
push esi
push dword [esp + 0x2c]
push edi
push dword [0x4a4e40]
push 0x16
push dword [esp + 0x88]
push ecx
call fcn.00401142
mov ecx, dword [0x4a4df0]
add esp, 0x28
mov edx, dword [0x4a4e5c]
pop edi
mov dword [ecx + edx*4 + 0x5c], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x78]
pop esi
pop ebp
movzx eax, word [eax]
add eax, eax
pop ebx
mov eax, dword [ecx + eax*8 + 0x34]
add esp, 0x40
ret