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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51a7fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push ebp
xor eax, eax
mov ecx, dword [ebx + 0x30]
push esi
test ecx, ecx
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jle 0x4baf67
mov ecx, dword [ebx + 0x2c]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 0x104], 2
jl 0x4baf52
push 0xc0
call fcn.0050b264
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x4bada4
mov ecx, eax
call fcn.004c1630
mov edi, eax
jmp 0x4bada6
xor edi, edi
mov edx, dword [ebx + 0x14]
mov eax, dword [esi + 0x104]
push edx
mov edx, dword [ebx + 0x10]
lea ecx, [esi + 8]
push edx
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x40], 0xffffffff
call fcn.004c3da0
cmp eax, 1
jne 0x4baf46
mov ecx, edi
mov dword [edi + 0x1c], esi
call fcn.004c1830
mov ebp, eax
mov eax, dword [esi + 0xc0]
cmp eax, 4
jne 0x4bae1a
mov ebp, dword [esi + 0xec]
push 0xffffffffffffffff
inc ebp
mov dword [esi + 0xec], ebp
lea esi, [ebx + 0x3c]
mov dword [edi + 0xc], 1
mov ecx, esi
mov ebp, dword [esi + 8]
lea eax, [ebp + 1]
push eax
call fcn.004de680
mov ecx, dword [esi + 4]
mov dword [ecx + ebp*4], edi
jmp 0x4baf52
mov ecx, esi
call fcn.004da480
test al, al
je 0x4baea0
cmp ebp, 3
jne 0x4baed4
fld qword [esi + 0x78]
fld qword [ebx + 0x10]
fmul qword [0x522d90]
fcompp
fnstsw ax
test ah, 1
jne 0x4bae53
fld qword [esi + 0x78]
fcomp qword [0x526118]
fnstsw ax
test ah, 0x41
jne 0x4baea5
mov edx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
lea ecx, [esi + 8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.00491d90
fdiv qword [esp + 0x1c]
fcomp qword [0x520168]
fnstsw ax
test ah, 1
je 0x4baea5
mov edx, dword [esi + 0xec]
mov dword [esi + 0xc0], 3
inc edx
mov dword [esi + 0xec], edx
mov dword [edi + 0xc], 1
jmp 0x4baf1d
cmp ebp, 3
jne 0x4baed4
mov ebp, dword [esi + 0xec]
push 0xffffffffffffffff
inc ebp
mov dword [esi + 0xec], ebp
lea esi, [ebx + 0x3c]
mov dword [edi + 0xc], 1
mov ecx, esi
mov ebp, dword [esi + 8]
lea eax, [ebp + 1]
push eax
call fcn.004de680
mov ecx, dword [esi + 4]
mov dword [ecx + ebp*4], edi
jmp 0x4baf52
cmp ebp, 2
jne 0x4baf04
mov edx, dword [esi + 0xec]
push 0xffffffffffffffff
inc edx
mov dword [esi + 0xec], edx
lea esi, [ebx + 0x3c]
mov dword [edi + 0xc], ebp
mov ecx, esi
mov ebp, dword [esi + 8]
lea edx, [ebp + 1]
push edx
call fcn.004de680
mov eax, dword [esi + 4]
mov dword [eax + ebp*4], edi
jmp 0x4baf52
cmp ebp, 1
jne 0x4baf38
mov edx, dword [esi + 0xec]
inc edx
mov dword [esi + 0xec], edx
mov dword [edi + 0xc], 3
mov ebp, dword [ebx + 0x44]
lea esi, [ebx + 0x3c]
push 0xffffffffffffffff
lea ecx, [ebp + 1]
push ecx
mov ecx, esi
call fcn.004de680
mov edx, dword [esi + 4]
mov dword [edx + ebp*4], edi
jmp 0x4baf52
test edi, edi
je 0x4baf52
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x4baf52
test edi, edi
je 0x4baf52
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4bad69
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret