Function at 0x4be0e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x513f34
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
call fcn.00460220
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4be132
push 0x80004005
call fcn.004712d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x100], 0
mov byte [esp + 0x16], 0
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4be16a
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x38], edi
mov byte [esp + 0x100], 1
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4be19c
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov ebx, dword [ebp + 8]
mov ecx, ebx
push str.filePath
mov byte [esp + 0x104], 2
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4be4c0
push str.filePath
mov ecx, ebx
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4be4c0
push str.filePath
mov ecx, ebx
call fcn.0048ad90
mov esi, eax
cmp byte [esi + 8], 4
je 0x4be20d
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x4be217
xor ecx, ecx
jmp 0x4be229
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be220
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0047e3b0
lea edx, [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.0047da90
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x3c]
sub esp, 0xc
push esi
call fcn.00479090
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
cmp dword [esp + eax + 0x48], 0
mov dword [esp + eax + 0x3c], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
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], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x4be2b8
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x90]
cmp dword [eax], ecx
jne 0x4be2b8
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x68]
mov dword [eax], ecx
mov eax, dword [esp + 0x78]
mov dword [eax], edx
cmp byte [esp + 0x98], 0
je 0x4be2cb
lea ecx, [esp + 0x4c]
call fcn.00479fc0
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x4c], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
test ebx, ebx
je 0x4be2fe
mov ecx, dword [ebx]
test ecx, ecx
je 0x4be2f5
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4be2f5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push ebx
call fcn.004e98a6
add esp, 4
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x3c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
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], vtable.std::ios_base.0
call fcn.0050944b
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x4be49c
push str.file_not_exist
lea ecx, [esp + 0x20]
call fcn.00471bb0
push str.isFileExist
lea ecx, [esp + 0x1c]
mov byte [esp + 0x104], 7
call fcn.00471bb0
mov byte [esp + 0x100], 8
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4be389
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x100], 9
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x100], 0xa
push ecx
mov edx, eax
lea ecx, [esp + 0x38]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x100], 0xb
cmp dword [eax + 0xc], 0
je 0x4be3f4
push 0
push ecx
lea ecx, [esp + 0x20]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x100], 0xa
or ebx, 0xffffffff
mov edx, dword [esp + 0x34]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4be41c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 9
mov ecx, ebx
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4be441
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 8
mov ecx, ebx
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4be466
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 7
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4be48b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 2
mov edx, dword [esp + 0x1c]
jmp 0x4be5d6
add esi, 0xfffffff0
mov byte [esp + 0x16], 1
or ebx, 0xffffffff
mov byte [esp + 0x100], 1
mov eax, ebx
lea ecx, [esi + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jmp 0x4be606
push str.filePath_error
lea ecx, [esp + 0x24]
call fcn.00471c70
push str.isFileExist
lea ecx, [esp + 0x1c]
mov byte [esp + 0x104], 3
call fcn.00471bb0
mov byte [esp + 0x100], 4
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4be508
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov byte [esp + 0x100], 5
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x2c]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x100], 6
cmp dword [eax + 0xc], 0
je 0x4be558
push 2
push ecx
lea ecx, [esp + 0x20]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x100], 5
or ebx, 0xffffffff
mov edx, dword [esp + 0x28]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4be580
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 4
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4be5a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 3
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4be5ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 2
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 0x4be5ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x100], 1
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4be610
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4be62a
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
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4be64b
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 0x4be671
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