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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51ab50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.004be320
mov esi, eax
test esi, esi
je 0x4bf482
fld qword [esi + 0x60]
fmul qword [0x522d88]
lea ecx, [esp + 0x50]
mov byte [esp + 0x17], 0
fstp qword [esp + 0x34]
fld qword [esi + 0x60]
fmul qword [0x520168]
fstp qword [esp + 0x3c]
fld qword [esi + 0x58]
fld qword [esi + 0x60]
fld qword [esi + 0x68]
fmul qword [esi + 0x28]
fdiv st(1)
fsubr st(2)
fstp qword [esp + 0x44]
fstp st(0)
fstp st(0)
call fcn.004da0c0
lea ecx, [esp + 0xd8]
mov dword [esp + 0x2b0], 0
call fcn.0048e5c0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x2b0], 1
call fcn.0048fac0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0xe8]
call fcn.0048fae0
fld qword [esp + 0x44]
fmul qword [0x522e30]
push 0
push 0
lea ecx, [esp + 0xe0]
fstp qword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
push ebp
push ebx
call fcn.0048fae0
push 0x40000000
push 0
push ebp
push ebx
lea ecx, [esp + 0xe8]
call fcn.0048fae0
xor ebx, ebx
push 0x40000000
push ebx
push ebx
push ebx
lea ecx, [esp + 0xe8]
call fcn.0048fae0
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0xec]
call fcn.0048fb50
mov eax, dword [esp + 0x68]
push 0xffffffffffffffff
mov ebp, eax
inc eax
push eax
lea ecx, [esp + 0x68]
call fcn.004de680
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0xd8]
mov dword [ecx + ebp*4], eax
lea ecx, [esp + 0x50]
call fcn.004da360
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x21c], 1
push eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
mov ecx, edi
call fcn.004be3d0
mov ebp, eax
cmp ebp, ebx
je 0x4bf37e
fld qword [ebp + 0x58]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 1
je 0x4bf383
mov byte [esp + 0x17], 1
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x7c]
push 0x4be290
push 4
push eax
push ecx
nop
call fcn.006090e8
add esp, 0x10
mov dword [esp + 0x18], 0x522d18
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov al, byte [esp + 0x17]
mov byte [esp + 0x2b0], 2
test al, al
je 0x4bf3fe
lea eax, [esp + 0x18]
lea ecx, [esp + 0x50]
push eax
push ecx
push esi
push 1
push 1
mov ecx, edi
call fcn.004becb0
test al, al
jne 0x4bf49a
mov dword [esp + 0x18], 0x522d18
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2b0], 3
cmp eax, ebx
je 0x4bf452
jmp 0x4bf449
lea edx, [esp + 0x18]
mov ecx, edi
push edx
push ebp
push esi
push ebx
push 1
call fcn.004becb0
test al, al
jne 0x4bf49a
lea eax, [esp + 0x18]
lea ecx, [esp + 0x50]
push eax
push ecx
push esi
push 1
push 1
mov ecx, edi
call fcn.004becb0
test al, al
jne 0x4bf49a
mov dword [esp + 0x18], 0x522d18
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2b0], 4
cmp eax, ebx
je 0x4bf452
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], 0x520384
mov byte [esp + 0x2b0], 0
call fcn.0048e700
lea ecx, [esp + 0x50]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.004da160
xor al, al
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x18]
lea eax, [esp + 0x50]
push edx
push eax
push esi
push 1
push ebx
mov ecx, edi
call fcn.004becb0
push 0x88
call fcn.0050b264
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x2b0], 5
je 0x4bf4d9
mov ecx, eax
call fcn.004da0c0
mov dword [esp + 0x2c], eax
jmp 0x4bf4dd
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push edx
lea ebp, [ecx + 0x10]
mov byte [esp + 0x2b8], 2
mov ecx, ebp
call fcn.004de680
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 4]
cmp edx, ebx
je 0x4bf516
mov ebx, dword [ecx]
add ecx, 4
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x4bf509
mov ebx, dword [ebp + 8]
mov edx, dword [esi + 0x18]
mov eax, ebx
push 0xffffffffffffffff
add eax, edx
mov ecx, ebp
push eax
call fcn.004de680
mov ecx, dword [ebp + 4]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [ecx + ebx*4]
mov ebx, eax
dec eax
test ebx, ebx
je 0x4bf54b
inc eax
mov ebx, dword [edx]
add edx, 4
mov dword [ecx], ebx
add ecx, 4
dec eax
jne 0x4bf53e
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
mov dword [ebx + 0x24], 0
call fcn.004da360
mov ecx, ebx
call fcn.004da2e0
mov ebp, dword [edi + 0x80]
dec ebp
js 0x4bf5b7
mov edx, dword [edi + 0x7c]
lea eax, [edx + ebp*4]
mov ecx, dword [eax]
cmp ecx, esi
je 0x4bf583
dec ebp
sub eax, 4
test ebp, ebp
jge 0x4bf573
jmp 0x4bf5b7
test ecx, ecx
je 0x4bf58d
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x7c]
sub eax, ebp
dec eax
lea edx, [ecx + ebp*4]
je 0x4bf5b1
shl eax, 2
lea ecx, [ecx + ebp*4 + 4]
push eax
push ecx
push edx
nop
call fcn.006090f1
add esp, 0xc
dec dword [edi + 0x80]
lea esi, [edi + 0x78]
push 0xffffffffffffffff
mov ecx, esi
mov edi, dword [esi + 8]
lea edx, [edi + 1]
push edx
call fcn.004de680
mov eax, dword [esi + 4]
mov dword [eax + edi*4], ebx
mov dword [esp + 0x18], 0x522d18
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2b0], 6
test eax, eax
je 0x4bf5f1
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], 0x520384
mov byte [esp + 0x2b0], 0
call fcn.0048e700
lea ecx, [esp + 0x50]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.004da160
mov ecx, dword [esp + 0x2a8]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret