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

Disassembly:
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x68]
test ebp, ebp
push esi
push edi
mov esi, ecx
mov ebx, 0x60
je 0x4bf2a5
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x38], 0xbf800000
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov dword [esp + 0x3c], 0xbf800000
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov dword [esp + 0x40], 0xbf800000
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov dword [esi + 0x1ac], ebp
mov edx, dword [ebp + 4]
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x3c], edx
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x78], 0
call fcn.004bb600
test eax, eax
je 0x4beee2
mov edx, dword [esp + 0x38]
push 0
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 8], edx
mov ecx, eax
call fcn.00579430
jmp 0x4beee6
fld dword [esp + 0x70]
push ebp
fstp dword [esp + 0x44]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.004be5e0
cmp eax, 1
jne 0x4bef2d
push 0x60
push edi
mov ecx, esi
call fcn.004bb8b0
cmp eax, 0x60
jge 0x4bef25
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x78]
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov ebx, eax
test eax, eax
je 0x4bf2b1
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], 0x3f800000
lea ecx, [ecx]
fld dword [edi]
fsub dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
mov eax, dword [esp + 0x14]
fadd dword [edi]
mov dword [esp + 0x6c], eax
fstp dword [esp + 0x18]
fld dword [edi + 4]
fsub dword [esp + 0x10]
fstp dword [esp + 0x20]
fld dword [esp + 0x10]
fadd dword [edi + 4]
fstp dword [esp + 0x24]
fld dword [esp + 0x14]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jp 0x4bf0fc
jmp 0x4befa0
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fcomp dword [esp + 0x24]
mov dword [esp + 0x70], ecx
fnstsw ax
test ah, 0x41
jp 0x4bf0e1
jmp 0x4befc0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], edx
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], 0
call fcn.004bb600
test eax, eax
je 0x4bf011
mov edx, dword [esp + 0x38]
push 0
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 8], edx
mov ecx, eax
call fcn.00579430
jmp 0x4bf015
fld dword [esp + 0x28]
push ebp
fstp dword [esp + 0x44]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.004be5e0
cmp eax, 1
jne 0x4bf0c2
fld dword [edi]
lea ecx, [esp + 0x50]
fsub dword [esp + 0x38]
push ecx
fstp dword [esp + 0x54]
fld dword [edi + 4]
fsub dword [esp + 0x40]
fstp dword [esp + 0x58]
fld dword [edi + 8]
fsub dword [esp + 0x44]
fstp dword [esp + 0x5c]
call fcn.004ab100
fcomp dword [0x7455dc]
add esp, 4
fnstsw ax
test ah, 0x41
jp 0x4bf0c2
push 0
push 0
push 0x7f000000
push 0x7f000000
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x50]
push ecx
push edi
mov ecx, esi
call fcn.0050c330
cmp eax, 1
jne 0x4bf0c2
push ebx
push edi
mov ecx, esi
call fcn.004bb8b0
cmp ebx, eax
jle 0x4bf0ba
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov dword [edx], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 8], ecx
mov ebx, eax
test eax, eax
je 0x4bf2b1
fld dword [esp + 0x24]
fsub dword [esp + 0x20]
fadd dword [esp + 0x70]
fst dword [esp + 0x70]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jnp 0x4befc0
fld dword [esp + 0x6c]
fadd dword [esp + 0x1c]
fst dword [esp + 0x6c]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jnp 0x4befa0
fld dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fcomp dword [esp + 0x18]
mov dword [esp + 0x6c], edx
fnstsw ax
test ah, 0x41
jp 0x4bf288
fld dword [esp + 0x20]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fsub dword [esp + 0x1c]
fstp dword [esp + 0x24]
nop
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], eax
fld dword [esp + 0x70]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jp 0x4bf269
jmp 0x4bf150
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], 0
call fcn.004bb600
test eax, eax
je 0x4bf1a1
mov ecx, dword [esp + 0x38]
push 0
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 8], ecx
mov ecx, eax
call fcn.00579430
jmp 0x4bf1a5
fld dword [esp + 0x2c]
push ebp
fstp dword [esp + 0x44]
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.004be5e0
cmp eax, 1
jne 0x4bf24e
fld dword [edi]
lea eax, [esp + 0x5c]
fsub dword [esp + 0x38]
push eax
fstp dword [esp + 0x60]
fld dword [edi + 4]
fsub dword [esp + 0x40]
fstp dword [esp + 0x64]
fld dword [edi + 8]
fsub dword [esp + 0x44]
fstp dword [esp + 0x68]
call fcn.004ab100
fcomp dword [0x7455dc]
add esp, 4
fnstsw ax
test ah, 0x41
jp 0x4bf24e
push 0
push 0
push 0x7f000000
push 0x7f000000
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x50]
push eax
push edi
mov ecx, esi
call fcn.0050c330
cmp eax, 1
jne 0x4bf24e
push ebx
push edi
mov ecx, esi
call fcn.004bb8b0
cmp ebx, eax
jle 0x4bf24a
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x78]
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov ebx, eax
test eax, eax
je 0x4bf2b1
fld dword [esp + 0x70]
fadd dword [esp + 0x1c]
fst dword [esp + 0x70]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jnp 0x4bf150
fld dword [esp + 0x18]
fsub dword [esp + 0x14]
fadd dword [esp + 0x6c]
fst dword [esp + 0x6c]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jnp 0x4bf130
fld dword [esp + 0x10]
fadd dword [esp + 0x1c]
fst dword [esp + 0x10]
fcomp dword [0x7455d8]
fnstsw ax
test ah, 5
jnp 0x4bef50
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret 0x14