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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa8
cmp dword [ecx + 0x20], 0
je 0x40a7bf
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xb], 0
test eax, eax
je 0x40a7c6
cmp al, 0x64
jb 0x40a7d1
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*8]
shr ecx, 0xc
imul edx, ecx, 0x64
sub al, dl
movzx eax, al
mov edx, eax
and edx, 0x7d
mov edi, eax
and edi, 2
or eax, 2
imul eax, edi
xor edi, 2
imul edi, edx
movzx eax, word [edi + eax + 0x444318]
mov word [esp + 9], ax
mov edx, 0xfffffffd
mov eax, ecx
jmp 0x40a7da
mov bl, 1
jmp 0x40ace0
lea ebp, [esp + 0xa]
mov byte [esp + 0xa], 0x30
jmp 0x40a816
mov edx, 0xffffffff
cmp al, 9
ja 0x40a7ef
lea ecx, [esp + 0xc]
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea ebp, [ecx + edx]
dec ebp
mov byte [esp + edx + 0xb], al
jmp 0x40a816
mov ecx, eax
or ecx, 2
mov edx, eax
and edx, 2
imul ecx, edx
xor edx, 2
and eax, 0x7d
imul eax, edx
lea ebp, [esp + 9]
movzx eax, word [eax + ecx + 0x444318]
mov word [esp + 9], ax
lea eax, [esi + 0x10]
push eax
call fcn.00407570
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [ecx + 0x400]
push eax
call fcn.00409660
add esp, 4
mov edi, eax
mov dword [esp + 0x24], 0x605e4d59
mov byte [esp + 0x28], 0xc5
mov word [esp + 0x29], 0
mov byte [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40a89e
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0xd0a885bb
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x86
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40a870
lea eax, [esp + 0x24]
mov ecx, esi
push 0x44ba28
mov ebx, eax
push eax
push edi
call fcn.0040a0f0
mov dword [esp + 0x24], 0xac0f1319
mov dword [esp + 0x28], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40a90e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0x40114e81
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xd8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40a8e0
mov ecx, esi
push ebp
push ebx
push edi
call fcn.0040a0f0
mov eax, dword [str.LPnhqo__gscxadqptpxr]
mov dword [esp + 0x24], 0x96ebefe1
mov word [esp + 0x28], 0
mov byte [esp + 0x2a], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 6
ja 0x40a970
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x24]
add ecx, 0x68fcc098
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0xf3
mov edx, dword [esp]
mov byte [esp + edx + 0x24], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 7
jb 0x40a940
mov ecx, esi
push eax
push ebx
push edi
call fcn.0040a0f0
mov dword [esp + 0x24], 0x2150b14
mov dword [esp + 0x28], 0x1f001704
mov dword [esp + 0x2c], 0x5060f1c
mov byte [esp + 0x30], 0xed
mov dword [esp + 0x31], 0
mov dword [esp + 0x34], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x13
ja 0x40a9ee
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0x1bceada2
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xbd
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x14
jb 0x40a9c0
mov dword [esp + 0xc], 0xff485859
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x40aa51
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0xc]
lea edx, [eax + ecx]
add edx, 0x9683d9b
add eax, 0x9683d9b
not ecx
or eax, ecx
sub ecx, eax
lea eax, [edx + ecx*2]
mov dword [esp], eax
mov eax, dword [esp]
add al, 0x9f
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x40aa10
lea ebp, [esp + 0xc]
mov ecx, esi
push ebx
push ebp
push edi
call fcn.0040a0f0
mov dword [esp + 0x24], 0xacacaea8
mov byte [esp + 0x28], 6
mov dword [esp + 0x29], 0
mov word [esp + 0x2d], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x40aabe
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0x185f0721
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xdd
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x40aa90
mov ecx, esi
push dword [esp + 0x20]
push dword [esp + 0x20]
push ebx
push edi
call fcn.0040a360
mov eax, dword [esi + 0x60]
mov dword [esp + 0x24], 0x6a9a6cb0
mov dword [esp + 0x28], 0x66eb689b
mov dword [esp + 0x2c], 0x6291649e
mov dword [esp + 0x30], 0x7e4c60ed
mov dword [esp + 0x34], 0x7afc7c91
mov dword [esp + 0x38], 0x768c7889
mov dword [esp + 0x3c], 0x725374b3
mov dword [esp + 0x40], 0xe847082
mov dword [esp + 0x44], 0xa870cf9
mov dword [esp + 0x48], 0x6f708fe
mov dword [esp + 0x4c], 0x28d04fa
mov dword [esp + 0x50], 0x1e2e008d
mov dword [esp + 0x54], 0x1aea1ce7
mov dword [esp + 0x58], 0x16e41897
mov dword [esp + 0x5c], 0x12ef1426
mov dword [esp + 0x60], 0x2ea310ee
mov dword [esp + 0x64], 0x2aee2cd2
mov dword [esp + 0x68], 0x26d92809
mov dword [esp + 0x6c], 0x22a824d4
mov dword [esp + 0x70], 0x3ec320d3
mov dword [esp + 0x74], 0x3ab53cc2
mov dword [esp + 0x78], 0x36f438be
mov dword [esp + 0x7c], 0x32c834cb
mov dword [esp + 0x80], 0xce0430f9
mov dword [esp + 0x84], 0xca30cc31
mov dword [esp + 0x88], 0xc630c802
mov dword [esp + 0x8c], 0xc23fc435
mov dword [esp + 0x90], 0xde22c030
mov dword [esp + 0x94], 0xda20dc2a
mov dword [esp + 0x98], 0xd659d857
mov dword [esp + 0x9c], 0xd21cd42e
mov dword [esp + 0xa0], 0xeef9d0c2
mov dword [esp + 0xa4], 0xeced
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x83
ja 0x40ac43
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x24]
add ecx, 0x7a804822
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0xb1
mov edx, dword [esp]
mov byte [esp + edx + 0x24], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x84
jb 0x40ac10
mov dword [esp + 0xc], 0x3cde3a0a
mov dword [esp + 0x10], 0x30ca3ecf
mov word [esp + 0x14], 0x3233
mov dword [esp + 0x16], 0
mov byte [esp + 0x1a], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xe
ja 0x40acb3
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0xc]
add ecx, 0x4ef7e172
xor ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0xb7
mov edx, dword [esp + 4]
mov byte [esp + edx + 0xc], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xf
jb 0x40ac80
push 0x493e0
push eax
push edi
push 0
push 0
push ebx
push ebp
call fcn.0040cae0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00409670
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
mov eax, ebx
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret