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

Disassembly:
sub esp, 0x148
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 0xa8]
cmp eax, esi
jne 0x409086
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0x148
ret 0x14
mov edx, dword [ebx + 0x38c0]
mov ecx, dword [eax]
push edi
push edx
push eax
call dword [ecx + 0xdc]
mov eax, dword [ebx + 0xa8]
mov edx, dword [ebx + 0x38c4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd8]
mov eax, dword [ebx + 0xa8]
push 0x144
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov eax, dword [ebx + 0xa8]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x160]
mov eax, dword [ebx + 0xa8]
mov edx, dword [ebx + 0xb0]
push 0x1c
push edx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x14c]
mov eax, dword [esp + 0x158]
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xb0]
push 0x2000
push edx
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
push esi
xor edi, edi
push esi
push eax
mov dword [esp + 0x28], edi
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x164]
mov cx, word [eax]
cmp cx, si
je 0x40963b
push ebp
mov ebp, dword [esp + 0x164]
mov edx, dword [esp + 0x168]
add edx, 2
cmp cx, 0xa
mov dword [esp + 0x168], edx
jne 0x40918e
mov edx, dword [ebx + 0x18b8]
mov dword [esp + 0xac], esi
fld dword [ebx + 0x1acc]
fsub dword [ebx + 0x1ac4]
mov dword [esp + 0xa8], edx
mov ecx, dword [esp + 0x15c]
fimul dword [esp + 0xa8]
mov dword [esp + 0x14], ecx
fadd dword [esp + 0x160]
fstp dword [esp + 0x160]
jmp 0x409623
cmp cx, 0x20
jb 0x409623
cmp cx, 0x3e8
jb 0x4091a5
add ecx, 0xfd18
cmp cx, 0x1ff
jbe 0x4091be
push 0x46a3a8
call fcn.0040a2b0
add esp, 4
jmp 0x409623
mov eax, ecx
mov dword [esp + 0xa4], esi
and eax, 0xffff
mov dword [esp + 0x9c], esi
mov dword [esp + 0x3c], eax
lea edx, [eax + 0x18c]
shl edx, 4
fld dword [edx + ebx]
mov edx, eax
shl edx, 4
add edx, ebx
cmp cx, 0x20
mov edi, dword [edx + 0x18c4]
fld dword [edx + 0x18c8]
mov edx, dword [edx + 0x18cc]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0x18b4]
fld st(0)
mov dword [esp + 0xa0], edx
mov edx, dword [ebx + 0x18b8]
fsub st(2)
fimul dword [esp + 0xa0]
mov dword [esp + 0x98], edx
lea edx, [eax + eax*2 + 0x2d]
fdiv dword [ebx + 0x18bc]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fsub dword [esp + 0x1c]
fimul dword [esp + 0x98]
fdiv dword [ebx + 0x18bc]
fstp dword [esp + 0x24]
fild dword [ebx + edx*4]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
je 0x409682
fld dword [esp + 0x14]
fsub dword [0x462458]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x58], 0x3f666666
mov dword [esp + 0x5c], 0x3f800000
lea esi, [esp + 0xe8]
mov dword [esp + 0xf8], ebp
mov dword [esp + 0x34], 0x3f666666
fst dword [esp + 0x50]
fld dword [esp + 0x24]
fadd dword [esp + 0x160]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x58]
fsub dword [0x462458]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x100], ecx
mov ecx, 7
mov dword [esp + 0xc0], ebp
mov dword [esp + 0x48], 0x3f666666
fst dword [esp + 0x54]
fld st(3)
mov edx, dword [esp + 0x54]
mov dword [esp + 0x4c], 0x3f800000
fstp dword [esp + 0xfc]
fld st(1)
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0x5c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x160]
fsub dword [0x462458]
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
fst dword [esp + 0x24]
fst dword [esp + 0x30]
fld st(4)
fstp dword [esp + 0xc4]
fld dword [esp + 0x28]
fadd dword [esp + 0x14]
fsub dword [0x462458]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x34]
fst dword [esp + 0x40]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x1c]
add edi, 0x1c
mov dword [esp + 0xbc], ecx
mov ecx, 7
lea esi, [esp + 0xb0]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc8], edx
rep movsd dword es:[edi], dword [esi]
fld st(2)
fstp dword [esp + 0x44]
fld st(4)
fstp dword [esp + 0x134]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x120], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x124], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x128], ecx
mov ecx, dword [esp + 0x20]
add edi, 0x1c
mov dword [esp + 0x138], ecx
mov ecx, 7
lea esi, [esp + 0x120]
mov dword [esp + 0x10], edi
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], ebp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
fst dword [esp + 0x60]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x68], 0x3f666666
fxch st(1)
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x6c]
fld st(3)
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x1c]
fstp dword [esp + 0xe0]
add edi, 0x1c
mov dword [esp + 0xd8], ecx
fstp dword [esp + 0x80]
mov ecx, 7
lea esi, [esp + 0xcc]
fstp dword [esp + 0x84]
mov dword [esp + 0x10], edi
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
fxch st(1)
fstp dword [esp + 0x118]
fstp dword [esp + 0x70]
fstp dword [esp + 0x150]
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x88], 0x3f666666
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x108], edx
mov edx, dword [esp + 0x8c]
add edi, 0x1c
mov dword [esp + 0x11c], ecx
mov ecx, 7
lea esi, [esp + 0x104]
mov dword [esp + 0x10], edi
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], ebp
mov edx, dword [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x78], 0x3f666666
mov dword [esp + 0x13c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x74], edx
mov dword [esp + 0x144], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x140], edx
mov edx, dword [esp + 0x7c]
add edi, 0x1c
mov dword [esp + 0x154], ecx
mov ecx, 7
lea esi, [esp + 0x13c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x148], edx
mov dword [esp + 0x14c], ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
add ecx, 2
add esi, 0x1c
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ecx
lea edx, [ecx + ecx*2]
cmp edx, 0x126
jbe 0x4095ee
mov eax, dword [ebx + 0xb0]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0xa8]
xor esi, esi
push ecx
mov edx, dword [eax]
push esi
push 4
push eax
call dword [edx + 0x118]
mov eax, dword [ebx + 0xb0]
lea ecx, [esp + 0x10]
push 0x2000
push ecx
mov dword [esp + 0x18], esi
mov edx, dword [eax]
push esi
push esi
push eax
call dword [edx + 0x2c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
xor esi, esi
lea edx, [eax + eax*2]
mov dword [esp + 0x94], esi
mov ecx, dword [ebx + edx*4 + 0xbc]
lea eax, [ebx + edx*4]
mov edx, dword [ebx + edx*4 + 0xb8]
add ecx, edx
mov dword [esp + 0x90], ecx
fild qword [esp + 0x90]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x168]
mov cx, word [edx]
cmp cx, si
jne 0x409132
mov edi, dword [esp + 0x18]
pop ebp
mov eax, dword [ebx + 0xb0]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
cmp edi, esi
jbe 0x40965e
mov eax, dword [ebx + 0xa8]
push edi
push esi
push 4
mov edx, dword [eax]
push eax
call dword [edx + 0x118]
mov eax, dword [ebx + 0xa8]
mov edx, dword [ebx + 0x38c0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd8]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x14
fstp st(0)
fstp st(0)
jmp 0x4095f0