Function at 0x461a20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x511ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x570be0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov esi, dword [ebp + 8]
push 0x54f8b4
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00439e70
or edi, 0xffffffff
cmp eax, 0x5781c0
je 0x461c44
push 0x54f8b4
mov ecx, esi
call fcn.00439e70
cmp byte [eax + 8], 4
jne 0x461c44
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x54f8b4
mov ecx, esi
mov byte [esp + 0x3c], 1
call fcn.00439e70
mov esi, eax
cmp byte [esi + 8], 4
je 0x461ae1
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004eb62b
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x461aeb
xor ecx, ecx
jmp 0x461af9
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461af0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.0042c870
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0042bf30
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
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 str.Log_from_JS_____s
push eax
call fcn.00421320
add esp, 0xc
lea ecx, [esp + 0x24]
push str.writeLog
call fcn.004204a0
mov byte [esp + 0x38], 3
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
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.004215a0
add esp, 4
mov byte [esp + 0x38], 5
cmp dword [ebx + 0xc], 0
je 0x461b9e
push 0
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004216b0
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 0x461bc0
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 0x461be2
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 0x461c04
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 0x461c26
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 0x461c44
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 0x461c67
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