Function at 0x536b92
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 0x536de9
cmp dword [ebp - 0x1c], 3
ja 0x536de3
cmp dword [ebp - 0x1c], 2
je 0x536c05
cmp dword [ebp - 0x1c], 2
ja 0x536de3
cmp dword [ebp - 0x1c], 0
je 0x536c34
cmp dword [ebp - 0x1c], 1
jne 0x536de3
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 0x1af48]
movzx eax, word [eax]
cmp ax, 0xffff
jne 0x536bf9
mov dword [ebp - 0x1c], 0
jmp 0x536de4
mov dword [ebp - 0x1c], 3
jmp 0x536de4
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov eax, dword [ebp + 0x18]
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 0x536de4
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x3c]
fld qword [eax]
mov eax, dword [ebp + 0x48]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x40]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x50]
mov edi, dword [eax]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x50]
mov edx, dword [eax]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x24]
mov esi, dword [eax]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x50]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0x4c]
mov ebx, dword [eax]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x54]
mov esi, dword [eax]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x60], edi
mov eax, dword [ebp + 0x34]
mov edx, dword [eax]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0x50]
mov esi, dword [eax]
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 0x4c]
mov edi, dword [eax]
mov dword [ebp - 0x74], edi
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp + 0x2c]
mov edi, dword [eax]
mov eax, dword [ebp + 0x4c]
mov esi, dword [eax]
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x50]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
fld qword [eax]
fxch st(4)
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x8c], eax
fstp qword [esp + 0x84]
fxch st(2)
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x78], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x68], eax
fstp qword [esp + 0x60]
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x58], eax
fstp qword [esp + 0x50]
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x48], eax
fstp qword [esp + 0x40]
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x34], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x30], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
fstp qword [esp]
call sym._set_file_type
mov dword [ebp - 0x1c], 3
jmp 0x536de4
nop
jmp 0x536ba5
nop
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret