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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x60], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x64], 0x9fa4a653
mov dword [esp + 0x68], 0x1ae2dbd1
mov dword [esp + 0x6c], 0xd6dae0c4
mov dword [esp + 0x70], 0xebc7052e
mov dword [esp + 0x74], 0xdbc1c0ec
mov dword [esp + 0x78], 0xf3c8c0c9
mov dword [esp + 0x7c], 0xcc0ff10f
mov dword [esp + 0x80], 0xd4cbcfd6
mov dword [esp + 0x84], 0x666864fc
mov word [esp + 0x88], 0x4d56
mov dword [esp + 0x8a], 0
mov byte [esp + 0x8e], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x2a
ja 0x409ceb
nop
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 + 0x64]
lea edx, [eax + ecx]
add edx, 0x2ac1273c
add eax, 0x2ac1273c
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
add al, 0xd4
mov ecx, dword [esp]
mov byte [esp + ecx + 0x64], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x2b
jb 0x409cb0
mov dword [esp + 8], 0xb18480ae
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x409d48
nop
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 + 8]
add eax, 0x2b07589d
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
xor ecx, 0x11
and eax, 0x6e
add eax, eax
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x409d10
mov dword [esp + 0xc], 0x9294686f
mov dword [esp + 0x10], 0x8e8a7c60
mov dword [esp + 0x14], 0x8db2b47f
mov dword [esp + 0x18], 0x86b982b1
mov dword [esp + 0x1c], 0x7681b5b2
mov dword [esp + 0x20], 0x845b615b
mov dword [esp + 0x24], 0x83b98f86
mov dword [esp + 0x28], 0x8a524c8c
mov dword [esp + 0x2c], 0x848b8b81
mov dword [esp + 0x30], 0x94919b8f
mov dword [esp + 0x34], 0xab624596
mov dword [esp + 0x38], 0x5e9d9191
mov dword [esp + 0x3c], 0xa696a4a0
mov dword [esp + 0x40], 0xdae4174d
mov dword [esp + 0x44], 0x1f31d8e7
mov dword [esp + 0x48], 0xd6eae8da
mov dword [esp + 0x4c], 0xd31a3e12
mov dword [esp + 0x50], 0xf7cdf3ef
mov dword [esp + 0x54], 0x22c9f0cb
mov dword [esp + 0x58], 0x6f0e
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x4f
ja 0x409e31
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0xa9ae268b
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0x49
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x50
jb 0x409e00
mov eax, dword [esp + 0xa8]
movzx ecx, byte [esp + 0xc]
mov edx, edi
test cl, cl
je 0x409e5b
lea esi, [esp + 0xd]
mov edx, edi
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x409e50
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x409e7b
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 0x409e70
mov byte [edx], 0
movzx eax, byte [esp + 8]
test al, al
je 0x409e9b
lea ecx, [esp + 9]
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409e90
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xac]
mov byte [edx], 0
movzx eax, byte [esp + 0x64]
test al, al
mov dword [esp + 0x5c], edi
je 0x409ecb
lea ecx, [esp + 0x65]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409ec0
mov byte [edx], 0
mov ecx, ebx
shr ecx, 2
mov eax, ebp
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and eax, 0xfffffffc
lea esi, [edx + eax]
add eax, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebp, eax
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test bl, 1
je 0x409f08
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0xc], 0x7a792517
mov dword [esp + 0x10], 0x7676444e
mov dword [esp + 0x14], 0x3e093848
mov dword [esp + 0x18], 0x30c733c0
mov dword [esp + 0x1c], 0xcfcc303b
mov dword [esp + 0x20], 0x536d0833
mov word [esp + 0x24], 0x4d6f
mov byte [esp + 0x26], 0x42
mov dword [esp + 0x27], 0
mov byte [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1f
mov esi, dword [esp + 0x5c]
ja 0x409f9e
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 + 0xc]
add eax, 0x844db37
xor eax, ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
add al, 0xed
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x20
jb 0x409f70
add edx, ebx
movzx eax, byte [esp + 0xc]
test al, al
je 0x409fbb
lea ecx, [esp + 0xd]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409fb0
mov byte [edx], 0
sub edx, esi
mov eax, dword [esp + 0x60]
add dword [eax + 0x60], edx
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret 0x10