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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xac
cmp dword [ecx + 0x20], 0
je 0x40a78f
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xb], 0
test eax, eax
je 0x40a796
cmp al, 0x64
jb 0x40a7a1
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 + 0x441318]
mov word [esp + 9], ax
mov edx, 0xfffffffd
mov eax, ecx
jmp 0x40a7aa
mov bl, 1
jmp 0x40acb0
lea ebp, [esp + 0xa]
mov byte [esp + 0xa], 0x30
jmp 0x40a7d0
mov edx, 0xffffffff
cmp al, 9
ja 0x40a7bf
lea ecx, [esp + 0xc]
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea ebp, [ecx + edx]
dec ebp
mov byte [esp + edx + 0xb], al
jmp 0x40a7d0
movzx eax, word [eax + eax + 0x441318]
lea ebp, [esp + 9]
mov word [esp + 9], ax
lea eax, [esi + 0x10]
push eax
call fcn.00407530
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.00409630
add esp, 4
mov edi, eax
mov dword [esp + 0x24], 0xadadbeac
mov dword [esp + 0x28], 0
mov word [esp + 0x2c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x40a869
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]
lea edx, [eax + ecx]
add eax, 0x21
and eax, ecx
add eax, eax
sub edx, eax
add edx, 0x2ea6e221
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
add al, 0xdb
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x40a830
lea eax, [esp + 0x24]
mov ecx, esi
push 0x4489c0
mov ebx, eax
push eax
push edi
call fcn.0040a110
mov dword [esp + 0x24], 0x61ced4d4
mov dword [esp + 0x28], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40a8ce
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0x3a095b03
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x99
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40a8a0
mov ecx, esi
push ebp
push ebx
push edi
call fcn.0040a110
mov eax, dword [str.xAeOdp__mainteam]
mov dword [esp], 0x2eb3a7a5
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
cmp ecx, 3
ja 0x40a933
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
movzx edx, byte [esp + edx]
add ecx, 0xf98495ee
xor ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
add cl, 0x21
mov edx, dword [esp + 0xc]
mov byte [esp + edx], cl
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, 4
jb 0x40a900
mov edx, esp
mov ecx, esi
push eax
push edx
push edi
call fcn.0040a110
mov dword [esp + 0x24], 0x66696710
mov dword [esp + 0x28], 0x1b6c6b78
mov dword [esp + 0x2c], 0x696a6b18
mov byte [esp + 0x30], 0x91
mov dword [esp + 0x31], 0
mov dword [esp + 0x34], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x13
ja 0x40a9ae
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0x7b3d62d2
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xb1
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x14
jb 0x40a980
mov dword [esp + 0xc], 0x75809093
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x40aa0a
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0xc]
lea edx, [eax + 0x3a]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x44d33c3a
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xb8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x40a9d0
lea ebp, [esp + 0xc]
mov ecx, esi
push ebx
push ebp
push edi
call fcn.0040a110
mov dword [esp + 0x24], 0x2329255d
mov byte [esp + 0x28], 0xbf
mov dword [esp + 0x29], 0
mov byte [esp + 0x2d], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x40aa7e
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, 0xe2b73b3f
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 4
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x40aa50
mov ecx, esi
push dword [esp + 0x20]
push dword [esp + 0x20]
push ebx
push edi
call fcn.0040a370
mov eax, dword [esi + 0x60]
mov dword [esp + 0x24], 0x72e2700c
mov dword [esp + 0x28], 0x6ee36cfb
mov dword [esp + 0x2c], 0x6afd68f6
mov dword [esp + 0x30], 0x663064e9
mov dword [esp + 0x34], 0x62e8600d
mov dword [esp + 0x38], 0x9e009c0d
mov dword [esp + 0x3c], 0x9abb98d3
mov dword [esp + 0x40], 0x96189402
mov dword [esp + 0x44], 0x921f9005
mov dword [esp + 0x48], 0x8e1f8c16
mov dword [esp + 0x4c], 0x8a1988ea
mov dword [esp + 0x50], 0x86d68409
mov dword [esp + 0x54], 0x8212801f
mov dword [esp + 0x58], 0xbe28bc2f
mov dword [esp + 0x5c], 0xba27b8ee
mov dword [esp + 0x60], 0xb63bb4d6
mov dword [esp + 0x64], 0xb2f6b0d2
mov dword [esp + 0x68], 0xaecdac8d
mov dword [esp + 0x6c], 0xaa24a838
mov dword [esp + 0x70], 0xa63ba433
mov dword [esp + 0x74], 0xa231a0c2
mov dword [esp + 0x78], 0xde98dc56
mov dword [esp + 0x7c], 0xda44d8bb
mov dword [esp + 0x80], 0xd698d49d
mov dword [esp + 0x84], 0xd24cd04d
mov dword [esp + 0x88], 0xce54cc82
mov dword [esp + 0x8c], 0xca57c859
mov dword [esp + 0x90], 0xc65ac454
mov dword [esp + 0x94], 0xc25cc05a
mov dword [esp + 0x98], 0xfe6dfc6f
mov dword [esp + 0x9c], 0xfaa8f866
mov dword [esp + 0xa0], 0xf6cdf4c2
mov word [esp + 0xa4], 0xf0f1
mov byte [esp + 0xaa], 0
mov dword [esp + 0xa6], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x86
ja 0x40ac13
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x24]
add ecx, 0xeb5d92ec
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x63
mov edx, dword [esp]
mov byte [esp + edx + 0x24], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x87
jb 0x40abe0
mov dword [esp + 0xc], 0x5e57b4d
mov dword [esp + 0x10], 0x1e907f6
mov word [esp + 0x14], 0x302
mov dword [esp + 0x16], 0
mov word [esp + 0x1a], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xf
ja 0x40ac83
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0xc]
add ecx, 0x2469b7be
xor ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0x3c
mov edx, dword [esp + 4]
mov byte [esp + edx + 0xc], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x10
jb 0x40ac50
push 0x493e0
push eax
push edi
push 0
push 0
push ebx
push ebp
call fcn.0040ca50
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00409640
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret