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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
lea esi, [ecx + 4]
mov ecx, ebx
push edi
mov dword [ebp - 0x1c], esi
call fcn.0044ccd0
push eax
mov ecx, esi
call fcn.0044e260
mov edx, eax
lea edi, [ebx + 0x110]
mov dword [ebp - 4], edx
mov esi, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], edi
test edx, edx
je 0x50bce1
mov ecx, dword [edi]
cmp ecx, 2
jne 0x50b96b
mov eax, dword [ebx + 0x11c]
xor ecx, ecx
mov edx, dword [edx + 0x11c]
cmp byte [eax + 8], cl
sete cl
xor esi, esi
cmp byte [edx + 8], 0
mov edx, dword [ebp - 4]
cmove esi, ecx
jmp 0x50bcc0
cmp ecx, 0xe
jne 0x50b995
mov eax, dword [ebx + 0x11c]
xor ecx, ecx
mov edx, dword [edx + 0x11c]
cmp byte [eax + 0xc], cl
sete cl
xor esi, esi
cmp byte [edx + 0xc], 0
mov edx, dword [ebp - 4]
cmove esi, ecx
jmp 0x50bcc0
cmp ecx, 1
jne 0x50bb34
mov ebx, dword [ebx + 0x11c]
xor ecx, ecx
mov esi, dword [edx + 0x11c]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, dword [ebx]
cmp eax, dword [esi]
mov edx, dword [esi + 4]
movss xmm0, dword [ebx + 8]
sete cl
xor eax, eax
cmp dword [ebx + 4], edx
cmove eax, ecx
ucomiss xmm0, dword [esi + 8]
mov dword [ebp - 0x10], eax
lahf
test ah, 0x44
jnp 0x50b9dd
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov ebx, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
mov esi, dword [esi + 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
cmove ecx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ebx + 0x14], edx
cmove eax, ecx
xor ecx, ecx
cmp dword [ebx + 0x18], esi
cmove ecx, eax
xor eax, eax
cmp dword [ebx + 0x1c], edi
mov edi, dword [ebp - 8]
cmove eax, ecx
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
cmp dword [edi + 0x20], ebx
mov ebx, dword [ebp - 0xc]
cmove ecx, eax
xor eax, eax
mov edx, dword [ebx + 0x24]
cmp dword [edi + 0x24], edx
mov edx, dword [ebx + 0x28]
cmove eax, ecx
mov esi, dword [ebx + 0x34]
xor ecx, ecx
cmp dword [edi + 0x28], edx
mov edx, dword [ebx + 0x2c]
cmove ecx, eax
xor eax, eax
cmp dword [edi + 0x2c], edx
mov edx, dword [edi + 0x30]
cmove eax, ecx
xor ecx, ecx
cmp edx, dword [ebx + 0x30]
cmove ecx, eax
xor eax, eax
cmp edx, esi
mov edx, dword [ebx + 0x38]
cmove eax, ecx
xor ecx, ecx
cmp dword [edi + 0x38], edx
mov edx, dword [ebx + 0x3c]
cmove ecx, eax
xor eax, eax
cmp dword [edi + 0x3c], edx
mov edx, dword [ebx + 0x40]
cmove eax, ecx
xor ecx, ecx
cmp dword [edi + 0x34], esi
cmove ecx, eax
xor eax, eax
cmp dword [edi + 0x40], edx
mov edx, dword [ebx + 0x44]
cmove eax, ecx
xor ecx, ecx
cmp dword [edi + 0x44], edx
mov edx, dword [ebx + 0x48]
cmove ecx, eax
xor eax, eax
cmp dword [edi + 0x48], edx
mov edx, dword [ebx + 0x4c]
cmove eax, ecx
xor ecx, ecx
cmp dword [edi + 0x4c], edx
mov edx, dword [ebx + 0x50]
cmove ecx, eax
xor eax, eax
cmp dword [edi + 0x50], edx
mov edx, dword [ebx + 0x54]
cmove eax, ecx
xor ecx, ecx
cmp dword [edi + 0x54], edx
mov edx, dword [ebx + 0x58]
cmove ecx, eax
xor eax, eax
cmp dword [edi + 0x58], edx
mov edx, dword [ebx + 0x5c]
cmove eax, ecx
xor ecx, ecx
cmp dword [edi + 0x5c], edx
mov edx, dword [ebx + 0x60]
cmove ecx, eax
xor eax, eax
cmp dword [edi + 0x60], edx
mov edx, dword [ebx + 0x64]
cmove eax, ecx
xor ecx, ecx
cmp dword [edi + 0x64], edx
mov edx, dword [ebx + 0x68]
cmove ecx, eax
xor eax, eax
cmp dword [edi + 0x68], edx
mov edx, dword [ebx + 0x6c]
cmove eax, ecx
xor ecx, ecx
cmp dword [edi + 0x6c], edx
mov edx, dword [ebx + 0x70]
cmove ecx, eax
xor eax, eax
cmp dword [edi + 0x70], edx
mov edx, dword [ebx + 0x74]
cmove eax, ecx
xor ecx, ecx
cmp dword [edi + 0x74], edx
mov edx, dword [ebp - 4]
cmove ecx, eax
mov eax, dword [ebx + 0x78]
mov ebx, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x78], eax
mov edi, dword [ebp - 0x18]
cmove esi, ecx
jmp 0x50bcc0
cmp ecx, 0xa
jne 0x50bb65
mov edi, dword [ebx + 0x11c]
mov ecx, dword [edx + 0x11c]
mov eax, dword [edi + 8]
mov esi, dword [ecx + 8]
cmp eax, esi
jge 0x50bb54
mov dword [edi + 8], esi
mov eax, esi
cmp dword [ecx + 8], eax
jge 0x50bcc4
mov dword [ecx + 8], eax
jmp 0x50bcc4
cmp ecx, 9
jne 0x50bb83
mov dword [ebx + 0x10c], 0x447a0000
mov dword [edx + 0x10c], 0x447a0000
jmp 0x50bcc4
cmp ecx, 4
jne 0x50bbb4
mov eax, dword [ebx + 0x11c]
cvttss2si eax, dword [eax + 0xc]
movd xmm0, dword [eax*4 + 0x60d3b4]
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x10c], xmm0
movss dword [edx + 0x10c], xmm0
jmp 0x50bcc4
cmp ecx, 0xd
jne 0x50bc3f
mov ecx, dword [ebx + 0x11c]
mov edx, dword [edx + 0x11c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
movss xmm0, dword [ecx]
ucomiss xmm0, dword [edx]
lahf
test ah, 0x44
jnp 0x50bbe3
mov dword [ebp - 0xc], 0
movss xmm0, dword [ecx + 4]
ucomiss xmm0, dword [edx + 4]
lahf
test ah, 0x44
jnp 0x50bbf9
mov dword [ebp - 0xc], 0
mov eax, dword [ecx + 0x14]
xor ecx, ecx
mov ebx, dword [ebp - 0x18]
mov edi, dword [edx + 0xc]
mov esi, dword [edx + 0x1c]
mov edx, dword [edx + 0x18]
cmp eax, dword [ebx + 0x14]
mov ebx, dword [ebp - 0x10]
cmove ecx, dword [ebp - 0xc]
xor eax, eax
cmp dword [ebx + 0x18], edx
mov edx, ebx
mov ebx, dword [ebp + 8]
cmove eax, ecx
xor ecx, ecx
cmp dword [edx + 0x1c], esi
cmove ecx, eax
xor esi, esi
cmp dword [edx + 0xc], edi
lea edi, [ebx + 0x110]
mov edx, dword [ebp - 4]
cmove esi, ecx
jmp 0x50bcc0
cmp ecx, 0x12
je 0x50bce1
cmp ecx, 0x13
je 0x50bcc4
cmp ecx, 0x11
jne 0x50bcbb
mov edi, dword [edx + 0x11c]
xor ecx, ecx
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x18], edi
mov edx, dword [edi + 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [edi + 4]
mov esi, dword [edi + 0x10]
mov edi, dword [ebx + 0x11c]
sete cl
xor eax, eax
cmp dword [edi + 0xc], edx
cmove eax, ecx
mov ecx, edi
xor edx, edx
lea edi, [ebx + 0x110]
cmp dword [ecx + 0x10], esi
movss xmm0, dword [ecx + 8]
cmove edx, eax
mov dword [ebp + 8], edx
mov edx, dword [ebp - 0x18]
ucomiss xmm0, dword [edx + 8]
lahf
test ah, 0x44
jnp 0x50bcac
mov dword [ebp + 8], 0
mov eax, dword [ecx]
xor esi, esi
cmp eax, dword [edx]
mov edx, dword [ebp - 4]
cmove esi, dword [ebp + 8]
jmp 0x50bcc0
cmp ecx, 0x15
je 0x50bce1
test esi, esi
je 0x50bce1
mov eax, dword [ebx + 0x118]
mov ecx, ebx
add dword [edx + 0x118], eax
mov eax, dword [ebx]
push 1
call dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [edi]
or eax, 0xffffffff
mov edi, dword [ebp - 0x1c]
cmp esi, 0xa
mov ecx, edi
cmove esi, eax
call fcn.0044e330
test eax, eax
je 0x50bd33
nop word [eax + eax]
mov ecx, dword [eax + 0x110]
mov edx, 0xffffffff
cmp ecx, 0xa
cmove ecx, edx
cmp ecx, esi
jl 0x50bd44
jne 0x50bd28
movss xmm0, dword [ebx + 0x10c]
comiss xmm0, dword [eax + 0x10c]
ja 0x50bd44
mov ecx, edi
call fcn.0044e3e0
test eax, eax
jne 0x50bd00
push ebx
mov ecx, edi
call fcn.0044e180
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
push ebx
mov ecx, edi
call fcn.0044e0f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4