Function at 0x50c620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59b3f9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x615720]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x615720]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], ecx
inc esi
mov dword [esp + 0x48], 0
mov edx, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], edx
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov al, byte [esi]
mov byte [esp + 0x13], al
cmp al, 0x5c
jne 0x50c7fb
mov al, byte [esi + 1]
mov ecx, esi
sub ecx, dword [esp + 0xc]
inc esi
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], esi
mov al, byte [eax + 0x5f91b0]
mov byte [esp + 0x1b], al
test al, al
je 0x50c6fa
mov eax, dword [edx + 0xc]
inc esi
inc eax
mov dword [esp + 0x2c], esi
cmp eax, dword [edx + 0x10]
jbe 0x50c6e0
push 1
mov ecx, edx
call fcn.0050bbd0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0xc]
lea eax, [ecx + 1]
mov dword [edx + 0xc], eax
mov al, byte [esp + 0x1b]
mov byte [ecx], al
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
inc eax
jmp 0x50c688
cmp byte [esp + 0x13], 0x75
jne 0x50c7e2
push ecx
lea eax, [esp + 0x30]
inc esi
push eax
mov ecx, edi
mov dword [esp + 0x34], esi
call fcn.0050d410
cmp dword [edi + 0x18], 0
mov ecx, eax
jne 0x50c91b
lea eax, [ecx - 0xd800]
mov dword [esp + 0xc], eax
cmp eax, 0x3ff
ja 0x50c7bb
mov esi, dword [esp + 0x2c]
cmp byte [esi], 0x5c
jne 0x50c752
inc esi
mov dword [esp + 0x2c], esi
cmp byte [esi], 0x75
jne 0x50c752
inc esi
mov dword [esp + 0x2c], esi
jmp 0x50c76a
mov eax, dword [esp + 0x24]
mov dword [edi + 0x18], 9
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x18], 0
jne 0x50c930
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push esi
push eax
mov ecx, edi
call fcn.0050d410
cmp dword [edi + 0x18], 0
jne 0x50c91b
cmp eax, 0xdc00
jb 0x50c793
cmp eax, 0xdfff
jbe 0x50c7a7
mov dword [edi + 0x18], 9
mov dword [edi + 0x1c], esi
cmp dword [edi + 0x18], 0
jne 0x50c91b
mov ecx, dword [esp + 0xc]
add eax, 0xffff2400
shl ecx, 0xa
or ecx, eax
add ecx, 0x10000
push ecx
lea eax, [esp + 0x20]
push eax
call fcn.0050d480
mov ecx, dword [esp + 0x38]
add esp, 8
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
jmp 0x50c68c
mov dword [edi + 0x18], 0xa
mov dword [edi + 0x1c], ecx
cmp dword [edi + 0x18], 0
jne 0x50c82b
mov ecx, dword [esp + 0xc]
jmp 0x50c690
cmp al, 0x22
je 0x50c941
cmp al, 0x20
jae 0x50c8e3
test al, al
mov eax, esi
jne 0x50c8d5
sub eax, ecx
mov dword [edi + 0x18], 0xb
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x18], 0
je 0x50c690
mov eax, dword [esp + 0x14]
cmp dword [edi + 0x18], 0
jne 0x50c8a9
sub dword [edx + 0xc], eax
lea ecx, [eax - 1]
cmp byte [ebp + 0x10], 0
mov edx, dword [edx + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
je 0x50c972
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x24]
add eax, 0x10
cmp eax, dword [edi + 0x28]
jbe 0x50c86d
push 1
lea ecx, [edi + 0x18]
call fcn.0050c440
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 0x10]
mov dword [edi + 0x24], eax
mov byte [esp + 0x48], 3
test ecx, ecx
je 0x50c8a9
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
mov eax, dword [eax + 0x10]
push eax
sub esp, 8
mov eax, esp
movdqu xmmword [ecx], xmm0
mov dword [eax], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
call fcn.00509fe0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0055dcfd
mov esp, ebp
pop ebp
ret 0xc
sub eax, ecx
mov dword [edi + 0x18], 0xa
jmp 0x50c81e
mov eax, dword [edx + 0xc]
inc esi
inc eax
mov dword [esp + 0x2c], esi
cmp eax, dword [edx + 0x10]
jbe 0x50c8fe
push 1
mov ecx, edx
call fcn.0050bbd0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0xc]
lea eax, [ecx + 1]
mov dword [edx + 0xc], eax
mov al, byte [esp + 0x13]
mov byte [ecx], al
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
inc eax
jmp 0x50c688
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
jmp 0x50c82b
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
jmp 0x50c82b
mov eax, dword [edx + 0xc]
inc esi
inc eax
mov dword [esp + 0x2c], esi
cmp eax, dword [edx + 0x10]
jbe 0x50c95c
push 1
mov ecx, edx
call fcn.0050bbd0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0xc]
lea eax, [ecx + 1]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x14]
mov byte [ecx], 0
inc eax
jmp 0x50c82f
push 1
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.0050b4f0
test al, al
jne 0x50c8a9
mov ecx, dword [esp + 0xc]
mov eax, esi
sub eax, ecx
mov dword [edi + 0x18], 0x10
mov dword [edi + 0x1c], eax
jmp 0x50c8ad