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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b383b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
push esi
push edi
mov eax, dword [0x5fa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xb3], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov eax, dword [esi + 0xd0]
mov dword [esi + 0x9c], 0
mov dword [esi + 0xd4], 0
mov byte [eax], 0
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe0], 0
mov byte [eax], 0
mov eax, dword [esi + 0xe8]
mov dword [esi + 0xec], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x24]
mov byte [esi + 0xf4], 1
mov dword [esi + 0xf8], 0
mov byte [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x70], 0
mov word [edi + 0x74], 0
mov dword [edi + 0x80], 0
mov word [edi + 0x84], 0
mov dword [edi + 0x90], 0
mov word [edi + 0x94], 0
mov dword [edi + 0xa0], 0
mov word [edi + 0xa4], 0
mov dword [ebp - 0x18], eax
nop
cmp dword [edi + 0x34], 0
je 0x50c3da
push 0
push 0
push esi
mov ecx, edi
call fcn.0050b610
test eax, eax
jne 0x50c93d
push esi
mov ecx, edi
call fcn.0050a740
test eax, eax
jne 0x50c93d
cmp byte [edi + 0x11], 0
mov eax, dword [edi + 0x14]
je 0x50c90a
test eax, eax
jne 0x50c93b
add dword [ebp - 0x18], 1
mov cl, byte [esi + 0x18]
adc dword [ebp - 0x1c], eax
mov byte [ebp - 0x12], cl
cmp cl, 0x4c
je 0x50c630
cmp cl, 0x4b
je 0x50c630
cmp cl, 0x67
je 0x50c431
cmp cl, 0x78
je 0x50c431
cmp cl, 0x58
jne 0x50c6f2
cmp dword [esi + 0xc0], 0x200
jne 0x50c44a
cmp dword [esi + 0xc4], 0
mov byte [ebp - 0x11], 1
je 0x50c44e
mov byte [ebp - 0x11], 0
cmp cl, 0x67
mov eax, 0x98
mov ecx, 0x88
cmovne eax, ecx
mov ecx, edi
add eax, edi
push 0x4000000
push eax
push esi
mov dword [ebp - 0x24], eax
call fcn.0050b6b0
test eax, eax
jne 0x50c93d
cmp dword [edi + 0x14], eax
jne 0x50c93b
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 0x1ff
adc eax, 0
and ecx, 0xfffffe00
add dword [esi + 0xc0], ecx
adc eax, dword [esi + 0xc4]
mov dword [esi + 0xc4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
jne 0x50c4ca
mov edx, dword [ebp - 0x24]
cmp edx, dword [esi + 4]
jne 0x50c4ca
test ecx, ecx
je 0x50c4ca
cmp byte [eax + 0xc], dl
je 0x50c4d1
mov byte [esi + 0xab], 1
add dword [esi + 0xc8], 1
adc dword [esi + 0xcc], 0
cmp byte [ebp - 0x12], 0x67
je 0x50c4f9
lea eax, [esi + 0x30]
push eax
lea ecx, [esi + 0xd0]
call fcn.0046cb10
jmp 0x50c3c0
cmp byte [edi + 2], 0
je 0x50c503
mov byte [edi + 3], 1
lea ecx, [ebp - 0x158]
call fcn.0050c960
push 0
lea eax, [edi + 0x98]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x158]
call fcn.0050ba70
test al, al
je 0x50c54e
lea eax, [ebp - 0xd8]
push eax
lea ecx, [edi + 0x5c]
call fcn.0046cb10
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x50]
call fcn.0046cb10
mov byte [edi + 2], 1
jmp 0x50c552
mov byte [edi + 3], 1
cmp byte [ebp - 0x11], 0
je 0x50c5cc
cmp dword [esi + 0xc8], 1
jne 0x50c5cc
cmp dword [esi + 0xcc], 0
jne 0x50c5cc
cmp dword [ebp - 0x18], 1
jne 0x50c5cc
cmp dword [ebp - 0x1c], 0
jne 0x50c5cc
mov eax, dword [esi + 0xc0]
xorps xmm0, xmm0
add dword [esi + 0xb8], eax
mov eax, dword [esi + 0xc4]
adc dword [esi + 0xbc], eax
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [ebp - 0x18], eax
jmp 0x50c5d0
mov byte [edi + 3], 1
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0xcc]
call fcn.00588148
add esp, 4
push dword [ebp - 0xd8]
call fcn.00588148
add esp, 4
push dword [ebp - 0xe4]
call fcn.00588148
add esp, 4
push dword [ebp - 0xf0]
call fcn.00588148
add esp, 4
push dword [ebp - 0xfc]
call fcn.00588148
add esp, 4
push dword [ebp - 0x108]
call fcn.00588148
add esp, 4
jmp 0x50c3c0
cmp cl, 0x4c
mov eax, 0x68
mov ecx, 0x78
cmovne eax, ecx
mov ecx, edi
add eax, edi
push 0x4000
push eax
push esi
mov dword [ebp - 0x24], eax
call fcn.0050b6b0
test eax, eax
jne 0x50c93d
cmp dword [edi + 0x14], eax
jne 0x50c93b
cmp byte [ebp - 0x12], 0x4c
jne 0x50c67f
mov al, byte [esi + 0xb3]
mov byte [esi + 0xb4], al
mov byte [esi + 0xb3], 1
jmp 0x50c692
mov al, byte [esi + 0xb5]
mov byte [esi + 0xb6], al
mov byte [esi + 0xb5], 1
mov edx, dword [ebp - 0x24]
cmp byte [edx + 0xd], 0
jne 0x50c6a2
mov dword [edx + 8], 0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 0x1ff
adc eax, 0
and ecx, 0xfffffe00
add dword [esi + 0xc0], ecx
adc dword [esi + 0xc4], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x50c6d5
inc eax
xor ecx, ecx
cmp eax, dword [esi]
jne 0x50c6d5
cmp ecx, dword [esi + 4]
je 0x50c6dc
mov byte [esi + 0xa8], 1
cmp byte [edx + 0xc], 0
je 0x50c3c0
mov byte [esi + 0xa8], 1
jmp 0x50c3c0
cmp byte [esi + 0xb3], 0
je 0x50c721
cmp dword [edi + 0x70], 0
je 0x50c721
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x30]
mov dword [ecx + 4], 0
mov byte [eax], 0
mov eax, dword [edi + 0x70]
test eax, eax
je 0x50c721
push eax
push dword [edi + 0x68]
call fcn.0046cbf0
cmp byte [esi + 0xb5], 0
je 0x50c74d
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0x3c]
mov dword [ecx + 4], 0
mov byte [eax], 0
mov eax, dword [edi + 0x80]
test eax, eax
je 0x50c74d
push eax
push dword [edi + 0x78]
call fcn.0046cbf0
cmp dword [edi + 0x90], 0
mov dword [edi + 0x14], 0
je 0x50c93b
lea ecx, [ebp - 0xc0]
call fcn.0050c960
push 1
lea eax, [edi + 0x88]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0xc0]
call fcn.0050ba70
test al, al
je 0x50c8bf
cmp byte [ebp - 0x8a], 0
je 0x50c7ab
lea eax, [ebp - 0x70]
push eax
lea ecx, [esi + 0x30]
call fcn.0046cb10
mov byte [esi + 0xad], 1
cmp byte [ebp - 0x89], 0
je 0x50c7c7
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x3c]
call fcn.0046cb10
mov byte [esi + 0xae], 1
cmp byte [ebp - 0x88], 0
je 0x50c7dc
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 0x48]
call fcn.0046cb10
cmp byte [ebp - 0x87], 0
je 0x50c7f1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 0x54]
call fcn.0046cb10
cmp byte [ebp - 0x86], 0
je 0x50c809
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0xe8]
call fcn.0046cb10
cmp byte [ebp - 0x8c], 0
je 0x50c818
mov eax, dword [ebp - 0x78]
mov dword [esi + 0x20], eax
cmp byte [ebp - 0x8b], 0
je 0x50c827
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x24], eax
cmp byte [ebp - 0x8d], 0
je 0x50c863
mov edi, dword [esi + 8]
mov eax, edi
mov edx, dword [esi + 0xc]
or eax, edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
je 0x50c851
cmp edi, ecx
jne 0x50c84a
cmp edx, eax
je 0x50c851
mov byte [esi + 0xab], 1
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov dword [esi], ecx
mov dword [esi + 4], eax
mov byte [esi + 0xaf], 1
movups xmm0, xmmword [ebp - 0xc0]
lea eax, [ebp - 0x40]
push eax
movups xmmword [esi + 0x68], xmm0
lea ecx, [esi + 0xdc]
movups xmm0, xmmword [ebp - 0xb0]
movups xmmword [esi + 0x78], xmm0
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [esi + 0x88], xmm0
call fcn.0046cb10
cmp byte [ebp - 0x8e], 0
je 0x50c8a6
mov byte [esi + 0xac], 1
cmp byte [ebp - 0x8f], 0
je 0x50c8b6
mov byte [esi + 0xab], 1
cmp byte [ebp - 0x90], 0
je 0x50c8c6
mov byte [esi + 0xab], 1
push dword [ebp - 0x34]
call fcn.00588148
add esp, 4
push dword [ebp - 0x40]
call fcn.00588148
add esp, 4
push dword [ebp - 0x4c]
call fcn.00588148
add esp, 4
push dword [ebp - 0x58]
call fcn.00588148
add esp, 4
push dword [ebp - 0x64]
call fcn.00588148
add esp, 4
push dword [ebp - 0x70]
call fcn.00588148
add esp, 4
jmp 0x50c93b
test eax, eax
jne 0x50c93b
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x1c]
jne 0x50c934
cmp byte [esi + 0xb3], al
jne 0x50c934
cmp byte [esi + 0xb5], al
jne 0x50c934
mov eax, dword [esi + 0xc8]
or eax, dword [esi + 0xcc]
je 0x50c93b
mov dword [edi + 0x14], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4