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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x71bc1b
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esi + 0x48]
push edi
xor edi, edi
cmp ebx, edi
jle 0x50cc2c
mov ecx, dword [esp + 0x58]
fld dword [ecx]
mov edx, dword [esp + 0x5c]
fcomp dword [edx]
fnstsw ax
test ah, 5
jp 0x50ca54
fld dword [ecx]
mov eax, dword [edx]
jmp 0x50ca58
fld dword [edx]
mov eax, dword [ecx]
fld dword [ecx + 4]
mov dword [esp + 0x18], eax
fcomp dword [edx + 4]
fnstsw ax
test ah, 5
jp 0x50ca71
fld dword [ecx + 4]
fld dword [edx + 4]
jmp 0x50ca77
fld dword [edx + 4]
fld dword [ecx + 4]
cmp ebx, edi
fxch st(2)
fsub dword [esp + 0x68]
mov dword [esp + 0x14], edi
fstp dword [esp + 0x3c]
fsub dword [esp + 0x68]
fstp dword [esp + 0x40]
fld dword [esp + 0x18]
fadd dword [esp + 0x68]
fstp dword [esp + 0x18]
fadd dword [esp + 0x68]
fstp dword [esp + 0x1c]
jle 0x50cc2c
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x10], edi
mov ecx, dword [esi + 0x4c]
fld dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edx]
lea ecx, [eax + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x34], edx
mov edx, dword [eax]
mov dword [esp + 0x24], edx
fcomp dword [esp + 0x24]
mov edx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 4]
fnstsw ax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
test ah, 5
jp 0x50cb08
fld dword [esp + 0x18]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 5
jnp 0x50cc15
fld dword [esp + 0x18]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 0x41
jne 0x50cb2a
fld dword [esp + 0x3c]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 0x41
je 0x50cc15
fld dword [esp + 0x40]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 5
jp 0x50cb4c
fld dword [esp + 0x1c]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 5
jnp 0x50cc15
fld dword [esp + 0x1c]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x50cb6e
fld dword [esp + 0x40]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 0x41
je 0x50cc15
fld dword [esp + 0x60]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x50cb90
fld dword [esp + 0x64]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jnp 0x50cc15
fld dword [esp + 0x64]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x50cbae
fld dword [esp + 0x60]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x41
je 0x50cc15
mov eax, dword [esi + 0x50]
mov ebx, dword [eax + edi*4]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
push ebx
call fcn.004ae750
test eax, eax
je 0x50cc15
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
test eax, eax
je 0x50cc15
mov eax, dword [esi]
push ebp
push ebx
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x50cc15
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push ebx
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esi + 0x50]
push edx
mov edx, dword [ecx + edi*4]
push eax
push edx
mov ecx, esi
call fcn.004bbe20
test eax, eax
je 0x50cc46
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x48]
inc edi
add ecx, 0x18
cmp edi, eax
mov dword [esp + 0x10], ecx
jl 0x50cab1
mov eax, 1
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 0x28
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + edi*4]
cmp dword [esp + 0x7c], 1
mov edi, dword [esp + 0x70]
mov dword [edi], ecx
jne 0x50cce7
test ebp, ebp
jne 0x50cc8f
push 0xc
call fcn.006fa7e6
add esp, 4
xor ecx, ecx
cmp eax, ecx
je 0x50cc7b
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], ecx
jmp 0x50cc7d
xor eax, eax
mov dword [esp + 0x50], 0xffffffff
mov ebp, eax
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esi]
push 1
push ebp
push ebx
push edi
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x18]
test ebp, ebp
mov esi, eax
je 0x50cce0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x50cce0
mov edx, dword [ebp]
push edx
call fcn.006fa390
push ebp
mov dword [ebp], 0
call fcn.006fa390
add esp, 8
mov eax, esi
jmp 0x50cc31
xor eax, eax
jmp 0x50cc31