Function at 0x4097a0
Capabilities:
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 edi, dword [ebp + 8]
mov dword [esp + 0x74], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x78], 0x97909ecb
mov dword [esp + 0x7c], 0xda9293e5
mov dword [esp + 0x80], 0xdeaa8cf0
mov dword [esp + 0x84], 0xabdf19f6
mov dword [esp + 0x88], 0xabd5dca8
mov dword [esp + 0x8c], 0xa3a4d4ad
mov dword [esp + 0x90], 0xb8f7bde7
mov dword [esp + 0x94], 0xc8cbb7ce
mov dword [esp + 0x98], 0x1e1c10b8
mov word [esp + 0x9c], 0x211e
mov dword [esp + 0x9e], 0
mov dword [esp + 0xa2], 0
mov word [esp + 0xa6], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x2f
ja 0x4098a0
nop
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 + ecx]
add edx, 0x7b4e4756
add eax, 0x7b4e4756
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
add al, 0xa6
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x78], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x30
jb 0x409860
mov dword [esp + 8], 0x9ba0acba
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x409907
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]
lea edx, [eax + 0x44]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x2b976344
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0x24
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x4098d0
mov dword [esp + 0x18], 0xe6e41011
mov dword [esp + 0x1c], 0xe2e21408
mov dword [esp + 0x20], 0x1f2adc11
mov dword [esp + 0x24], 0x1a271e2b
mov dword [esp + 0x28], 0xe2172b2a
mov dword [esp + 0x2c], 0x24f1cfcd
mov dword [esp + 0x30], 0x390f2126
mov dword [esp + 0x34], 0x36eaf43c
mov dword [esp + 0x38], 0x34313d3b
mov dword [esp + 0x3c], 0x343f3539
mov dword [esp + 0x40], 0x1faeb36
mov dword [esp + 0x44], 0xc2030f0b
mov dword [esp + 0x48], 0x32063c38
mov dword [esp + 0x4c], 0x3604f1df
mov dword [esp + 0x50], 0xedc73009
mov dword [esp + 0x54], 0x2a121012
mov dword [esp + 0x58], 0x19e2c2ea
mov dword [esp + 0x5c], 0x15231d19
mov dword [esp + 0x60], 0xb65f1825
mov word [esp + 0x64], 0xf99e
mov dword [esp + 0x6a], 0
mov dword [esp + 0x66], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x55
ja 0x409a0e
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 + ecx]
add edx, 0xe415db76
add eax, 0xe415db76
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp], edx
mov eax, dword [esp]
add al, 0xc6
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x56
jb 0x4099d0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [esp + 0x18]
mov edx, edi
test cl, cl
je 0x409a3b
lea esi, [esp + 0x19]
mov edx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x409a30
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x409a5b
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 0x409a50
mov byte [edx], 0
movzx eax, byte [esp + 8]
test al, al
je 0x409a7b
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 0x409a70
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 0x409aab
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 0x409aa0
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 0x409aed
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0x18], 0xd8d70b35
mov dword [esp + 0x1c], 0xd4d0e2ec
mov dword [esp + 0x20], 0xdcd7e6ea
mov dword [esp + 0x24], 0xd2a1d5a2
mov dword [esp + 0x28], 0xada2ded9
mov dword [esp + 0x2c], 0x310beed1
mov word [esp + 0x30], 0x330d
mov byte [esp + 0x32], 0x3c
mov dword [esp + 0x33], 0
mov dword [esp + 0x36], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x21
mov edi, dword [esp + 0x70]
ja 0x409b8c
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x18]
lea esi, [eax + 0x55]
and esi, ecx
add eax, ecx
add esi, esi
sub eax, esi
add eax, 0xb2c8fb55
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
add al, 0xad
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x22
jb 0x409b50
add edx, ebx
movzx eax, byte [esp + 0x18]
test al, al
je 0x409bab
lea ecx, [esp + 0x19]
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409ba0
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