Function at 0x46cf50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x521dee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00508d54
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
xor ebx, ebx
mov dword [esp + 0x40], ebx
call fcn.00508d54
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x40], 1
call fcn.00508d54
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x40], 2
call fcn.00508d54
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], ebx
push 0x24
mov byte [esp + 0x44], 4
call fcn.00507ead
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x40], 5
je 0x46d001
mov ecx, dword [edi + 0x38]
push ecx
add edi, 0x28
push edi
mov ecx, eax
call fcn.0047db50
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x46d007
mov dword [esp + 0x18], ebx
mov edi, ebx
lea edx, [esp + 0x10]
push edx
mov ecx, edi
mov byte [esp + 0x44], 4
mov dword [esp + 0x28], edi
call fcn.0047d1d0
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
mov byte [esp + 0x40], 6
jne 0x46d0cb
add eax, 0xfffffff0
mov byte [esp + 0x40], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d04d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp edi, ebx
mov byte [esp + 0x40], 3
je 0x46d05e
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
lea eax, [esi - 0x10]
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d07d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x40], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d0a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d0c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
jmp 0x46d3d9
lea eax, [esp + 0x10]
push eax
call fcn.0043bb3d
add esp, 4
call fcn.00508d54
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
push str.Update_Games__s_version.check
mov bl, 8
push ecx
mov byte [esp + 0x4c], bl
call fcn.004066d2
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp - 0xc]
add esp, 0xc
push eax
push ebp
lea ecx, [esp + 0x18]
call fcn.00410424
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
call fcn.00475090
test eax, eax
je 0x46d16f
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
call fcn.0046c7c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 9
call fcn.00406609
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d16b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x46d352
push 0x148
call fcn.00507ead
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov byte [esp + 0x40], 0xa
je 0x46d1a1
mov ecx, eax
call fcn.00473b80
mov dword [esp + 0x48], eax
jmp 0x46d1a9
mov dword [esp + 0x48], 0
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
mov byte [esp + 0x40], bl
jle 0x46d1c6
mov eax, edi
push eax
lea ecx, [esp + 0x18]
call fcn.0040530b
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
push edi
push esi
call fcn.00473df0
test eax, eax
jne 0x46d25b
test esi, esi
je 0x46d1f1
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46d1e2
sub eax, edx
js 0x46d348
cmp eax, dword [esi - 8]
jg 0x46d348
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
lea eax, [ebp - 0x10]
mov byte [esp + 0x40], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d220
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x40], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d243
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov byte [esp + 0x40], 3
je 0x46d3a5
mov eax, dword [ecx]
jmp 0x46d3a1
test esi, esi
jne 0x46d263
xor eax, eax
jmp 0x46d277
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46d268
sub eax, edx
js 0x46d348
cmp eax, dword [esi - 8]
jg 0x46d348
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
lea eax, [ebp - 0x10]
mov byte [esp + 0x40], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d2a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x40], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d2c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov byte [esp + 0x40], 3
je 0x46d2dc
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [esi - 0x10]
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d2fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 0
call fcn.0046c530
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d32f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
push 0x80070057
call fcn.00404bc4
lea eax, [ebp - 0x10]
mov byte [esp + 0x40], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d371
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x40], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d394
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
mov byte [esp + 0x40], 3
je 0x46d3a5
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea eax, [esi - 0x10]
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d3c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 0
call fcn.0046c530
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d3f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4