Function at 0x46c110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x4e3844
mov dword [esp + 0x20], esi
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x6c], esi
mov eax, dword [0x4e3844]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3844
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
lea esi, [esp + 0x30]
call fcn.0042b090
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x70], 2
call fcn.00413170
add esp, 4
lea edi, [esp + 0x14]
mov byte [esp + 0x6c], 3
call fcn.00413310
mov byte [esp + 0x6c], 4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x74]
mov ecx, esi
push ecx
push edx
push eax
call fcn.0046c3a0
test eax, eax
jne 0x46c2e8
lea esi, [esp + 0x2c]
call fcn.0042d3a0
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str.pcmastercn_
mov byte [esp + 0x74], 5
call fcn.0040e670
mov edx, edi
push edx
lea ecx, [esp + 0x80]
push ecx
mov ebx, eax
mov byte [esp + 0x7c], 6
call fcn.0040e5b0
add esp, 0x10
lea edi, [esp + 0x18]
mov byte [esp + 0x6c], 7
call fcn.0040a8e0
mov byte [esp + 0x6c], 6
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46c220
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c245
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c26a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x78]
push edx
lea ebx, [esp + 0x2c]
call fcn.0040e5b0
add esp, 8
lea edi, [esp + 0x1c]
mov byte [esp + 0x6c], 8
call fcn.0040a8e0
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c2b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
push ebx
mov esi, ebp
call fcn.00413d00
add esp, 4
test eax, eax
je 0x46c2e8
mov ecx, dword [esp + 0x14]
push ecx
push str.SelfUpdate_renameupdate_fail__file:_ws
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 8
mov esi, 1
jmp 0x46c2ec
mov esi, dword [esp + 0x20]
mov byte [esp + 0x6c], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46c311
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c336
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x30]
call fcn.0042b150
lea eax, [ebx - 0x10]
mov byte [esp + 0x6c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c384
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4