Function at 0x50c430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x652ace
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.00644a4c
xor ebx, ebx
lea ecx, [esi + 0x16c]
mov dword [esp + 0x30], ebx
lea ebp, [esi + 0x12c]
call fcn.00643d62
push ebx
lea ecx, [esi + 0x178]
mov byte [esp + 0x34], 1
call fcn.0052b820
lea ecx, [esi + 0x1f0]
mov byte [esp + 0x30], 2
call fcn.00643cea
push ebx
lea ecx, [esi + 0x20c]
mov byte [esp + 0x34], 3
call fcn.0052b820
push ebx
lea ecx, [esi + 0x27c]
mov byte [esp + 0x34], 4
call fcn.0052b820
push ebx
lea ecx, [esi + 0x2ec]
mov byte [esp + 0x34], 5
call fcn.0052b820
push ebx
lea ecx, [esi + 0x35c]
mov byte [esp + 0x34], 6
call fcn.0052b820
push ebx
lea ecx, [esi + 0x3cc]
mov byte [esp + 0x34], 7
call fcn.0052b820
push ebx
lea ecx, [esi + 0x43c]
mov byte [esp + 0x34], 8
call fcn.0052b820
push fcn.0052b930
push 0x415bd0
push 0xa
lea eax, [esi + 0x4ac]
push 0x70
push eax
mov byte [esp + 0x44], 9
call fcn.0064519d
lea edx, [esi + 0x11c]
xor ecx, ecx
mov dword [esi], 0x66fa88
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x208], ebx
mov dword [esi + 0x204], 0x12
mov dword [edx], ecx
mov byte [esp + 0x30], 0xa
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, 6
xor eax, eax
lea edi, [esi + 0xa4]
rep stosd dword es:[edi], eax
push 0x6ba744
lea ecx, [esi + 0x16c]
call fcn.006440b6
call fcn.00643d14
mov eax, dword [eax + 0xc]
mov edi, dword [0x82678c]
mov dword [esp + 0x10], eax
call fcn.00643d14
lea ecx, [esp + 0x18]
push 0x6ba724
push ecx
mov ecx, 0x898828
mov dword [eax + 0xc], edi
call fcn.00511c30
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edi, dword [fcn.0065f4dc]
push edx
push eax
push ebx
push ebx
push ebp
call edi
lea ecx, [esp + 0x20]
push 0x6ba704
push ecx
mov ecx, 0x898828
call fcn.00511c30
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp]
mov dword [esp + 0x1c], edx
push edx
lea edx, [eax - 2]
sub eax, ecx
push edx
sub eax, 2
lea ebp, [esi + 0x13c]
push ebx
push eax
push ebp
call edi
lea eax, [esp + 0x20]
push 0x6ba6e8
push eax
mov ecx, 0x898828
call fcn.00511c30
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp]
mov dword [esp + 0x1c], edx
push edx
lea edx, [eax - 2]
sub eax, ecx
push edx
sub eax, 2
lea ebp, [esi + 0x14c]
push ebx
push eax
push ebp
call edi
cmp dword [0x6e6cf1], ebx
jne 0x50c674
lea eax, [esi + 0xfc]
push eax
call dword [fcn.0065f600]
lea ecx, [esi + 0x10c]
push ecx
call dword [fcn.0065f600]
cmp dword [0x6e6cf1], ebx
je 0x50c78e
cmp dword [0x6e6cf9], ebx
je 0x50c78e
cmp dword [0x6e6cf5], ebx
je 0x50c71b
lea edx, [esp + 0x20]
push 0x6ba6d0
push edx
mov ecx, 0x898828
call fcn.00511c30
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
cmp ecx, ebx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
jne 0x50c6b7
mov dword [0x6e6cf5], ebx
mov eax, dword [ebp]
push edx
lea ebp, [esi + 0x10c]
lea edx, [eax - 2]
sub eax, ecx
push edx
sub eax, 2
push ebx
push eax
push ebp
call edi
lea eax, [esp + 0x20]
push 0x6ba6b8
push eax
mov ecx, 0x898828
call fcn.00511c30
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
cmp ecx, ebx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
jne 0x50c6fa
mov dword [0x6e6cf1], ebx
mov eax, dword [ebp]
push edx
lea ebp, [esi + 0xfc]
lea edx, [eax - 1]
sub eax, ecx
push edx
dec eax
push ebx
push eax
push ebp
call edi
push 0x6ba6a0
lea eax, [esp + 0x24]
jmp 0x50c767
lea eax, [esp + 0x20]
push 0x6ba6b8
push eax
mov ecx, 0x898828
call fcn.00511c30
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
cmp ecx, ebx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
jne 0x50c746
mov dword [0x6e6cf1], ebx
mov eax, dword [ebp]
push edx
lea ebp, [esi + 0xfc]
lea edx, [eax - 2]
sub eax, ecx
push edx
sub eax, 2
push ebx
push eax
push ebp
call edi
push 0x6ba6a0
lea eax, [esp + 0x24]
push eax
mov ecx, 0x898828
call fcn.00511c30
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp]
mov dword [esp + 0x1c], edx
push edx
lea edx, [eax - 1]
sub eax, ecx
push edx
dec eax
push ebx
push eax
jmp 0x50c7c0
lea eax, [esp + 0x20]
push 0x6ba6a0
push eax
mov ecx, 0x898828
call fcn.00511c30
mov ebp, dword [ebp]
mov ecx, eax
mov eax, dword [ecx]
lea edx, [ebp - 2]
mov dword [esp + 0x18], eax
sub ebp, eax
mov ecx, dword [ecx + 4]
sub ebp, 2
push ecx
push edx
push ebx
mov dword [esp + 0x28], ecx
push ebp
lea eax, [esi + 0xbc]
push eax
call edi
lea eax, [esp + 0x20]
push 0x6ba688
push eax
mov ecx, 0x898828
call fcn.00511c30
mov ecx, dword [eax]
lea ebp, [esi + 0xcc]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov eax, dword [esi + 0xbc]
push edx
push eax
sub eax, ecx
push ebx
push eax
push ebp
mov dword [esp + 0x30], edx
call edi
lea ecx, [esp + 0x20]
push 0x6ba670
push ecx
mov ecx, 0x898828
call fcn.00511c30
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp]
push edx
push eax
sub eax, ecx
lea ebp, [esi + 0xdc]
push ebx
push eax
push ebp
mov dword [esp + 0x30], edx
call edi
lea edx, [esp + 0x20]
push 0x6ba658
push edx
mov ecx, 0x898828
call fcn.00511c30
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp]
push edx
push eax
sub eax, ecx
lea ebp, [esi + 0xec]
push ebx
push eax
push ebp
mov dword [esp + 0x30], edx
call edi
cmp dword [0x6e6cf1], ebx
je 0x50c8ff
cmp dword [0x6e6cf9], ebx
jne 0x50c8ff
lea eax, [esp + 0x20]
push 0x6ba6b8
push eax
mov ecx, 0x898828
call fcn.00511c30
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
cmp ecx, ebx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
jne 0x50c8a8
mov dword [0x6e6cf1], ebx
mov eax, dword [ebp]
push edx
push eax
sub eax, ecx
lea ebp, [esi + 0xfc]
push ebx
push eax
push ebp
call edi
cmp dword [0x6e6cf5], ebx
je 0x50c8ff
lea ecx, [esp + 0x20]
push 0x6ba6d0
push ecx
mov ecx, 0x898828
call fcn.00511c30
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
cmp ecx, ebx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
jne 0x50c8ed
mov dword [0x6e6cf5], ebx
mov eax, dword [ebp]
push edx
push eax
sub eax, ecx
push ebx
lea edx, [esi + 0x10c]
push eax
push edx
call edi
call fcn.00643d14
mov ecx, dword [esp + 0x10]
pop edi
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret