Function at 0x409770
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [ebp + 8]
mov dword [esp + 0x7c], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x80], 0x776c6e83
mov dword [esp + 0x84], 0xaa726b61
mov dword [esp + 0x88], 0x6e7a709c
mov dword [esp + 0x8c], 0x7b6fadb6
mov dword [esp + 0x90], 0x7b717064
mov dword [esp + 0x94], 0x63787079
mov dword [esp + 0x98], 0x74b761b7
mov dword [esp + 0x9c], 0x7c7b777e
mov dword [esp + 0xa0], 0x2e282c94
mov word [esp + 0xa4], 0x252e
mov dword [esp + 0xa6], 0
mov dword [esp + 0xaa], 0
mov dword [esp + 0xae], 0
mov dword [esp + 0xb2], 0
mov dword [esp + 0xb5], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x38
ja 0x409875
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x80]
lea edx, [eax + 0x60]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add al, 0xc0
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x80], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x39
jb 0x409840
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0xc3c8cc22
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x17
ja 0x40991c
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0xc0]
lea edx, [eax - 0x131b9b60]
and edx, ecx
add eax, ecx
add eax, 0xece464a0
add edx, edx
sub eax, edx
add al, 0xa0
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0xc0], al
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp eax, 0x18
jb 0x4098d0
mov dword [esp + 0x10], 0xd6d40001
mov dword [esp + 0x14], 0xd2d20408
mov dword [esp + 0x18], 0xdfcadc01
mov dword [esp + 0x1c], 0xdad7decb
mov dword [esp + 0x20], 0x32e7cbca
mov dword [esp + 0x24], 0xf4014f4d
mov dword [esp + 0x28], 0xf9eff1f6
mov dword [esp + 0x2c], 0xe60a24fc
mov dword [esp + 0x30], 0xe4e1fdfb
mov dword [esp + 0x34], 0xe4ffe5f9
mov dword [esp + 0x38], 0xf13a2be6
mov dword [esp + 0x3c], 0x32f3efeb
mov dword [esp + 0x40], 0x216fcf8
mov dword [esp + 0x44], 0x614c1df
mov dword [esp + 0x48], 0xcdd70009
mov dword [esp + 0x4c], 0xa020002
mov dword [esp + 0x50], 0x19d2d2ca
mov dword [esp + 0x54], 0x5131d19
mov dword [esp + 0x58], 0xc61f1815
mov word [esp + 0x5c], 0xb9de
mov dword [esp + 0x6a], 0
mov dword [esp + 0x66], 0
mov dword [esp + 0x62], 0
mov dword [esp + 0x5e], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x5d
ja 0x409a28
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0xce4684ce
add ecx, 0xce4684ce
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x5e
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x5e
jb 0x4099f0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, edi
test cl, cl
je 0x409a4b
lea esi, [esp + 0x11]
mov edx, edi
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x409a40
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x409a6b
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x409a60
mov byte [edx], 0
movzx eax, byte [esp + 0xc0]
test al, al
je 0x409a9b
lea ecx, [esp + 0xc1]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409a90
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov byte [edx], 0
movzx eax, byte [esp + 0x80]
test al, al
mov dword [esp + 0x78], edi
je 0x409acb
lea ecx, [esp + 0x81]
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409ac0
mov byte [edx], 0
mov ecx, ebx
shr ecx, 2
mov eax, esi
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and eax, 0xfffffffc
mov ecx, esi
lea esi, [edx + eax]
add eax, ecx
mov ecx, ebx
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
mov ebx, dword [ebp + 0x14]
test bl, 1
je 0x409b0d
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0x10], 0xdedfc3c1
mov dword [esp + 0x14], 0xa2ae9496
mov dword [esp + 0x18], 0x92af9090
mov dword [esp + 0x1c], 0x986d9d68
mov dword [esp + 0x20], 0x75749895
mov dword [esp + 0x24], 0xe9ebb085
mov word [esp + 0x28], 0xebe9
mov byte [esp + 0x2a], 0xea
mov dword [esp + 0x2f], 0
mov dword [esp + 0x2b], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x80]
cmp eax, 0x22
mov edi, dword [esp + 0x78]
ja 0x409bd5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x80]
movzx esi, byte [esp + eax + 0x10]
lea eax, [ecx + esi]
add eax, 0x955c3ede
add ecx, 0x955c3ede
and ecx, esi
add ecx, ecx
sub eax, ecx
mov ecx, eax
xor ecx, 0xed
and eax, 0x6d
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x80]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0x80]
mov eax, dword [esp + 0x80]
cmp eax, 0x23
jb 0x409b80
add edx, ebx
movzx eax, byte [esp + 0x10]
test al, al
je 0x409bfb
lea ecx, [esp + 0x11]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409bf0
mov byte [edx], 0
sub edx, edi
mov eax, dword [esp + 0x7c]
add dword [eax + 0x60], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10