Function at 0x50c3a0
Capabilities:
Access peb ldr_data

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 0x554bc5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x5bd200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x9c], esi
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x50c408
mov edx, dword [edi + 0x230]
jmp 0x50c433
cmp eax, 0xffffffff
jne 0x50c410
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x50c431
cmp eax, 1
jl 0x50c431
cmp eax, dword [edi + 0x40]
jg 0x50c431
lea eax, [eax + eax*8]
cmp dword [edx + eax*8 + 0xc], 0
je 0x50c431
mov edx, dword [edx + eax*8 + 4]
jmp 0x50c433
xor edx, edx
mov eax, dword [esi + 0x44]
mov dword [ebp - 0xa4], edx
test eax, eax
jne 0x50c44e
mov esi, dword [edi + 0x230]
mov dword [ebp - 0xa0], esi
jmp 0x50c487
cmp eax, 0xffffffff
jne 0x50c456
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x50c47d
cmp eax, 1
jl 0x50c47d
cmp eax, dword [edi + 0x40]
jg 0x50c47d
lea eax, [eax + eax*8]
cmp dword [ecx + eax*8 + 0xc], 0
je 0x50c47d
mov esi, dword [ecx + eax*8 + 4]
mov dword [ebp - 0xa0], esi
jmp 0x50c487
mov dword [ebp - 0xa0], 0
push 0
push 0
push 0x1004
push edx
call dword [0x55657c]
test eax, eax
je 0x50c4cf
lea esi, [eax - 1]
test esi, esi
js 0x50c4cf
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push esi
push dword [eax + 0x30]
call fcn.0043aa90
cmp eax, 1
jne 0x50c4ca
mov eax, dword [ebp - 0x9c]
push ecx
push esi
mov ecx, edi
push dword [eax + 0x30]
call fcn.0043a770
sub esi, 1
jns 0x50c4a2
push 0
push 0
push 0x1004
push dword [ebp - 0xa0]
call dword [0x55657c]
test eax, eax
je 0x50c51d
lea esi, [eax - 1]
test esi, esi
js 0x50c51d
nop
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push esi
push dword [eax + 0x44]
call fcn.0043aa90
cmp eax, 1
jne 0x50c518
mov eax, dword [ebp - 0x9c]
push ecx
push esi
mov ecx, edi
push dword [eax + 0x44]
call fcn.0043a770
sub esi, 1
jns 0x50c4f0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x24], 1
mov dword [ebp - 4], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x18], 1
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push dword [ebx + 0x10]
call fcn.0050c9b0
test eax, eax
je 0x50c95d
mov eax, dword [ebp - 0x2c]
xorps xmm0, xmm0
movq qword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x5c], xmm0
test eax, eax
jne 0x50c5b0
push 2
call fcn.0053905f
add esp, 4
mov dword [ebp - 0x2c], eax
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x48], 1
push 0
push 0x5770d0
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00408cb0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov eax, dword [ebp - 0x20]
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x44], xmm0
test eax, eax
jne 0x50c61e
push 2
call fcn.0053905f
add esp, 4
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x18], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x30], 1
push 0
push 0x5770d0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.00408cb0
mov byte [ebp - 4], 7
xor edi, edi
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x50c728
nop
test esi, esi
je 0x50c71f
cmp edi, esi
jb 0x50c691
lea ecx, [esi - 1]
cmp esi, ecx
ja 0x50c689
lea esi, [ecx + 1]
mov dword [ebp - 0x5c], esi
mov edx, dword [ebp - 0x54]
mov ecx, dword [edx + ecx*4]
jmp 0x50c697
mov edx, dword [ebp - 0x54]
mov ecx, dword [edx + edi*4]
test ecx, ecx
je 0x50c71f
xor eax, eax
cmp word [ecx], ax
je 0x50c71f
inc eax
cmp word [ecx + eax*2], 0
jne 0x50c6a6
test eax, eax
je 0x50c71f
test esi, esi
jne 0x50c6ba
xor eax, eax
jmp 0x50c6d3
cmp edi, esi
jb 0x50c6d0
lea eax, [esi - 1]
cmp esi, eax
ja 0x50c6cb
lea esi, [eax + 1]
mov dword [ebp - 0x5c], esi
mov eax, dword [edx + eax*4]
jmp 0x50c6d3
mov eax, dword [edx + edi*4]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x98]
push eax
push 0
push 0x104d
push dword [ebp - 0xa4]
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x98], 0x103
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x94], 0x2710
mov dword [ebp - 0x90], 0
call dword [0x55657c]
inc edi
cmp edi, esi
jb 0x50c670
mov esi, dword [ebp - 0x44]
xor edi, edi
test esi, esi
je 0x50c7f2
test esi, esi
je 0x50c7e9
cmp edi, esi
jb 0x50c756
lea ecx, [esi - 1]
cmp esi, ecx
ja 0x50c74e
lea esi, [ecx + 1]
mov dword [ebp - 0x44], esi
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx + ecx*4]
jmp 0x50c75c
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx + edi*4]
test ecx, ecx
je 0x50c7e9
xor eax, eax
cmp word [ecx], ax
je 0x50c7e9
nop dword [eax + eax]
inc eax
cmp word [ecx + eax*2], 0
jne 0x50c770
test eax, eax
je 0x50c7e9
test esi, esi
jne 0x50c784
xor eax, eax
jmp 0x50c79d
cmp edi, esi
jb 0x50c79a
lea eax, [esi - 1]
cmp esi, eax
ja 0x50c795
lea esi, [eax + 1]
mov dword [ebp - 0x44], esi
mov eax, dword [edx + eax*4]
jmp 0x50c79d
mov eax, dword [edx + edi*4]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x98]
push eax
push 0
push 0x104d
push dword [ebp - 0xa0]
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x98], 0x103
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x94], 0x2710
mov dword [ebp - 0x90], 0
call dword [0x55657c]
inc edi
cmp edi, esi
jb 0x50c735
mov edi, dword [ebp - 0x9c]
mov esi, dword [ebp - 0xa8]
mov eax, dword [edi + 0x30]
cmp eax, 0xffffffff
jne 0x50c809
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x50c843
cmp eax, 1
jl 0x50c843
cmp eax, dword [esi + 0x40]
jg 0x50c843
lea eax, [eax + eax*8]
cmp dword [ecx + eax*8 + 0xc], 0
lea eax, [ecx + eax*8]
je 0x50c843
cmp dword [eax], 0xf
jne 0x50c843
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 4]
call dword [0x55657c]
mov ecx, dword [esi + 0x3c]
jmp 0x50c846
or eax, 0xffffffff
test eax, eax
js 0x50c87a
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x88], 3
push ecx
push eax
push 0x102b
push dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0
call dword [0x55657c]
mov ecx, dword [esi + 0x3c]
mov eax, dword [edi + 0x44]
cmp eax, 0xffffffff
jne 0x50c885
mov eax, dword [esi + 0x40]
test ecx, ecx
je 0x50c8b9
cmp eax, 1
jl 0x50c8b9
cmp eax, dword [esi + 0x40]
jg 0x50c8b9
lea eax, [eax + eax*8]
cmp dword [ecx + eax*8 + 0xc], 0
lea eax, [ecx + eax*8]
je 0x50c8b9
cmp dword [eax], 0xf
jne 0x50c8b9
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 4]
call dword [0x55657c]
jmp 0x50c8bc
or eax, 0xffffffff
test eax, eax
js 0x50c8ed
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x88], 3
push ecx
push eax
push 0x102b
push dword [ebp - 0xa0]
mov dword [ebp - 0x8c], 0
call dword [0x55657c]
push 0x40
push dword [edi + 0x34]
mov ecx, esi
call fcn.00438420
push 0x40
push dword [edi + 0x38]
mov ecx, esi
call fcn.00438420
push 0x40
push dword [edi + 0x48]
mov ecx, esi
call fcn.00438420
push 0x40
push dword [edi + 0x4c]
mov ecx, esi
call fcn.00438420
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x50c92d
push eax
call fcn.00538a53
add esp, 4
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x50c93d
push eax
call fcn.00538a53
add esp, 4
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x50c94d
push eax
call fcn.00538a53
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x50c95d
push eax
call fcn.00538a53
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x50c96d
push eax
call fcn.00538a53
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x50c97d
push eax
call fcn.00538a53
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00538a45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc