Function at 0x46be50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x515bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov esi, dword [ebp + 8]
push 0x553814
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0043a040
or edi, 0xffffffff
cmp eax, 0x57c240
je 0x46c074
push 0x553814
mov ecx, esi
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x46c074
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x553814
mov ecx, esi
mov byte [esp + 0x3c], 1
call fcn.0043a040
mov esi, eax
cmp byte [esi + 8], 4
je 0x46bf11
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ee7ab
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x46bf1b
xor ecx, ecx
jmp 0x46bf29
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46bf20
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.0042ca60
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0042c120
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x38], 2
mov esi, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x18]
push 0x553818
push eax
call fcn.00421610
add esp, 0xc
lea ecx, [esp + 0x24]
push str.writeLog
call fcn.004204a0
mov byte [esp + 0x38], 3
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 4
call fcn.00421890
add esp, 4
mov byte [esp + 0x38], 5
cmp dword [ebx + 0xc], 0
je 0x46bfce
push 0
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0x38], 4
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46bff0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 3
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46c012
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 2
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46c034
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 1
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46c056
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x38], 0
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46c074
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x46c097
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4