Function at 0x40ada0
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 0x40adff
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xb], 0
test eax, eax
je 0x40ae06
cmp al, 0x64
jb 0x40ae11
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 + 0x442318]
mov word [esp + 9], ax
mov edx, 0xfffffffd
mov eax, ecx
jmp 0x40ae1a
mov bl, 1
jmp 0x40b314
lea ebx, [esp + 0xa]
mov byte [esp + 0xa], 0x30
jmp 0x40ae56
mov edx, 0xffffffff
cmp al, 9
ja 0x40ae2f
lea ecx, [esp + 0xc]
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea ebx, [ecx + edx]
dec ebx
mov byte [esp + edx + 0xb], al
jmp 0x40ae56
mov ecx, eax
and ecx, 0x7d
mov edx, eax
and edx, 2
or eax, 2
imul eax, edx
xor edx, 2
imul edx, ecx
movzx eax, word [edx + eax + 0x442318]
lea ebx, [esp + 9]
mov word [esp + 9], ax
lea eax, [esi + 0x10]
push eax
call fcn.00407bf0
add esp, 4
mov ebp, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x1c], eax
lea eax, [ebp + 0x400]
push eax
call fcn.00409d90
add esp, 4
mov edi, eax
mov dword [esp + 0x20], 0xf4f2e7f7
mov byte [esp + 0x24], 0x1b
mov dword [esp + 0x25], 0
mov dword [esp + 0x28], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x40aede
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x20]
add eax, 0x2a5baa5a
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xbb
mov ecx, dword [esp]
mov byte [esp + ecx + 0x20], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x40aeb0
lea eax, [esp + 0x20]
mov ecx, esi
push 0x4499cc
push eax
push edi
call fcn.0040a770
mov dword [esp], 0xb7142e22
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 3
ja 0x40af41
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx]
add eax, 0xdead5689
xor eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
add al, 0xc5
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 4
jb 0x40af10
mov eax, esp
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040a770
mov eax, dword [str.c2CoW0__DOMOVOY]
mov dword [esp + 0x20], 0x11f4e6e2
mov word [esp + 0x24], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 5
ja 0x40afa0
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x20]
add ecx, 0xc709ce
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x40
mov edx, dword [esp]
mov byte [esp + edx + 0x20], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 6
jb 0x40af70
mov ecx, esi
push eax
lea ebx, [esp + 0x24]
push ebx
push edi
call fcn.0040a770
mov dword [esp + 0x20], 0xa590a899
mov dword [esp + 0x24], 0x90a59ca1
mov dword [esp + 0x28], 0xde9fa491
mov byte [esp + 0x2c], pe_nt_image_headers32
mov dword [esp + 0x2d], 0
mov word [esp + 0x31], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x12
ja 0x40b01e
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x20]
add eax, 0xcd2661b5
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x47
mov ecx, dword [esp]
mov byte [esp + ecx + 0x20], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x13
jb 0x40aff0
mov dword [esp + 0xc], 0x1087b58c
mov byte [esp + 0x10], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x40b071
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0x91bbfadf
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xe
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x40b040
lea eax, [esp + 0xc]
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040a770
mov dword [esp + 0x20], 0x564a485a
mov byte [esp + 0x24], 0xfc
mov word [esp + 0x25], 0
mov byte [esp + 0x27], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40b0de
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x20]
add eax, 0x3814db17
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x19
mov ecx, dword [esp]
mov byte [esp + ecx + 0x20], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40b0b0
mov ecx, esi
push ebp
push dword [esp + 0x20]
push ebx
push edi
call fcn.0040a9e0
mov eax, dword [esi + 0x60]
mov dword [esp + 0x20], 0xacdcaee2
mov dword [esp + 0x24], 0xa8d5aad9
mov dword [esp + 0x28], 0xb4c7b6dc
mov dword [esp + 0x2c], 0xb082b2cf
mov dword [esp + 0x30], 0xbc3abee3
mov dword [esp + 0x34], 0xb8d2bacb
mov dword [esp + 0x38], 0xc4e5c681
mov dword [esp + 0x3c], 0xc0bac2b0
mov dword [esp + 0x40], 0xccb1cebb
mov dword [esp + 0x44], 0xc8b9cabc
mov dword [esp + 0x48], 0xd4abd6b8
mov dword [esp + 0x4c], 0xd0e0d2af
mov dword [esp + 0x50], 0xdcacdeb5
mov dword [esp + 0x54], 0xd8aadaa5
mov dword [esp + 0x58], 0xe489e6d4
mov dword [esp + 0x5c], 0xe09de28c
mov dword [esp + 0x60], 0xeca8ee80
mov dword [esp + 0x64], 0xe887eacb
mov dword [esp + 0x68], 0xf48ef686
mov dword [esp + 0x6c], 0xf09df281
mov dword [esp + 0x70], 0xfc83fe90
mov dword [esp + 0x74], 0xf8bafa7c
mov dword [esp + 0x78], 0x46e0669
mov dword [esp + 0x7c], 0x3a023b
mov dword [esp + 0x80], 0xc660e63
mov dword [esp + 0x84], 0x87e0a30
mov dword [esp + 0x88], 0x14791667
mov dword [esp + 0x8c], 0x107c1262
mov dword [esp + 0x90], 0x1c761e68
mov dword [esp + 0x94], 0x18671a65
mov dword [esp + 0x98], 0x241a264c
mov dword [esp + 0x9c], 0x20372230
mov word [esp + 0xa0], 0x2e2f
mov byte [esp + 0xa6], 0
mov dword [esp + 0xa2], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x86
ja 0x40b273
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x20]
add ecx, 0x3e404ea8
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0xf9
mov edx, dword [esp]
mov byte [esp + edx + 0x20], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x87
jb 0x40b240
mov dword [esp + 0xc], 0x62006030
mov dword [esp + 0x10], 0x66fc64f5
mov word [esp + 0x14], 0x9899
mov dword [esp + 0x16], 0
mov word [esp + 0x1a], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xf
ja 0x40b2e3
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0xc]
add ecx, 0xc83b2078
xor ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0xe7
mov edx, dword [esp + 4]
mov byte [esp + edx + 0xc], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x10
jb 0x40b2b0
push 0x493e0
push eax
push edi
push 0
push 0
push ebx
lea eax, [esp + 0x24]
push eax
call fcn.0040d140
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00409da0
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