Function at 0x409d30
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov edi, dword [ebp + 8]
mov dword [esp + 0x74], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x78], 0x978c8e5b
mov dword [esp + 0x7c], 0x429a8389
mov dword [esp + 0x80], 0x8e82987c
mov dword [esp + 0x84], 0x836f2d46
mov dword [esp + 0x88], 0x93696884
mov dword [esp + 0x8c], 0x8b909891
mov dword [esp + 0x90], 0x94578957
mov dword [esp + 0x94], 0x5ca3a75e
mov dword [esp + 0x98], 0xe000cb4
mov dword [esp + 0x9c], 0x350e
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x27
ja 0x409e0f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x78]
lea edx, [eax + 0x84]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0xe3947684
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0x64
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x78], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x28
jb 0x409dd0
mov dword [esp + 8], 0x33282cd2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x409e80
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + 0x540e89d8]
mov esi, ecx
not esi
or esi, edx
and edx, ecx
add edx, esi
neg edx
add eax, edx
add eax, 0x540e89d7
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0x18
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x409e40
mov dword [esp + 0x18], 0xc8ca8685
mov dword [esp + 0x1c], 0xb4ccfafa
mov dword [esp + 0x20], 0xb7bcba85
mov dword [esp + 0x24], 0xbcbfb4bb
mov dword [esp + 0x28], 0x8cbf4b48
mov dword [esp + 0x2c], 0xae9dd7d1
mov dword [esp + 0x30], 0xa9a751ac
mov dword [esp + 0x34], 0xa084ea56
mov dword [esp + 0x38], 0x5ea5a55b
mov dword [esp + 0x3c], 0x9ea75da5
mov dword [esp + 0x40], 0x91ccab9c
mov dword [esp + 0x44], 0xd49b679b
mov dword [esp + 0x48], 0x9c689a9a
mov dword [esp + 0x4c], 0x8092c1a7
mov dword [esp + 0x50], 0xc5bf868d
mov dword [esp + 0x54], 0x8c8c8e80
mov dword [esp + 0x58], 0x89d4b0c8
mov dword [esp + 0x5c], 0x7d8b8585
mov dword [esp + 0x60], 0x48777e71
mov word [esp + 0x64], 0x934
mov byte [esp + 0x6e], 0
mov dword [esp + 0x6a], 0
mov dword [esp + 0x66], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x56
ja 0x409f8b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax - 0x31bd0a47]
add eax, 0xb9
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp], edx
mov eax, dword [esp]
add al, 0xf1
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x57
jb 0x409f50
mov eax, dword [ebp + 0xc]
movzx ecx, byte [esp + 0x18]
mov edx, edi
test cl, cl
je 0x409fab
lea esi, [esp + 0x19]
mov edx, edi
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x409fa0
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x409fcb
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 0x409fc0
mov byte [edx], 0
movzx eax, byte [esp + 8]
test al, al
je 0x409feb
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 0x409fe0
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov byte [edx], 0
movzx eax, byte [esp + 0x78]
test al, al
mov dword [esp + 0x70], edi
je 0x40a01b
lea ecx, [esp + 0x79]
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 0x40a010
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 0x40a05d
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0x18], 0x2e2fcbcd
mov dword [esp + 0x1c], 0x323e6066
mov dword [esp + 0x20], 0x623f6c6c
mov dword [esp + 0x24], 0x6c61697c
mov dword [esp + 0x28], 0x61607479
mov dword [esp + 0x2c], 0xdddb2471
mov word [esp + 0x30], 0xd3d5
mov byte [esp + 0x32], 0xda
mov dword [esp + 0x33], 0
mov dword [esp + 0x37], 0
mov word [esp + 0x3b], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x24
mov edi, dword [esp + 0x70]
ja 0x40a10d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x18]
lea esi, [eax + 0x545ce8a0]
add eax, 0xa0
and eax, ecx
or esi, ecx
sub esi, eax
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x78]
add al, 0xa0
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x25
jb 0x40a0d0
add edx, ebx
movzx eax, byte [esp + 0x18]
test al, al
je 0x40a12b
lea ecx, [esp + 0x19]
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a120
mov byte [edx], 0
sub edx, edi
mov eax, dword [esp + 0x74]
add dword [eax + 0x60], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10