Function at 0x413973
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x12c
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], 2
je 0x413b7d
cmp dword [ebp - 0x1c], 2
ja 0x413b9b
cmp dword [ebp - 0x1c], 0
je 0x4139af
cmp dword [ebp - 0x1c], 1
jne 0x413b9b
jmp 0x413ba1
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax]
mov eax, dword [ebp + 0xc]
fld qword [eax]
mov eax, dword [ebp + 0x24]
fld qword [eax]
fstp qword [ebp - 0x30]
mov eax, dword [ebp + 0x50]
mov esi, dword [eax]
mov eax, dword [ebp + 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x68]
fld qword [eax]
fstp qword [ebp - 0x48]
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x40]
mov edx, dword [eax]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
mov edi, dword [eax]
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 0x3c]
fld qword [eax]
mov eax, dword [ebp + 0x5c]
fld qword [eax]
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov dword [ebp - 0x68], edi
mov eax, dword [ebp + 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x64]
mov edx, dword [eax]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
mov dword [ebp - 0x78], edi
mov eax, dword [ebp + 0x1c]
fld qword [eax]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov eax, dword [ebp + 0x58]
fld qword [eax]
mov eax, dword [ebp + 0x4c]
fld qword [eax]
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x28]
mov edx, dword [eax]
mov eax, dword [ebp + 0x68]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0xa8], ebx
fstp qword [esp + 0xa0]
fld qword [ebp - 0x30]
fstp qword [esp + 0x98]
mov dword [esp + 0x94], esi
mov ebx, dword [ebp - 0x34]
mov dword [esp + 0x90], ebx
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x8c], esi
mov ebx, dword [ebp - 0x3c]
mov dword [esp + 0x88], ebx
fld qword [ebp - 0x48]
fstp qword [esp + 0x80]
fxch st(5)
mov esi, dword [ebp - 0x40]
mov dword [esp + 0x7c], esi
mov ebx, dword [ebp - 0x4c]
mov dword [esp + 0x78], ebx
mov esi, dword [ebp - 0x50]
mov dword [esp + 0x74], esi
mov ebx, dword [ebp - 0x54]
mov dword [esp + 0x70], ebx
fstp qword [esp + 0x68]
fxch st(3)
mov esi, dword [ebp - 0x58]
mov dword [esp + 0x64], esi
mov ebx, dword [ebp - 0x5c]
mov dword [esp + 0x60], ebx
mov esi, dword [ebp - 0x60]
mov dword [esp + 0x5c], esi
mov ebx, dword [ebp - 0x64]
mov dword [esp + 0x58], ebx
fstp qword [esp + 0x50]
fxch st(1)
fstp qword [esp + 0x48]
mov esi, dword [ebp - 0x68]
mov dword [esp + 0x44], esi
mov ebx, dword [ebp - 0x6c]
mov dword [esp + 0x40], ebx
mov esi, dword [ebp - 0x70]
mov dword [esp + 0x3c], esi
mov ebx, dword [ebp - 0x74]
mov dword [esp + 0x38], ebx
mov esi, dword [ebp - 0x78]
mov dword [esp + 0x34], esi
fstp qword [esp + 0x2c]
mov ebx, dword [ebp - 0x7c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
fstp qword [esp + 0x1c]
fstp qword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
fstp qword [esp + 4]
mov dword [esp], eax
call sym._writeDestination
mov dword [ebp - 0x1c], 1
jmp 0x413b9c
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x413b92
mov dword [ebp - 0x1c], 0
jmp 0x413b9c
mov dword [ebp - 0x1c], 1
jmp 0x413b9c
nop
jmp 0x413986
add esp, 0x12c
pop ebx
pop esi
pop edi
pop ebp
ret