Function at 0x409fb0
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, 0xb0
mov dword [esp + 0x60], ecx
mov eax, dword [ecx + 0x60]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], 0xa7acae73
mov dword [esp + 0x6c], 0x6aa2ab91
mov dword [esp + 0x70], 0x8ebaa09c
mov dword [esp + 0x74], 0xbb8f4d66
mov dword [esp + 0x78], 0xbb8180b4
mov dword [esp + 0x7c], 0xb3b880b9
mov dword [esp + 0x80], 0x84479147
mov dword [esp + 0x84], 0xbcbb87be
mov dword [esp + 0x88], 0x6e686c84
mov word [esp + 0x8c], 0x156e
mov dword [esp + 0x8e], 0
mov dword [esp + 0x92], 0
mov word [esp + 0x96], 0
mov esi, 0xa32eb288
mov edi, 0x5cd14d77
nop
movzx ecx, byte [esp + esi + 0x5cd14de0]
mov edx, esi
xor edx, ecx
lea ebx, [edi - 0x5cd14d00]
and ebx, ecx
lea eax, [edx + ecx]
not eax
add eax, ebx
or eax, edx
not eax
add eax, eax
lea edx, [esi + ecx]
mov ebx, edi
sub ebx, ecx
and ebx, eax
not eax
and eax, edx
sub eax, ebx
mov dword [esp + 8], eax
mov ecx, dword [esp + 8]
lea eax, [ecx + ecx]
and eax, 0xec8dc370
lea edx, [eax - 0x7646e1b8]
mov ebx, ecx
not ebx
and ebx, edx
mov edx, 0x7646e1b7
sub edx, eax
and edx, ecx
sub edx, ebx
mov eax, ecx
and eax, 0x45
and ecx, 2
mov ebx, ecx
xor ebx, 2
imul ebx, eax
or eax, 2
imul eax, ecx
add eax, ebx
add eax, edx
lea ecx, [edx + edx]
not ecx
add eax, ecx
inc al
mov byte [esp + esi + 0x5cd14de0], al
inc esi
dec edi
cmp esi, 0xa32eb2b8
jne 0x40a050
mov dword [esp + 0x98], 0x7b626644
mov dword [esp + 0x9c], 0
mov dword [esp + 0x9f], 0
mov eax, 0x50
lea edx, [esp + 0x98]
nop
nop
nop
nop
movzx ecx, byte [edx]
lea esi, [eax - 0x55f5c400]
or esi, ecx
and ecx, eax
xor ecx, esi
lea esi, [ecx + ecx]
not esi
add esi, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp + 8]
add cl, 0x37
mov byte [edx], cl
dec eax
inc edx
cmp eax, 0x45
jne 0x40a110
mov dword [esp + 8], 0xe6e41011
mov dword [esp + 0xc], 0xe2e21408
mov dword [esp + 0x10], 0x1f2adc11
mov dword [esp + 0x14], 0x1a271e2b
mov dword [esp + 0x18], 0xe2172b2a
mov dword [esp + 0x1c], 0x24f1cfcd
mov dword [esp + 0x20], 0x390f2126
mov dword [esp + 0x24], 0x36eaf43c
mov dword [esp + 0x28], 0x34313d3b
mov dword [esp + 0x2c], 0x343f3539
mov dword [esp + 0x30], 0x1faeb36
mov dword [esp + 0x34], 0xc2030f0b
mov dword [esp + 0x38], 0x32063c38
mov dword [esp + 0x3c], 0x3604f1df
mov dword [esp + 0x40], 0xedc73009
mov dword [esp + 0x44], 0x2a121012
mov dword [esp + 0x48], 0x19e2c2ea
mov dword [esp + 0x4c], 0x15231d19
mov dword [esp + 0x50], 0xb65f1825
mov dword [esp + 0x54], 0xf99e
xor eax, eax
xor ecx, ecx
nop
nop
mov dword [esp + 4], ecx
mov dword [esp], eax
movzx esi, byte [esp + ecx + 8]
mov eax, dword [esp]
and eax, 0xec
mov edi, dword [esp + 4]
xor edi, 0xa8b1c2f6
add edi, eax
mov eax, esi
not eax
mov ebx, esi
and ebx, 0xfffffffd
mov ecx, eax
and ecx, 2
imul ecx, ebx
mov edx, esi
and edx, 2
mov ebx, esi
or ebx, 2
imul ebx, edx
sub ecx, esi
add ecx, ebx
and esi, 0x6a
and eax, 0x4423d95
or eax, esi
xor eax, 0x530c006a
or eax, edi
not edi
or edi, ecx
xor eax, edi
mov ecx, dword [esp + 4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
add al, 0x46
mov byte [esp + ecx + 8], al
mov eax, dword [esp]
inc ecx
add eax, 2
cmp ecx, 0x50
jne 0x40a1e0
mov edx, dword [ebp + 8]
add edx, dword [esp + 0x5c]
movzx eax, byte [esp + 8]
mov esi, edx
test al, al
je 0x40a27b
lea ecx, [esp + 9]
mov esi, edx
nop
mov byte [esi], al
inc esi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a270
mov byte [esi], 0
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx]
test al, al
je 0x40a29b
inc ecx
nop
nop
nop
nop
nop
nop
nop
mov byte [esi], al
inc esi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a290
mov byte [esi], 0
movzx eax, byte [esp + 0x98]
test al, al
je 0x40a2cb
lea ecx, [esp + 0x99]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [esi], al
inc esi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a2c0
mov byte [esi], 0
movzx eax, byte [esp + 0x68]
test al, al
mov dword [esp], edx
je 0x40a2eb
lea ecx, [esp + 0x69]
nop
nop
mov byte [esi], al
inc esi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a2e0
mov byte [esi], 0
mov edx, dword [ebp + 0x14]
mov ecx, edx
shr ecx, 2
mov ebx, dword [ebp + 0x10]
mov eax, ebx
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and eax, 0xfffffffc
mov dword [esp + 4], esi
add esi, eax
add eax, ebx
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebx, eax
mov edi, esi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test dl, 1
je 0x40a332
mov ecx, dword [ebp + 0x14]
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 8], 0xa4a75b41
mov dword [esp + 0xc], 0xa0a4f2f0
mov dword [esp + 0x10], 0xf0a7f6f2
mov dword [esp + 0x14], 0x8a9589ea
mov dword [esp + 0x18], 0x91928e8d
mov dword [esp + 0x1c], 0x253bde8d
mov word [esp + 0x20], 0x2339
mov byte [esp + 0x22], 0x28
mov dword [esp + 0x23], 0
mov byte [esp + 0x27], 0
xor ecx, ecx
nop
nop
nop
movzx eax, byte [esp + ecx + 8]
lea esi, [ecx + 0xb3]
and esi, eax
add eax, ecx
add esi, esi
sub eax, esi
add eax, 0xda5b0b3
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov esi, eax
not esi
or esi, 0x5f87d4e5
mov ebx, eax
and ebx, 0xa0782b1a
lea edi, [ebx + ebx]
not edi
add edi, ebx
and edi, esi
mov esi, edi
not esi
mov ebx, esi
or ebx, 2
mov edx, esi
and edx, 2
imul edx, ebx
and edi, 2
and esi, 0xfffffffc
imul esi, edi
add esi, edx
mov edi, eax
xor edi, 0x20782b1a
and edi, esi
add edi, edi
xor esi, eax
mov eax, esi
xor eax, 0x1a
and eax, edi
xor esi, edi
add eax, eax
xor esi, 0xe5
sub eax, esi
mov byte [esp + ecx + 8], al
mov eax, ecx
and eax, 1
xor ecx, 1
lea ecx, [ecx + eax*2]
cmp ecx, 0x20
jb 0x40a380
mov esi, dword [esp + 4]
add esi, dword [ebp + 0x14]
movzx eax, byte [esp + 8]
test al, al
je 0x40a43d
lea ecx, [esp + 9]
mov edx, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [esi], al
inc esi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a430
jmp 0x40a440
mov edx, dword [esp]
mov byte [esi], 0
sub esi, edx
mov eax, dword [esp + 0x60]
add dword [eax + 0x60], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10