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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4dbe45
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4dbe45
push esi
call fcn.00481600
fstp qword [esp + 0x2c]
push edi
call fcn.00481600
fstp qword [esp + 0x38]
fld qword [esp + 0x30]
fcomp qword [0x584ab0]
add esp, 8
fnstsw ax
test ah, 0x41
jne 0x4dbe3c
fld qword [esp + 0x30]
fcomp qword [0x584ab0]
fnstsw ax
test ah, 0x41
jne 0x4dbe3c
mov esi, dword [esi + 0xc]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], ebx
push esi
call fcn.00481650
fdiv qword [esp + 0x2c]
push ebx
fstp qword [esp + 0x20]
call fcn.00481650
fdiv qword [esp + 0x38]
add esp, 8
fld st(0)
fadd qword [0x550fc8]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 1
je 0x4dbb13
fdiv qword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
sub esp, 8
fstp qword [esp]
push esi
call fcn.00440080
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x88]
push ecx
push esi
push edx
jmp 0x4dbb4b
fld qword [esp + 0x18]
fadd qword [0x550fc8]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4dbb5d
fld qword [esp + 0x18]
fdiv st(1)
lea eax, [esp + 0x78]
push eax
sub esp, 8
fstp qword [esp]
push ebx
fstp st(0)
call fcn.00440080
lea ecx, [esp + 0x88]
push ecx
push ebx
push edi
call fcn.004a78b0
add esp, 0x1c
test eax, eax
jne 0x4dbe45
jmp 0x4dbb5f
fstp st(0)
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xe00
cmp eax, 0x400
jne 0x4dbb7b
mov edx, dword [ebx]
and edx, 0xe00
cmp edx, eax
je 0x4dbb9d
cmp eax, 0x600
jne 0x4dbc11
mov edi, dword [ebx]
mov edx, edi
and edx, 0xe00
cmp edx, eax
jne 0x4dbc11
mov edx, edi
xor edx, ecx
test dl, 0x10
jne 0x4dbc11
push 0xe0
push 1
call fcn.00547150
add esp, 8
test eax, eax
je 0x4dbe45
mov ecx, dword [esi]
and ecx, 0xe00
cmp ecx, 0x400
mov ecx, 0x10
je 0x4dbbce
mov ecx, 0x1c
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx]
lea edi, [eax + 0x70]
and edx, 0xe00
mov ecx, 0x10
cmp edx, 0x400
je 0x4dbbef
mov ecx, 0x1c
mov esi, ebx
push 0
rep movsd dword es:[edi], dword [esi]
mov edi, dword [eax]
mov ecx, dword [ebp + 0x18]
or edi, 0x10000
push ecx
push eax
mov dword [eax], edi
call fcn.0043f8b0
add esp, 0xc
jmp 0x4dbe11
cmp eax, 0x400
jne 0x4dbc20
fld qword [0x550f30]
jmp 0x4dbc47
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x44]
push edx
mov edx, dword [esi + 0x40]
push eax
push ecx
push edx
call fcn.004370f0
fdivr qword [esi + 0x68]
add esp, 8
fstp qword [esp]
call dword [0x550cc0]
add esp, 8
call fcn.00547c92
mov edi, eax
mov eax, dword [ebx]
and eax, 0xe00
cmp eax, 0x400
jne 0x4dbc64
fld qword [0x550f30]
jmp 0x4dbc8b
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x44]
push ecx
mov ecx, dword [ebx + 0x40]
push edx
push eax
push ecx
call fcn.004370f0
fdivr qword [ebx + 0x68]
add esp, 8
fstp qword [esp]
call dword [0x550cc0]
add esp, 8
call fcn.00547c92
cmp edi, eax
mov dword [esp + 0x10], edi
jg 0x4dbc9c
mov dword [esp + 0x10], eax
lea edx, [esi + 0x10]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [edx + 0xc]
lea edx, [ebx + 0x10]
mov dword [esp + 0x44], ecx
mov eax, dword [edx]
mov dword [esp + 0x48], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x4c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x50], eax
mov eax, 1
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jl 0x4dbe15
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
push 0xe0
push 1
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call fcn.00547150
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4dbe45
fild dword [esp + 0x18]
fidiv dword [esp + 0x10]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x10]
fstp qword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
push ecx
call fcn.00440080
lea edx, [esp + 0x48]
push 0
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.0043f9f0
add esp, 0x1c
test eax, eax
je 0x4dbe45
mov ecx, 0x10
mov esi, eax
mov edi, ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00488710
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.00440080
lea edx, [esp + 0x5c]
push 0
lea eax, [esp + 0x80]
push edx
push eax
call fcn.0043f9f0
add esp, 0x20
test eax, eax
je 0x4dbe45
lea edi, [ebx + 0x70]
mov ecx, 0x10
mov esi, eax
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00488710
mov edx, dword [ebx]
mov ecx, dword [ebp + 0x18]
push 0
or edx, 0x10000
push ecx
push ebx
mov dword [ebx], edx
call fcn.0043f8b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0x10
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jle 0x4dbcee
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [esi + 0xc]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0xc], esi
mov eax, dword [edx + 0xc]
mov dword [esp + 0x14], ebx
cmp esi, eax
je 0x4dbe3c
mov eax, dword [ebp + 0xc]
cmp ebx, dword [eax + 0xc]
je 0x4dbe3c
mov edi, eax
jmp 0x4dbac1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret