Function at 0x428510
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4569a0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46bd84]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
push 0x461780
lea ecx, [esp + 0x18]
call fcn.00401ea0
xor ebx, ebx
lea eax, [esp + 0x14]
lea edx, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00427ce0
lea edi, [esi + 0x28]
push eax
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.0040f0a0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428592
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4285b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
cmp dword [ecx - 0xc], ebx
jne 0x4285ea
push 0xd
push str.internalError
lea ecx, [esi + 0x50]
call fcn.00401d70
mov edx, 5
mov word [esi + 0x54], dx
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x45dac8
lea ecx, [esp + 0x18]
call fcn.00401ea0
mov ebx, 2
lea eax, [esp + 0x14]
lea edx, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00427ce0
lea ecx, [esi + 0x2c]
push eax
mov byte [esp + 0x30], 3
call fcn.0040f0a0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428641
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428664
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.ProductCode
lea ecx, [esp + 0x18]
call fcn.00401ea0
mov ebx, 4
lea eax, [esp + 0x14]
lea edx, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00427ce0
lea ecx, [esi + 0x30]
push eax
mov byte [esp + 0x30], 5
call fcn.0040f0a0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4286bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4286de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.UpgradeCode
lea ecx, [esp + 0x18]
call fcn.00401ea0
mov ebx, 6
lea eax, [esp + 0x14]
lea edx, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00427ce0
lea ecx, [esi + 0x34]
push eax
mov byte [esp + 0x30], 7
call fcn.0040f0a0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428735
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428758
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Path
lea ecx, [esp + 0x18]
call fcn.00401ea0
mov ebx, 8
lea eax, [esp + 0x14]
lea edx, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00427ce0
lea ecx, [esi + 0x38]
push eax
mov byte [esp + 0x30], 9
call fcn.0040f0a0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4287af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4287d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4617bc
lea ecx, [esp + 0x18]
call fcn.00401ea0
mov ebx, 0xa
lea eax, [esp + 0x14]
lea edx, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00427ce0
lea ecx, [esi + 0x3c]
push eax
mov byte [esp + 0x30], 0xb
call fcn.0040f0a0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428829
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42884c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4617d4
lea ecx, [esp + 0x18]
call fcn.00401ea0
mov ebx, 0xc
lea eax, [esp + 0x14]
lea edx, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00427ce0
lea ecx, [esi + 0x40]
push eax
mov byte [esp + 0x30], 0xd
call fcn.0040f0a0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4288a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4288c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4617dc
lea ecx, [esp + 0x1c]
call fcn.00401ea0
mov ebx, 0xe
lea eax, [esp + 0x18]
lea edx, [esp + 0x20]
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00427ce0
lea ecx, [esi + 0x44]
push eax
mov byte [esp + 0x30], 0xf
call fcn.0040f0a0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42891d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42893e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret