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

Disassembly:
sub esp, 0x154
push ebp
mov ebp, ecx
push esi
xor esi, esi
cmp dword [ebp + 0x58], esi
jne 0x40ecf1
pop esi
mov eax, 0x80004005
pop ebp
add esp, 0x154
ret 0x14
mov eax, dword [ebp + 0x674]
push ebx
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp + 0x678]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp + 0x58]
push 0x144
push eax
mov ecx, dword [eax]
call dword [ecx + 0x164]
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x60]
push 0x1c
push esi
mov edx, dword [eax]
push ecx
push esi
push eax
call dword [edx + 0x190]
mov bl, byte [esp + 0x178]
test bl, 8
je 0x40ed5e
mov eax, dword [ebp + 0x58]
push 2
push 6
push esi
mov edx, dword [eax]
push eax
call dword [edx + 0x114]
mov eax, dword [ebp + 0x58]
push 2
push 5
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x114]
test bl, 1
je 0x40ee03
mov eax, dword [ebp + 0x58]
lea ecx, [esp + 0x74]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xc0]
mov edx, dword [esp + 0x174]
fld dword [0x4519a4]
cmp byte [edx], 0
je 0x40ede2
mov al, byte [edx]
inc edx
cmp al, 0xa
je 0x40ede2
movsx eax, al
lea ecx, [eax - 0x20]
cmp ecx, esi
jl 0x40eddd
cmp ecx, 0x60
jge 0x40eddd
mov ecx, eax
add eax, 0xffffffe7
shl ecx, 4
shl eax, 4
fld dword [ecx + ebp - 0x188]
fsub dword [eax + ebp]
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x670]
fimul dword [esp + 0x14]
shl ecx, 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
fdiv dword [ebp + 0x6c]
fisub dword [esp + 0x2c]
faddp st(1)
cmp byte [edx], 0
jne 0x40ed8a
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
fild qword [esp + 0x14]
fsub st(1)
fmul dword [0x451994]
fstp dword [esp + 0x168]
fstp st(0)
test bl, 2
je 0x40ee50
mov eax, dword [ebp + 0x58]
lea edx, [esp + 0x74]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [esp + 0x80]
mov ecx, dword [ebp + 0x68]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
fld dword [ebp + 0x7c]
fsub dword [ebp + 0x74]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
fimul dword [esp + 0x14]
fsubp st(1)
fmul dword [0x451994]
fstp dword [esp + 0x16c]
mov edx, dword [ebp + 0x670]
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
lea edx, [esp + 0x10]
push 0x2000
push edx
mov dword [esp + 0x18], esi
fsubr dword [esp + 0x170]
mov ecx, dword [eax]
push esi
xor edi, edi
push esi
fst dword [esp + 0x178]
fstp dword [esp + 0x3c]
push eax
mov dword [esp + 0x30], edi
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x174]
mov cl, byte [eax]
test cl, cl
je 0x40f358
mov ebx, dword [esp + 0x170]
mov edx, dword [esp + 0x174]
inc edx
cmp cl, 0xa
mov dword [esp + 0x174], edx
jne 0x40eef6
mov eax, dword [ebp + 0x68]
mov dword [esp + 0xb8], esi
fld dword [ebp + 0x7c]
fsub dword [ebp + 0x74]
mov dword [esp + 0xb4], eax
mov edx, dword [esp + 0x2c]
fimul dword [esp + 0xb4]
mov dword [esp + 0x168], edx
fadd dword [esp + 0x16c]
fstp dword [esp + 0x16c]
movsx eax, cl
lea edx, [eax - 0x20]
cmp edx, esi
jl 0x40f343
cmp edx, 0x60
jge 0x40f343
lea edx, [eax - 0x19]
mov dword [esp + 0xa0], esi
shl eax, 4
shl edx, 4
add eax, ebp
mov dword [esp + 0xa8], esi
fld dword [edx + ebp]
mov edx, dword [eax - 0x18c]
cmp cl, 0x20
fld dword [eax - 0x188]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x64]
fld st(0)
mov dword [esp + 0x9c], edx
mov eax, dword [eax - 0x184]
fsub st(2)
fimul dword [esp + 0x9c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0xa4], eax
fdiv dword [ebp + 0x6c]
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fsub dword [esp + 0x20]
fimul dword [esp + 0xa4]
fdiv dword [ebp + 0x6c]
fstp dword [esp + 0x14]
je 0x40f391
fld dword [esp + 0x168]
fsub dword [0x451994]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x3c], 0x3f666666
mov eax, dword [esp + 0x3c]
lea esi, [esp + 0xf4]
mov dword [esp + 0xfc], eax
fst dword [esp + 0x34]
fld dword [esp + 0x14]
fadd dword [esp + 0x16c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x104], ebx
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x40]
fsub dword [0x451994]
mov dword [esp + 0x100], ecx
mov ecx, 7
mov dword [esp + 0x5c], 0x3f666666
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0xcc], ebx
mov dword [esp + 0x6c], 0x3f666666
fst dword [esp + 0x38]
fld st(3)
mov edx, dword [esp + 0x38]
mov dword [esp + 0x70], 0x3f800000
fstp dword [esp + 0x108]
fld st(1)
mov dword [esp + 0xf8], edx
mov edx, dword [esp + 0x24]
fstp dword [esp + 0x54]
fld dword [esp + 0x16c]
fsub dword [0x451994]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc4], edx
fst dword [esp + 0x14]
fst dword [esp + 0x58]
fld st(4)
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0xd0]
fld dword [esp + 0x28]
fadd dword [esp + 0x168]
fsub dword [0x451994]
fst dword [esp + 0x64]
fld st(2)
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x10]
fstp dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x20]
add edi, 0x1c
mov dword [esp + 0xd4], ecx
mov ecx, 7
lea esi, [esp + 0xbc]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
fld st(4)
fstp dword [esp + 0x140]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x12c], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x24]
add edi, 0x1c
mov dword [esp + 0x134], ecx
mov ecx, 7
lea esi, [esp + 0x12c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x144], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
fst dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x98], 0x3f800000
fxch st(1)
fstp dword [esp + 0x90]
mov edx, dword [esp + 0x90]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x94], 0x3f666666
mov eax, dword [esp + 0x94]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x20]
add edi, 0x1c
fld st(3)
mov dword [esp + 0xe4], ecx
mov ecx, 7
fstp dword [esp + 0xec]
lea esi, [esp + 0xd8]
mov dword [esp + 0x10], edi
fstp dword [esp + 0x44]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x44]
fstp dword [esp + 0x48]
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xf0], edx
rep movsd dword es:[edi], dword [esi]
fxch st(1)
fstp dword [esp + 0x124]
fstp dword [esp + 0x74]
fstp dword [esp + 0x15c]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], 0x3f666666
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x50], 0x3f800000
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x50]
add edi, 0x1c
mov dword [esp + 0x128], ecx
mov ecx, 7
lea esi, [esp + 0x110]
mov dword [esp + 0x10], edi
mov dword [esp + 0x118], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x120], ebx
mov dword [esp + 0x78], edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov ecx, edx
mov dword [esp + 0x14c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], 0x3f666666
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x80]
add edi, 0x1c
mov dword [esp + 0x160], ecx
mov ecx, 7
lea esi, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x158], ebx
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x10]
add eax, 2
add edx, 0x1c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
lea edx, [eax + eax*2]
cmp edx, 0x126
jbe 0x40f312
mov eax, dword [ebp + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x58]
xor esi, esi
push ecx
mov edx, dword [eax]
push esi
push 4
push eax
call dword [edx + 0x144]
mov eax, dword [ebp + 0x60]
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 dword [esp + 0x1c], esi
xor esi, esi
mov edx, dword [ebp + 0x670]
mov dword [esp + 0xb0], esi
shl edx, 1
mov dword [esp + 0xac], edx
fild qword [esp + 0xac]
fsubr dword [esp + 0x28]
fadd dword [esp + 0x168]
fstp dword [esp + 0x168]
mov eax, dword [esp + 0x174]
mov cl, byte [eax]
test cl, cl
jne 0x40eeab
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
cmp edi, esi
jbe 0x40f375
mov eax, dword [ebp + 0x58]
push edi
push esi
push 4
mov edx, dword [eax]
push eax
call dword [edx + 0x144]
mov ebp, dword [ebp + 0x674]
push ebp
mov eax, dword [ebp]
call dword [eax + 0x14]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x154
ret 0x14
fstp st(0)
fstp st(0)
jmp 0x40f314