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

Disassembly:
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x84]
push esi
mov esi, ecx
mov eax, ebx
mov edx, dword [eax]
mov ecx, ebp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
push edi
mov edi, dword [esp + 0x84]
mov dword [esi + 0x1ac], edi
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], ecx
mov edx, ebx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
mov dword [esp + 0x64], edx
mov dword [esp + 0x8c], 0
call fcn.004bb600
test eax, eax
je 0x4be8fc
mov ecx, dword [esp + 0x54]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x88]
push edx
mov ecx, eax
call fcn.00579470
jmp 0x4be903
fld dword [esp + 0x84]
push edi
fstp dword [esp + 0x60]
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.004be5e0
cmp eax, 1
jne 0x4be93d
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov dword [ebp + 8], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x14
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x68]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, esi
call fcn.00506400
test eax, eax
je 0x4be9fd
fld dword [edi + 0x14]
mov eax, dword [edi + 4]
fld dword [esp + 0x54]
push 0
fadd dword [0x73dfec]
push 1
push 0
lea ecx, [esp + 0x3c]
fstp dword [esp + 0x6c]
push ecx
fld dword [esp + 0x68]
push 0x7f000000
fadd dword [0x73dfec]
mov edx, eax
push edx
push ecx
fstp dword [esp + 0x80]
fld dword [esp + 0x78]
mov dword [esp + 0x98], eax
fst dword [esp + 0x84]
mov eax, dword [esp + 0x78]
fld dword [esp + 0x70]
lea ecx, [esp + 0x7c]
fsub dword [0x73dfec]
lea edx, [esp + 0x88]
fstp dword [esp + 0x88]
fld dword [esp + 0x74]
fsub dword [0x73dfec]
fstp dword [esp + 0x8c]
fstp dword [esp + 0x90]
fadd dword [esp + 0x78]
fstp dword [esp]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0050ca10
test eax, eax
jne 0x4bea08
mov dword [esp + 0x88], 0
fld dword [0x73d764]
mov dword [esp + 0x14], 0x3f800000
fcomp dword [esp + 0x80]
fnstsw ax
test ah, 5
jp 0x4bedc6
mov ebp, dword [esp + 0x18]
lea esp, [esp]
fld dword [ebx]
fsub dword [esp + 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
fadd dword [ebx]
mov dword [esp + 0x84], eax
fstp dword [esp + 0x20]
fld dword [ebx + 4]
fsub dword [esp + 0x14]
fstp dword [esp + 0x24]
fld dword [esp + 0x14]
fadd dword [ebx + 4]
fstp dword [esp + 0x28]
fld dword [esp + 0x1c]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jp 0x4bebf5
jmp 0x4bea80
fld dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fcomp dword [esp + 0x28]
mov dword [esp + 0x7c], ecx
fnstsw ax
test ah, 0x41
jp 0x4bebd4
jmp 0x4beaa0
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], edx
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], 0
call fcn.004bb600
test eax, eax
je 0x4beaf4
mov edx, dword [esp + 0x54]
push 0
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x68]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [ecx + 8], edx
mov ecx, eax
call fcn.00579430
jmp 0x4beaf8
fld dword [esp + 0x34]
push edi
fstp dword [esp + 0x60]
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.004be5e0
cmp eax, 1
jne 0x4bebb5
fld dword [esp + 0x5c]
fcom dword [ebx + 8]
fnstsw ax
test ah, 5
jp 0x4beb29
fstp dword [esp + 0x10]
fld dword [ebx + 8]
jmp 0x4beb30
mov ecx, dword [ebx + 8]
mov dword [esp + 0x10], ecx
fld dword [esp + 0x10]
mov eax, dword [esp + 0x88]
test eax, eax
fsub dword [0x73e798]
fstp dword [esp + 0x10]
fadd dword [edi + 0x14]
fstp dword [esp + 0x2c]
je 0x4bedd2
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 4]
push 0
push 0
mov ecx, eax
push ecx
mov dword [esp + 0x48], edx
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x48], eax
push ebx
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call fcn.004bcb70
cmp eax, 1
je 0x4beb85
cmp eax, 0xfffffffd
jne 0x4bebb5
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
push 0
push 1
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0x7f000000
push ebp
push edx
push eax
push ebx
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call fcn.0050ca10
test eax, eax
jne 0x4bedd2
fld dword [esp + 0x28]
fsub dword [esp + 0x24]
fadd dword [esp + 0x7c]
fst dword [esp + 0x7c]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jnp 0x4beaa0
fld dword [esp + 0x84]
fadd dword [esp + 0x18]
fst dword [esp + 0x84]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x4bea80
fld dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fcomp dword [esp + 0x20]
mov dword [esp + 0x84], edx
fnstsw ax
test ah, 0x41
jp 0x4beda8
fld dword [esp + 0x24]
fadd dword [esp + 0x18]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fsub dword [esp + 0x18]
fstp dword [esp + 0x28]
jmp 0x4bec30
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
fld dword [esp + 0x7c]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jp 0x4bed83
jmp 0x4bec50
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x48], 0
call fcn.004bb600
test eax, eax
je 0x4beca4
mov ecx, dword [esp + 0x54]
push 0
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x68]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [edx + 8], ecx
mov ecx, eax
call fcn.00579430
jmp 0x4beca8
fld dword [esp + 0x40]
push edi
fstp dword [esp + 0x60]
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call fcn.004be5e0
cmp eax, 1
jne 0x4bed68
fld dword [esp + 0x5c]
fcom dword [ebx + 8]
fnstsw ax
test ah, 5
jp 0x4becdd
mov eax, dword [ebx + 8]
fstp dword [esp + 0x10]
mov dword [esp + 0x2c], eax
jmp 0x4bece8
mov ecx, dword [ebx + 8]
fstp dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x88]
test eax, eax
mov edx, dword [edi + 0x14]
mov dword [esp + 0x4c], edx
je 0x4bedfc
mov eax, dword [edi + 4]
push 0
push 0
push edx
mov dword [esp + 0x54], eax
mov ecx, edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x54], ecx
push ebx
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.004bcb70
test eax, eax
je 0x4bed68
fld dword [esp + 0x4c]
push 0
fadd dword [esp + 0x30]
push 1
push 0
lea edx, [esp + 0x3c]
push edx
push 0x7f000000
push ebp
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x30]
lea eax, [esp + 0x74]
fsub dword [0x73e798]
mov ecx, esi
fstp dword [esp]
push ebx
push eax
call fcn.0050ca10
test eax, eax
jne 0x4bedfc
fld dword [esp + 0x7c]
fadd dword [esp + 0x18]
fst dword [esp + 0x7c]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jnp 0x4bec50
fld dword [esp + 0x20]
fsub dword [esp + 0x1c]
fadd dword [esp + 0x84]
fst dword [esp + 0x84]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x4bec30
fld dword [esp + 0x14]
fadd dword [esp + 0x18]
fst dword [esp + 0x14]
fcomp dword [esp + 0x80]
fnstsw ax
test ah, 5
jnp 0x4bea30
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x14
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x14
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
pop edi
mov dword [eax], edx
mov edx, dword [esp + 0x58]
pop esi
mov dword [eax + 4], ecx
pop ebp
mov dword [eax + 8], edx
mov eax, 1
pop ebx
add esp, 0x68
ret 0x14