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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
cmp dword [ecx + 0x20], 0
je 0x409fe1
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xb], 0
test eax, eax
je 0x409fe8
cmp al, 0x64
jb 0x409ff7
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*8]
movzx edx, cx
shr edx, 0xc
imul ecx, edx, 0x64
sub al, cl
movzx eax, al
movzx eax, word [eax + eax + 0x43e528]
mov word [esp + 9], ax
mov ecx, 1
mov eax, edx
jmp 0x40a000
mov bl, 1
jmp 0x40a5c5
lea eax, [esp + 0xa]
mov dword [esp + 0xc], eax
mov byte [esp + 0xa], 0x30
jmp 0x40a02c
mov ecx, 3
cmp al, 9
ja 0x40a017
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea edx, [esp + ecx]
add edx, 7
mov dword [esp + 0xc], edx
mov byte [esp + ecx + 7], al
jmp 0x40a02c
movzx eax, word [eax + eax + 0x43e528]
lea ecx, [esp + 9]
mov dword [esp + 0xc], ecx
mov word [esp + 9], ax
lea eax, [esi + 0x10]
push eax
call fcn.00406ed0
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x28], eax
lea ebx, [esp + 0xc3]
push ebx
call fcn.004346d0
add esp, 4
mov dword [esp + 0x2c], edi
lea eax, [edi + 0x400]
push eax
call fcn.00408f80
add esp, 4
mov edi, eax
mov dword [esp + 0x30], 0x8f8b9c8e
mov byte [esp + 0x34], 0x2a
mov dword [esp + 0x35], 0
mov dword [esp + 0x38], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x40a0ea
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
mov edx, eax
and edx, 0xf00a3a05
xor eax, 0xf00a3a05
lea eax, [eax + edx*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xdd
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x40a0a0
lea eax, [esp + 0x30]
mov ecx, esi
push ebx
mov ebx, eax
push eax
push edi
call fcn.00409890
mov dword [esp + 0x30], 0x93fcfae6
mov dword [esp + 0x34], 0
mov word [esp + 0x38], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x40a14e
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
add eax, 0xa2c50113
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x7b
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x40a120
mov ecx, esi
push dword [esp + 0xc]
push ebx
mov dword [esp + 0x14], edi
push edi
call fcn.00409890
mov eax, dword [str.jMw1IE__SHELLS]
mov dword [esp + 0x30], 0x2b404a4a
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov word [esp + 0x3c], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xd
ja 0x40a1ef
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx ebx, byte [esp + edx + 0x30]
lea edi, [ecx + 0x6f757ba5]
lea edx, [ecx + ebx]
add edx, 0x6f757ba5
and edi, ebx
add ecx, 0xa5
and ecx, ebx
add ecx, edi
mov edi, edx
not edi
and edi, ecx
not ecx
and ecx, edx
sub ecx, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x7d
mov edx, dword [esp]
mov byte [esp + edx + 0x30], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xe
jb 0x40a1a0
mov ecx, esi
push eax
lea ebx, [esp + 0x34]
push ebx
mov edi, dword [esp + 0x14]
push edi
call fcn.00409890
mov dword [esp + 0x30], 0xc7ccc4f3
mov dword [esp + 0x34], 0xf4c3c8db
mov dword [esp + 0x38], 0xcecdc8fb
mov byte [esp + 0x3c], 0x6c
mov dword [esp + 0x3d], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x10
ja 0x40a26e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
add eax, 0x3531f810
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x90
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x11
jb 0x40a240
mov dword [esp + 0x10], 0x7bccdcc5
mov dword [esp + 0x14], 0
mov dword [esp + 0x17], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x40a2db
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x7fc1decf]
add eax, 0xcf
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp], edx
mov eax, dword [esp]
add al, 0x57
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x40a2a0
lea eax, [esp + 0x10]
mov ecx, esi
push ebx
push eax
push edi
call fcn.00409890
mov dword [esp + 0x30], 0x3c343a38
mov byte [esp + 0x34], 0x82
mov dword [esp + 0x35], 0
mov word [esp + 0x39], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x40a358
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 + 0x30]
lea edx, [eax - 0x3c0e6d15]
add eax, 0xeb
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x93
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x40a320
mov ecx, esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push ebx
push edi
call fcn.00409b30
mov eax, dword [esi + 0x60]
mov dword [esp + 0x30], 0x4bc55593
mov dword [esp + 0x34], 0x4fdc49d8
mov dword [esp + 0x38], 0x43de4dd5
mov dword [esp + 0x3c], 0x479341d6
mov dword [esp + 0x40], 0x7bcb45b2
mov dword [esp + 0x44], 0x7fe379ea
mov dword [esp + 0x48], 0x735c7db0
mov dword [esp + 0x4c], 0x77fb71e1
mov dword [esp + 0x50], 0x6be075ea
mov dword [esp + 0x54], 0x6ff869f5
mov dword [esp + 0x58], 0x63fa6d89
mov dword [esp + 0x5c], 0x67b161f6
mov dword [esp + 0x60], 0x1bf565fc
mov dword [esp + 0x64], 0x1f8b198c
mov dword [esp + 0x68], 0x13f81dcd
mov dword [esp + 0x6c], 0x178411f5
mov dword [esp + 0x70], 0xbd915f1
mov dword [esp + 0x74], 0xfee092a
mov dword [esp + 0x78], 0x3870d9f
mov dword [esp + 0x7c], 0x7e40190
mov dword [esp + 0x80], 0x3b9205e1
mov dword [esp + 0x84], 0x3ffb39b5
mov dword [esp + 0x88], 0x33a73dd8
mov dword [esp + 0x8c], 0x37fb31fa
mov dword [esp + 0x90], 0x2baf35d2
mov dword [esp + 0x94], 0x2fb729e1
mov dword [esp + 0x98], 0x23c82dbe
mov dword [esp + 0x9c], 0x27c521b3
mov dword [esp + 0xa0], 0xdbbf25b9
mov dword [esp + 0xa4], 0xdf4ed94c
mov dword [esp + 0xa8], 0xd30bdd45
mov dword [esp + 0xac], 0xd7eed1e1
mov word [esp + 0xb0], 0xd5d6
mov dword [esp + 0xb9], 0
mov dword [esp + 0xb6], 0
mov dword [esp + 0xb2], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x8c
ja 0x40a50a
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x30]
lea edi, [ecx + 0x30ca190d]
add ecx, 0xd
and ecx, edx
or edi, edx
sub edi, ecx
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x10]
add cl, 0xa5
mov edx, dword [esp]
mov byte [esp + edx + 0x30], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x8d
jb 0x40a4d0
mov dword [esp + 0x10], 0xa303a1f7
mov dword [esp + 0x14], 0x9f079d32
mov word [esp + 0x18], 0x999e
mov dword [esp + 0x1e], 0
mov dword [esp + 0x1a], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x11
ja 0x40a590
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 + 0x10]
lea edi, [ecx + edx]
add ecx, 0x9b
and ecx, edx
add ecx, ecx
sub edi, ecx
add edi, 0x318e239b
mov dword [esp], edi
mov ecx, dword [esp]
add cl, 0xc3
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x12
jb 0x40a550
push 0x493e0
push eax
mov edi, dword [esp + 0x14]
push edi
push 0
push 0
push ebx
lea eax, [esp + 0x28]
push eax
call fcn.0040e7e0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00408f90
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret