Function at 0x46d330
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x514eaf
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x100], 0
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
mov byte [esp + 0x16], 0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x38], edi
mov byte [esp + 0x100], 1
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov ebx, dword [ebp + 8]
push str.filePath
mov ecx, ebx
mov byte [esp + 0x104], 2
call fcn.0043a040
cmp eax, 0x57c240
je 0x46d6ba
push str.filePath
mov ecx, ebx
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x46d6ba
push str.filePath
mov ecx, ebx
call fcn.0043a040
mov esi, eax
cmp byte [esi + 8], 4
je 0x46d41d
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 0x46d427
xor ecx, ecx
jmp 0x46d439
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d430
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0042ca60
lea edx, [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.0042c120
mov esi, dword [esp + 0x24]
sub esp, 0xc
lea ecx, [esp + 0x48]
push esi
call fcn.004275a0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
cmp dword [esp + eax + 0x48], 0
mov dword [esp + eax + 0x3c], 0x54de00
mov eax, dword [esp + 0x3c]
sete byte [esp + 0x17]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [esp + ecx + 0x38], eax
cmp dword [esp + 0x9c], 0
mov dword [esp + 0x4c], 0x54d95c
je 0x46d4c8
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x90]
cmp dword [edx], eax
jne 0x46d4c8
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [edx], eax
mov eax, dword [esp + 0x68]
mov dword [eax], ecx
mov eax, dword [esp + 0x78]
sub ecx, ecx
mov dword [eax], ecx
cmp byte [esp + 0x98], 0
je 0x46d4db
lea ecx, [esp + 0x4c]
call fcn.00428330
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x4c], 0x54de14
test ebx, ebx
je 0x46d50e
mov ecx, dword [ebx]
test ecx, ecx
je 0x46d505
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x46d505
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
push ebx
call fcn.004ea37d
add esp, 4
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x3c], 0x54d928
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [esp + ecx + 0x38], eax
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0xb0], 0x54d948
call fcn.00509c66
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x46d696
push str.file_not_exist
lea ecx, [esp + 0x24]
call fcn.004204a0
push str.isFileExist
lea ecx, [esp + 0x20]
mov byte [esp + 0x104], 8
call fcn.004204a0
mov byte [esp + 0x100], 9
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x104], 0xa
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x24]
push ecx
mov edx, eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x104], 0xb
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x100], 0xc
cmp dword [eax + 0xc], 0
je 0x46d5ee
push 0
push ecx
lea ecx, [esp + 0x24]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x100], 0xb
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x46d616
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 0xa
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46d63b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 9
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46d660
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 8
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46d685
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 2
mov edx, dword [esp + 0x20]
jmp 0x46d7fd
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [esp + 0x16], 1
mov byte [esp + 0x100], 1
lea ecx, [esi + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jmp 0x46d82d
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.filePath_error
mov byte [esp + 0x100], 3
test eax, 0xffff0000
jne 0x46d6fd
movzx ebx, ax
mov ecx, ebx
call fcn.0041fcd0
test eax, eax
je 0x46d70b
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x46d70b
push str.filePath_error
lea ecx, [esp + 0x1c]
call fcn.00420650
push str.isFileExist
lea ecx, [esp + 0x20]
mov byte [esp + 0x104], 4
call fcn.004204a0
mov byte [esp + 0x100], 5
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x104], 6
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x100], 7
cmp dword [eax + 0xc], 0
je 0x46d77f
push 2
push ecx
lea ecx, [esp + 0x24]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x100], 6
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x46d7a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 5
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46d7cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 4
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46d7f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 2
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46d816
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
mov byte [esp + 0x100], 1
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46d837
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x46d851
mov eax, 0xb
mov word [ecx], ax
mov al, byte [esp + 0x16]
movzx eax, al
mov word [ecx + 8], ax
add edi, 0xfffffff0
mov byte [esp + 0x100], 0
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46d872
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x100], 0xffffffff
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x46d898
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8