Function at 0x478276
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 0x4782c6
cmp dword [ebp - 0x1c], 3
ja 0x4784c7
cmp dword [ebp - 0x1c], 2
je 0x478475
cmp dword [ebp - 0x1c], 2
ja 0x4784c7
cmp dword [ebp - 0x1c], 0
je 0x4784cd
cmp dword [ebp - 0x1c], 1
je 0x4784a1
jmp 0x4784c7
mov eax, dword [ebp + 0x40]
fld qword [eax]
mov eax, dword [ebp + 0x48]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x54]
mov ebx, dword [eax]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0x54]
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0x40]
fld qword [eax]
mov eax, dword [ebp + 0x48]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0x44]
mov esi, dword [eax]
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 0x3c]
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x30]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x3c]
mov esi, dword [eax]
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x54]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x4c]
mov ebx, dword [eax]
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp + 0x44]
mov esi, dword [eax]
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 0x24]
mov edi, dword [eax]
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x7c], ebx
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ebp + 0x50]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
fld qword [eax]
fxch st(2)
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
fstp qword [esp + 0x80]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x78], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x74], edx
fstp qword [esp + 0x6c]
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x68], edx
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x64], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x60], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x58], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x54], edx
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x50], edx
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x48], edx
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x44], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 0x38], edx
mov edx, dword [ebp - 0x68]
mov dword [esp + 0x34], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x30], edx
mov edx, dword [ebp - 0x70]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0x78]
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
fstp qword [esp + 8]
mov esi, dword [ebp - 0x80]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._set_file_type
mov dword [ebp - 0x1c], 0
jmp 0x4784c8
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x1af28]
movzx ecx, byte [ecx + 0x1af2c]
mov byte [edx + eax + 0x19f20], cl
mov dword [ebp - 0x1c], 1
jmp 0x4784c8
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x1af48]
movzx eax, word [eax]
cmp ax, 0xffff
jne 0x4784be
mov dword [ebp - 0x1c], 3
jmp 0x4784c8
mov dword [ebp - 0x1c], 0
jmp 0x4784c8
nop
jmp 0x478289
nop
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret