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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
mov ecx, ebx
mov dword [ebp - 0x10], eax
lea edi, [eax + 4]
call fcn.0044cd20
push eax
mov ecx, edi
call fcn.0044e2a0
mov edx, eax
lea ecx, [ebx + 0x110]
mov dword [ebp - 4], edx
mov esi, 1
mov dword [ebp - 0xc], esi
test edx, edx
je 0x50c1b3
mov ecx, dword [ecx]
cmp ecx, 2
jne 0x50bfe4
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
jmp 0x50c199
cmp ecx, 0xe
jne 0x50c008
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
jmp 0x50c199
cmp ecx, 1
jne 0x50c222
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 - 0x14], eax
lahf
test ah, 0x44
jnp 0x50c050
mov dword [ebp - 0x14], 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 - 0x18], 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 - 0x14]
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 - 0x18]
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
cmove ecx, eax
mov eax, dword [ebx + 0x78]
xor esi, esi
cmp dword [edi + 0x78], eax
mov ebx, dword [ebp + 8]
cmove esi, ecx
mov edx, dword [ebp - 4]
lea ecx, [ebx + 0x110]
test esi, esi
jne 0x50c24a
mov edi, dword [ebp - 0x10]
add edi, 4
mov esi, dword [ecx]
or eax, 0xffffffff
cmp esi, 0xa
mov ecx, edi
cmove esi, eax
call fcn.0044e370
test eax, eax
je 0x50c211
nop dword [eax]
mov ecx, dword [eax + 0x110]
mov edx, 0xffffffff
cmp ecx, 0xa
cmove ecx, edx
cmp ecx, esi
jl 0x50c3b1
jne 0x50c200
movss xmm0, dword [ebx + 0x10c]
comiss xmm0, dword [eax + 0x10c]
ja 0x50c3b1
mov ecx, edi
call fcn.0044e420
test eax, eax
jne 0x50c1d0
mov edi, dword [ebp - 0x10]
add edi, 4
push ebx
mov ecx, edi
call fcn.0044e1c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0xa
jne 0x50c267
mov edi, dword [ebx + 0x11c]
mov ecx, dword [edx + 0x11c]
mov eax, dword [edi + 8]
mov esi, dword [ecx + 8]
cmp eax, esi
jge 0x50c242
mov dword [edi + 8], esi
mov eax, esi
cmp dword [ecx + 8], eax
jge 0x50c24a
mov dword [ecx + 8], eax
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
cmp ecx, 9
jne 0x50c282
mov dword [ebx + 0x10c], 0x447a0000
mov dword [edx + 0x10c], 0x447a0000
jmp 0x50c24a
cmp ecx, 4
jne 0x50c2b0
mov eax, dword [ebx + 0x11c]
cvttss2si eax, dword [eax + 0xc]
movd xmm0, dword [eax*4 + 0x6113b8]
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x10c], xmm0
movss dword [edx + 0x10c], xmm0
jmp 0x50c24a
cmp ecx, 0xd
jne 0x50c328
mov ecx, dword [ebx + 0x11c]
mov edx, dword [edx + 0x11c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
movss xmm0, dword [ecx]
ucomiss xmm0, dword [edx]
lahf
test ah, 0x44
jnp 0x50c2db
mov dword [ebp - 0xc], 0
movss xmm0, dword [ecx + 4]
ucomiss xmm0, dword [edx + 4]
lahf
test ah, 0x44
jnp 0x50c2f1
mov dword [ebp - 0xc], 0
mov eax, dword [ecx + 0x14]
xor ecx, ecx
mov ebx, dword [ebp - 0x18]
mov esi, dword [edx + 0x1c]
mov edi, dword [edx + 0xc]
mov edx, dword [edx + 0x18]
cmp eax, dword [ebx + 0x14]
mov ebx, dword [ebp - 0x14]
cmove ecx, dword [ebp - 0xc]
xor eax, eax
cmp dword [ebx + 0x18], edx
mov edx, ebx
cmove eax, ecx
xor ecx, ecx
cmp dword [edx + 0x1c], esi
cmove ecx, eax
xor esi, esi
cmp dword [edx + 0xc], edi
jmp 0x50c196
cmp ecx, 0x12
jne 0x50c338
lea ecx, [ebx + 0x110]
jmp 0x50c1ad
cmp ecx, 0x13
je 0x50c24a
cmp ecx, 0x11
jne 0x50c39d
mov eax, dword [edx + 0x11c]
xor ecx, ecx
mov edi, dword [ebx + 0x11c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 4]
movss xmm0, dword [edi + 8]
sete cl
xor eax, eax
cmp dword [edi + 0xc], edx
cmove eax, ecx
xor edx, edx
cmp dword [edi + 0x10], esi
mov ecx, ebx
mov ebx, dword [ebp + 8]
cmove edx, eax
ucomiss xmm0, dword [ecx + 8]
lahf
test ah, 0x44
jnp 0x50c38f
xor edx, edx
mov eax, dword [edi]
xor esi, esi
cmp eax, dword [ecx]
cmove esi, edx
jmp 0x50c19c
cmp ecx, 0x15
jne 0x50c19f
lea ecx, [ebx + 0x110]
jmp 0x50c1ad
mov ecx, dword [ebp - 0x10]
push eax
push ebx
lea ecx, [ecx + 4]
call fcn.0044e130
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4