Function at 0x40ab50
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 0x40ab99
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xb], 0
test eax, eax
je 0x40aba0
cmp al, 0x64
jb 0x40abab
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
shr edx, 0xc
imul ecx, edx, 0x64
sub al, cl
movzx eax, al
movzx eax, word [eax + eax + 0x442318]
mov word [esp + 9], ax
mov ecx, 0xfffffffd
mov eax, edx
jmp 0x40abb4
mov bl, 1
jmp 0x40b0d8
lea ebx, [esp + 0xa]
mov byte [esp + 0xa], 0x30
jmp 0x40abda
mov ecx, 0xffffffff
cmp al, 9
ja 0x40abc9
lea edx, [esp + 0xc]
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea ebx, [edx + ecx]
dec ebx
mov byte [esp + ecx + 0xb], al
jmp 0x40abda
movzx eax, word [eax + eax + 0x442318]
lea ebx, [esp + 9]
mov word [esp + 9], ax
lea eax, [esi + 0x10]
push eax
call fcn.004079b0
add esp, 4
mov ebp, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xa4], eax
lea eax, [ebp + 0x400]
push eax
call fcn.00409a50
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], 0x7b776472
mov byte [esp + 0x20], 0xde
mov word [esp + 0x21], 0
mov byte [esp + 0x23], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40ac5e
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x1c]
add eax, 0xff74dbb
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x9f
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40ac30
lea eax, [esp + 0x1c]
mov ecx, esi
push 0x449600
push eax
push edi
call fcn.0040a460
mov dword [esp + 0x1c], 0x8239350f
mov word [esp + 0x20], 0
mov byte [esp + 0x22], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x40ace4
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 + 0x1c]
lea edx, [eax + 0x2d]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x9011902d
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
not ecx
and ecx, 0xb2
and eax, 0x4d
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x40aca0
mov ecx, esi
push ebx
lea ebx, [esp + 0x20]
push ebx
push edi
call fcn.0040a460
mov eax, dword [str.LPnhqo__ycsrsbzlktlz]
mov dword [esp + 0x1c], 0xe31e1c10
mov word [esp + 0x20], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 5
ja 0x40ad50
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x1c]
add ecx, 0x75d8f6aa
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0xb2
mov edx, dword [esp]
mov byte [esp + edx + 0x1c], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 6
jb 0x40ad20
mov ecx, esi
push eax
push ebx
push edi
call fcn.0040a460
mov dword [esp + 0x1c], 0x1b6c1c6f
mov dword [esp + 0x20], 0x7407101f
mov dword [esp + 0x24], 0x20d0077
mov byte [esp + 0x28], 0xe4
mov dword [esp + 0x29], 0
mov byte [esp + 0x2d], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x11
ja 0x40adce
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 + 0x1c]
add eax, 0x91203baa
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xae
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x12
jb 0x40ada0
mov dword [esp + 0xc], 0x7a0f1d1a
mov word [esp + 0x10], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x40ae21
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0x81ec478
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
dec al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 6
jb 0x40adf0
lea eax, [esp + 0xc]
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040a460
mov dword [esp + 0x1c], 0x28202624
mov byte [esp + 0x20], 0x72
mov dword [esp + 0x21], 0
mov byte [esp + 0x25], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x40ae8e
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x1c]
add eax, 0x921d18dc
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x6e
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x40ae60
mov ecx, esi
push ebp
push dword [esp + 0xa8]
push ebx
push edi
call fcn.0040a6c0
mov eax, dword [esi + 0x60]
mov dword [esp + 0x1c], 0x631d6123
mov dword [esp + 0x20], 0x6712651a
mov dword [esp + 0x24], 0x7b04791d
mov dword [esp + 0x28], 0x7f437d08
mov dword [esp + 0x2c], 0x73fb7124
mov dword [esp + 0x30], 0x77137504
mov dword [esp + 0x34], 0x8baa89c2
mov dword [esp + 0x38], 0x8ffb8df1
mov dword [esp + 0x3c], 0x83f681fc
mov dword [esp + 0x40], 0x87f685fd
mov dword [esp + 0x44], 0x9be899f9
mov dword [esp + 0x48], 0x9fa19de8
mov dword [esp + 0x4c], 0x93ed91f6
mov dword [esp + 0x50], 0x97eb95e6
mov dword [esp + 0x54], 0xabcea995
mov dword [esp + 0x58], 0xafdaadcd
mov dword [esp + 0x5c], 0xa3e9a1c1
mov dword [esp + 0x60], 0xa7c4a584
mov dword [esp + 0x64], 0xbbcfb9c7
mov dword [esp + 0x68], 0xbfdabdc2
mov dword [esp + 0x6c], 0xb3c0b1d1
mov dword [esp + 0x70], 0xb7fbb53d
mov dword [esp + 0x74], 0xcbafc9aa
mov dword [esp + 0x78], 0xcffbcd84
mov dword [esp + 0x7c], 0xc3a7c1a4
mov dword [esp + 0x80], 0xc7bfc5f1
mov dword [esp + 0x84], 0xdbbed9a8
mov dword [esp + 0x88], 0xdfbddda3
mov dword [esp + 0x8c], 0xd3b7d1a9
mov dword [esp + 0x90], 0xd7a4d5a6
mov dword [esp + 0x94], 0xebdbe98d
mov dword [esp + 0x98], 0xeff4edf1
mov word [esp + 0x9c], 0xe1e0
mov word [esp + 0xa2], 0
mov dword [esp + 0x9e], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x87
ja 0x40b02d
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x1c]
lea ebx, [ecx + edx]
add ecx, 0x68
and ecx, edx
add ecx, ecx
sub ebx, ecx
add ebx, 0x43870168
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0xc]
add cl, 0xf8
mov edx, dword [esp]
mov byte [esp + edx + 0x1c], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x88
jb 0x40aff0
mov dword [esp + 0xc], 0xcd2d3305
mov dword [esp + 0x10], 0xc931cf3e
mov word [esp + 0x14], 0xcbca
mov dword [esp + 0x16], 0
mov byte [esp + 0x1a], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xe
ja 0x40b0a3
nop
nop
nop
nop
nop
nop
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, 0x62c847fe
xor ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0x34
mov edx, dword [esp + 4]
mov byte [esp + edx + 0xc], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xf
jb 0x40b070
push 0x493e0
push eax
push edi
push 0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0040d040
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00409a60
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