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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], 3
je 0x4c058c
cmp dword [ebp - 0x1c], 3
ja 0x4c0901
cmp dword [ebp - 0x1c], 2
je 0x4c0748
cmp dword [ebp - 0x1c], 2
ja 0x4c0901
cmp dword [ebp - 0x1c], 0
je 0x4c0907
cmp dword [ebp - 0x1c], 1
jne 0x4c0901
mov eax, dword [ebp + 0x80]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x68]
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x78]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0x64]
fld qword [eax]
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax]
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp + 0x84]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x54]
mov ebx, dword [eax]
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x50], esi
mov eax, dword [ebp + 0x60]
mov edi, dword [eax]
mov dword [ebp - 0x54], edi
mov eax, dword [ebp + 0x78]
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp + 0x5c]
fld qword [eax]
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x64], esi
mov eax, dword [ebp + 0x7c]
mov edi, dword [eax]
mov dword [ebp - 0x68], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp + 0x7c]
mov ebx, dword [eax]
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp + 0x2c]
mov esi, dword [eax]
mov dword [ebp - 0x78], esi
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
mov eax, dword [ebp + 0x28]
mov esi, dword [eax]
mov eax, dword [ebp + 0x6c]
fld qword [eax]
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x64]
fld qword [eax]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov eax, dword [ebp + 0x64]
fld qword [eax]
fxch st(6)
fstp qword [esp + 0x94]
fxch st(4)
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x90], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x88], eax
fstp qword [esp + 0x80]
fxch st(2)
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x58], eax
fstp qword [esp + 0x50]
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x48], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x38], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
fstp qword [esp + 0x24]
mov dword [esp + 0x20], ebx
fstp qword [esp + 0x18]
mov dword [esp + 0x14], ecx
fstp qword [esp + 0xc]
mov dword [esp + 8], edx
fstp qword [esp]
call sym._writeDestShort
mov dword [ebp - 0x1c], 0
jmp 0x4c0902
mov eax, dword [ebp + 0x64]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x34]
mov edi, dword [eax]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp + 0x30]
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x5c]
fld qword [eax]
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x50]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x84]
mov edi, dword [eax]
mov dword [ebp - 0x44], edi
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp + 0x3c]
mov esi, dword [eax]
mov dword [ebp - 0x54], esi
mov eax, dword [ebp + 0x30]
mov edi, dword [eax]
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 0x5c]
fld qword [eax]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0x84]
mov ebx, dword [eax]
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp + 0x24]
mov esi, dword [eax]
mov dword [ebp - 0x68], esi
mov eax, dword [ebp + 0x30]
mov edi, dword [eax]
mov dword [ebp - 0x6c], edi
mov eax, dword [ebp + 0x74]
mov edx, dword [eax]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov eax, dword [ebp + 0x54]
mov esi, dword [eax]
mov eax, dword [ebp + 0x6c]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x6c]
fld qword [eax]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov eax, dword [ebp + 0x44]
fld qword [eax]
fxch st(6)
fstp qword [esp + 0x94]
fxch st(4)
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x90], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x88], eax
fstp qword [esp + 0x80]
fxch st(2)
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x58], eax
fstp qword [esp + 0x50]
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x48], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0x808
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
fstp qword [esp + 0x24]
mov dword [esp + 0x20], ebx
fstp qword [esp + 0x18]
mov dword [esp + 0x14], ecx
fstp qword [esp + 0xc]
mov dword [esp + 8], edx
fstp qword [esp]
call sym._writeDestShort
mov dword [ebp - 0x1c], 1
jmp 0x4c0902
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x78]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x6c]
fld qword [eax]
mov eax, dword [ebp + 0x3c]
mov edi, dword [eax]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x54]
mov edx, dword [eax]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0x30]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x30]
mov esi, dword [eax]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0x28]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0x84]
mov ebx, dword [eax]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp + 0x40]
mov esi, dword [eax]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp + 0x70]
fld qword [eax]
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov dword [ebp - 0x60], edi
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 0x78]
mov ebx, dword [eax]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0x7c]
mov esi, dword [eax]
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 0x2c]
mov edi, dword [eax]
mov dword [ebp - 0x74], edi
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
mov eax, dword [ebp + 0x60]
mov esi, dword [eax]
mov eax, dword [ebp + 0x80]
fld qword [eax]
mov eax, dword [ebp + 0x74]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x6c]
fld qword [eax]
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x70]
fld qword [eax]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov eax, dword [ebp + 0x64]
fld qword [eax]
fxch st(6)
fstp qword [esp + 0x94]
fxch st(4)
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x90], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x88], eax
fstp qword [esp + 0x80]
fxch st(2)
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x58], eax
fstp qword [esp + 0x50]
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x48], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0x8b1f
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
fstp qword [esp + 0x24]
mov dword [esp + 0x20], ebx
fstp qword [esp + 0x18]
mov dword [esp + 0x14], ecx
fstp qword [esp + 0xc]
mov dword [esp + 8], edx
fstp qword [esp]
call sym._writeDestShort
mov dword [ebp - 0x1c], 3
jmp 0x4c0902
nop
jmp 0x4c038a
nop
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret