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

Disassembly:
sub esp, 0x124
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x58]
push esi
xor esi, esi
cmp eax, esi
jne 0x413923
pop esi
mov eax, 0x80004005
pop ebp
add esp, 0x124
ret 0x14
mov edx, dword [ebp + 0x670]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xdc]
mov edx, dword [ebp + 0x674]
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd8]
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
push 0x144
push eax
call dword [ecx + 0x130]
mov eax, dword [ebp + 0x58]
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x160]
mov edx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
push 0x1c
push edx
push esi
push eax
call dword [ecx + 0x14c]
test byte [esp + 0x140], 4
je 0x4139a3
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
push 2
push 0x11
push esi
push eax
call dword [ecx + 0xfc]
mov eax, dword [ebp + 0x58]
mov edx, dword [eax]
push 2
push 0x10
push esi
push eax
call dword [edx + 0xfc]
mov eax, dword [esp + 0x130]
push 0x2000
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x60]
push esi
mov dword [esp + 0x18], esi
mov ecx, dword [eax]
push eax
mov dword [esp + 0x24], esi
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x13c]
mov al, byte [eax]
test al, al
je 0x413e5c
push ebx
mov ebx, dword [esp + 0x13c]
push edi
mov edx, dword [esp + 0x144]
inc edx
cmp al, 0xa
mov dword [esp + 0x144], edx
jne 0x413a2e
fld dword [ebp + 0x7c]
mov edx, dword [ebp + 0x68]
test edx, edx
fsub dword [ebp + 0x74]
mov ecx, dword [esp + 0x78]
fild dword [ebp + 0x68]
mov dword [esp + 0x138], ecx
jge 0x413a19
fadd dword [0x478004]
fmulp st(1)
fadd dword [esp + 0x13c]
fstp dword [esp + 0x13c]
jmp 0x413e45
cmp al, 0x20
jl 0x413e45
movsx ecx, al
lea edx, [ecx - 0x19]
shl edx, 4
shl ecx, 4
add ecx, ebp
fld dword [edx + ebp]
mov edx, dword [ecx - 0x18c]
mov dword [esp + 0x20], edx
fld dword [ecx - 0x188]
mov edx, dword [ebp + 0x64]
test edx, edx
fld dword [0x477f4c]
fdiv dword [ebp + 0x6c]
mov ecx, dword [ecx - 0x184]
mov dword [esp + 0x1c], ecx
fld st(1)
fsub st(3)
fild dword [ebp + 0x64]
jge 0x413a7e
fadd dword [0x478004]
mov ecx, dword [ebp + 0x68]
fmulp st(1)
test ecx, ecx
fmul st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fsub dword [esp + 0x20]
fild dword [ebp + 0x68]
jge 0x413a9e
fadd dword [0x478004]
cmp al, 0x20
fmulp st(1)
fmul st(1)
fstp dword [esp + 0x14]
fstp st(0)
je 0x413e2f
fld dword [esp + 0x138]
mov edi, dword [esp + 0x10]
fsub dword [0x477f48]
mov dword [esp + 0x84], 0x3f666666
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x94], ecx
fst dword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
fld dword [esp + 0x14]
mov dword [esp + 0x8c], edx
fadd dword [esp + 0x13c]
mov dword [esp + 0x88], 0x3f800000
mov edx, dword [esp + 0x88]
mov dword [esp + 0x98], edx
fsub dword [0x477f48]
mov ecx, 7
lea esi, [esp + 0x8c]
mov dword [esp + 0x9c], ebx
fst dword [esp + 0x80]
mov eax, dword [esp + 0x80]
fld st(3)
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x1c]
fstp dword [esp + 0xa0]
fld st(1)
mov dword [esp + 0xa4], eax
fstp dword [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x13c]
fsub dword [0x477f48]
fst dword [esp + 0x5c]
fst dword [esp + 0x14]
fld st(4)
fstp dword [esp + 0xd8]
fld dword [esp + 0x24]
fadd dword [esp + 0x138]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
fsub dword [0x477f48]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc4], ecx
add edi, 0x1c
fst dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0x64], 0x3f800000
fld st(2)
mov ecx, dword [esp + 0x64]
fstp dword [esp + 0x2c]
mov dword [esp + 0xd0], ecx
fld st(4)
mov dword [esp + 0xc8], edx
fstp dword [esp + 0x110]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x60], 0x3f666666
mov eax, dword [esp + 0x60]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xdc], edx
mov ecx, 7
lea esi, [esp + 0xc4]
mov dword [esp + 0xd4], ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x1c]
add edi, 0x1c
mov dword [esp + 0xfc], eax
mov dword [esp + 0x30], 0x3f666666
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], 0x3f800000
mov eax, dword [esp + 0x34]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x10], edi
mov ecx, 7
lea esi, [esp + 0xfc]
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
fst dword [esp + 0x48]
mov edx, dword [esp + 0x48]
add edi, 0x1c
fxch st(1)
fstp dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xac], eax
fld st(3)
mov eax, dword [esp + 0x20]
fstp dword [esp + 0xbc]
mov dword [esp + 0xa8], edx
mov dword [esp + 0x10], edi
fstp dword [esp + 0x68]
mov dword [esp + 0xc0], eax
mov dword [esp + 0x50], 0x3f666666
fstp dword [esp + 0x6c]
mov ecx, dword [esp + 0x50]
fxch st(1)
mov dword [esp + 0xb0], ecx
fstp dword [esp + 0xf4]
mov dword [esp + 0x54], 0x3f800000
mov edx, dword [esp + 0x54]
fstp dword [esp + 0x38]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x6c]
fstp dword [esp + 0x12c]
mov ecx, 7
lea esi, [esp + 0xa8]
mov dword [esp + 0xb8], ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xe0], ecx
add edi, 0x1c
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x74], 0x3f800000
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xec], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x70], 0x3f666666
mov eax, dword [esp + 0x70]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xf8], edx
mov edx, eax
mov ecx, 7
lea esi, [esp + 0xe0]
mov dword [esp + 0xf0], ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x118], ecx
mov dword [esp + 0x40], 0x3f666666
mov eax, dword [esp + 0x40]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], 0x3f800000
mov ecx, dword [esp + 0x44]
add edi, 0x1c
mov dword [esp + 0x11c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x124], ecx
mov dword [esp + 0x10], edi
add eax, 2
mov ecx, 7
lea esi, [esp + 0x118]
mov dword [esp + 0x128], ebx
mov dword [esp + 0x130], edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
add esi, 0x1c
lea eax, [eax + eax*2]
cmp eax, 0x126
mov dword [esp + 0x10], esi
jbe 0x413e33
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x58]
mov edx, dword [eax]
push ecx
xor esi, esi
push esi
push 4
push eax
call dword [edx + 0x118]
mov eax, dword [ebp + 0x60]
push 0x2000
lea ecx, [esp + 0x14]
push ecx
push esi
push esi
mov dword [esp + 0x20], esi
mov edx, dword [eax]
push eax
call dword [edx + 0x2c]
mov dword [esp + 0x18], esi
jmp 0x413e33
fstp st(0)
fstp st(0)
fld dword [esp + 0x24]
fadd dword [esp + 0x138]
fstp dword [esp + 0x138]
mov edx, dword [esp + 0x144]
mov al, byte [edx]
test al, al
jne 0x4139e5
mov esi, dword [esp + 0x18]
pop edi
pop ebx
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test esi, esi
jbe 0x413e7a
mov eax, dword [ebp + 0x58]
mov edx, dword [eax]
push esi
push 0
push 4
push eax
call dword [edx + 0x118]
mov edx, dword [ebp + 0x670]
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd8]
pop esi
xor eax, eax
pop ebp
add esp, 0x124
ret 0x14