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

Disassembly:
sub esp, 0x80
push ebx
push esi
mov esi, dword [esp + 0x90]
push edi
mov edi, dword [esp + 0x90]
push edi
push esi
mov ebx, ecx
call fcn.004aa980
add esp, 8
test eax, eax
je 0x4bc5c8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x80
ret 0x20
push ebp
mov ebp, dword [esp + 0x9c]
test ebp, ebp
je 0x4bcb2a
fld dword [ebp + 8]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
fadd dword [0x73dfec]
push eax
mov dword [esp + 0x50], eax
fstp dword [esp + 0x60]
call fcn.004ae770
test eax, eax
mov dword [esp + 0x58], eax
jne 0x4bc60a
mov dword [esp + 0xa4], eax
fld dword [esi + 4]
mov eax, dword [ebp + 0x34]
fsub dword [edi + 4]
mov edx, dword [ebp + 0x30]
fld dword [esi]
mov dword [esp + 0x54], eax
fsub dword [edi]
mov dword [esp + 0x50], edx
fstp dword [esp + 0x2c]
fld dword [esi]
fcomp dword [edi]
fnstsw ax
test ah, 0x41
jne 0x4bc639
mov ecx, dword [esi]
mov dword [esp + 0x1c], ecx
jmp 0x4bc63f
mov edx, dword [edi]
mov dword [esp + 0x1c], edx
fld dword [esi]
fcomp dword [edi]
fnstsw ax
test ah, 5
jp 0x4bc652
mov eax, dword [esi]
mov dword [esp + 0x18], eax
jmp 0x4bc658
mov ecx, dword [edi]
mov dword [esp + 0x18], ecx
fld dword [esi + 4]
fcomp dword [edi + 4]
fnstsw ax
test ah, 0x41
jne 0x4bc66e
mov edx, dword [esi + 4]
mov dword [esp + 0x34], edx
jmp 0x4bc675
mov eax, dword [edi + 4]
mov dword [esp + 0x34], eax
fld dword [esi + 4]
fcomp dword [edi + 4]
fnstsw ax
test ah, 5
jp 0x4bc68b
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], ecx
jmp 0x4bc692
mov edx, dword [edi + 4]
mov dword [esp + 0x30], edx
fld dword [esp + 0x2c]
fcomp dword [0x73d700]
fnstsw ax
test ah, 0x44
jp 0x4bc6b7
fstp st(0)
mov dword [esp + 0x14], 0
mov dword [esp + 0x48], 0
jmp 0x4bc6e2
fdiv dword [esp + 0x2c]
fst dword [esp + 0x14]
fmul dword [edi]
fsubr dword [edi + 4]
fstp dword [esp + 0x48]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fadd dword [0x73d764]
fdivr dword [0x73d764]
fsqrt
fstp dword [esp + 0x38]
fld dword [esp + 0x1c]
mov eax, edi
mov ecx, dword [eax]
fadd dword [0x7455c0]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi]
mov dword [esp + 0x70], edx
mov edx, dword [esi + 4]
push ecx
mov dword [esp + 0x78], eax
fstp dword [esp]
mov eax, dword [esi + 8]
mov esi, dword [ebx + 0x194]
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x2c]
push ecx
dec esi
mov ecx, ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x4c], esi
call fcn.00506f20
test eax, eax
je 0x4bc745
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov esi, edx
fld dword [esp + 0x18]
push ecx
fsub dword [0x7455c0]
lea eax, [esp + 0x2c]
mov ecx, ebx
mov dword [esp + 0x24], 0
fstp dword [esp]
push eax
call fcn.00506f20
test eax, eax
je 0x4bc773
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x20], esi
mov ebp, dword [esp + 0xa8]
jg 0x4bcb50
jmp 0x4bc790
mov edx, dword [ebx + 0x190]
mov eax, dword [esp + 0x20]
mov esi, dword [edx + eax*4]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
push esi
call fcn.004ae770
test eax, eax
mov dword [esp + 0x24], eax
je 0x4bcb3b
cmp esi, dword [esp + 0x4c]
je 0x4bcb3b
cmp esi, dword [esp + 0x50]
je 0x4bcb3b
cmp esi, dword [esp + 0x54]
je 0x4bcb3b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x94]
test eax, eax
jne 0x4bcb3b
mov ecx, dword [esp + 0x24]
call fcn.004ef890
test eax, eax
jne 0x4bcb3b
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x4bc81a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
push eax
call fcn.004f62a0
test eax, eax
jne 0x4bcb3b
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x340]
fld dword [ecx + 8]
add eax, 0x90
mov edx, dword [eax]
mov ecx, dword [eax + 4]
fadd dword [esp + 0x5c]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 8]
fstp dword [esp + 0x10]
lea eax, [esp + 0x84]
fld dword [esp + 0x6c]
mov dword [esp + 0x68], edx
fsub dword [esp + 0x78]
push eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], 0
fstp dword [esp + 0x88]
mov dword [esp + 0x90], 0
fld dword [esp + 0x74]
fsub dword [esp + 0x80]
fstp dword [esp + 0x8c]
call fcn.004ab100
fstp st(0)
fld dword [esp + 0x30]
add esp, 4
fcomp dword [0x73d700]
fnstsw ax
test ah, 0x44
jp 0x4bca00
fld dword [esp + 0x64]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 0x41
jp 0x4bc91e
fld dword [esp + 0x18]
fsub dword [esp + 0x60]
fld dword [esp + 0x30]
fsub dword [esp + 0x64]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fcompp
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
jne 0x4bcb3b
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x10]
push ebp
push ecx
push edx
mov edx, dword [esp + 0xa8]
push eax
push edi
push esi
lea ecx, [esp + 0x78]
push ecx
push edx
mov ecx, ebx
call fcn.004bba40
test eax, eax
je 0x4bcb2a
jmp 0x4bcb3b
fld dword [esp + 0x64]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 1
jne 0x4bc999
fld dword [esp + 0x1c]
fsub dword [esp + 0x60]
fld dword [esp + 0x34]
fsub dword [esp + 0x64]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fcompp
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
jne 0x4bcb3b
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x10]
push ebp
push eax
push ecx
mov ecx, dword [esp + 0xa8]
push edx
push edi
push esi
lea eax, [esp + 0x78]
push eax
push ecx
mov ecx, ebx
call fcn.004bba40
test eax, eax
je 0x4bcb2a
jmp 0x4bcb3b
fld dword [esp + 0x18]
fsub dword [esp + 0x10]
fcomp dword [esp + 0x60]
fnstsw ax
test ah, 0x41
jp 0x4bcb3b
fld dword [esp + 0x10]
fadd dword [esp + 0x1c]
fcomp dword [esp + 0x60]
fnstsw ax
test ah, 1
jne 0x4bcb3b
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x10]
push ebp
push edx
push eax
mov eax, dword [esp + 0xa8]
push ecx
push edi
push esi
lea edx, [esp + 0x78]
push edx
push eax
mov ecx, ebx
call fcn.004bba40
test eax, eax
je 0x4bcb2a
jmp 0x4bcb3b
fld dword [esp + 0x60]
fmul dword [esp + 0x14]
fadd dword [esp + 0x48]
fstp dword [esp + 0x40]
fld dword [esp + 0x64]
fsub dword [esp + 0x40]
fabs
fmul dword [esp + 0x38]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x4bcb39
fld dword [0x73d764]
fld dword [esp + 0x64]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 5
jp 0x4bca4a
fstp st(0)
fld dword [0x740cbc]
fmul st(1)
fmul dword [esp + 0x38]
fmul dword [esp + 0x14]
fadd dword [esp + 0x60]
fstp dword [esp + 0x40]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fld st(1)
fmul st(2)
fsubp st(1)
fsqrt
fstp st(1)
fmul dword [esp + 0x38]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fsub dword [esp + 0x3c]
fcom dword [esp + 0x18]
fnstsw ax
test ah, 1
je 0x4bcaa0
fld dword [esp + 0x3c]
fadd dword [esp + 0x40]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x4bcb39
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jnp 0x4bcabe
fld dword [esp + 0x3c]
fadd dword [esp + 0x40]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jp 0x4bcb3b
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x10]
push ebp
push ecx
push edx
mov edx, dword [esp + 0xa8]
push eax
push edi
push esi
lea ecx, [esp + 0x78]
push ecx
push edx
mov ecx, ebx
call fcn.004bba40
test eax, eax
jne 0x4bcb3b
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edi
push edx
add eax, 0x90
push eax
mov ecx, ebx
call fcn.004bc0e0
test ebp, ebp
je 0x4bcb1c
mov dword [ebp], esi
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x4bcb2a
mov dword [eax + 0x40], esi
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x80
ret 0x20
fstp st(0)
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x4bc790
test ebp, ebp
je 0x4bcb5b
mov dword [ebp], 0x7f000000
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x80
ret 0x20