Function at 0x4e6420
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x518808
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x572bb0]
xor eax, esp
mov dword [esp + 0x1d4], eax
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0x1e8]
mov dword fs:[0], eax
push 0x556f58
lea ecx, [esp + 0x28]
call fcn.00471bb0
push str.readAdvDataThreadFunc
lea ecx, [esp + 0x20]
mov dword [esp + 0x1f4], 0
call fcn.00471bb0
push str.WebInstallerMain
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f4], 1
call fcn.00471bb0
push 0
lea eax, [esp + 0x28]
mov byte [esp + 0x1f4], 2
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00473100
mov byte [esp + 0x1f0], 1
or esi, 0xffffffff
mov edx, dword [esp + 0x18]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4e64e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1f0], 0
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e6507
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x1f0], 0xffffffff
mov ecx, esi
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e652f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x57a278]
cmp dword [eax - 0xc], 0
jne 0x4e65f7
push str.No_base_file_to_read_the_data_from
lea ecx, [esp + 0x28]
call fcn.00471bb0
push str.readAdvDataThreadFunc
lea ecx, [esp + 0x20]
mov dword [esp + 0x1f4], 3
call fcn.00471bb0
push str.WebInstallerMain
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f4], 4
call fcn.00471bb0
push 0
lea eax, [esp + 0x28]
mov byte [esp + 0x1f4], 5
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00473100
mov byte [esp + 0x1f0], 4
mov ecx, esi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e65be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1f0], 3
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e65e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x1f0], 0xffffffff
mov edx, dword [esp + 0x24]
jmp 0x4e730a
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4e6613
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x1f0], 6
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
push 0
push 0
sub esp, 0xc
mov byte [esp + 0x204], 7
lea ecx, [esp + 0x64]
push 3
push SysReAllocString
push dword [0x57a278]
call fcn.0047e590
mov edi, eax
test edi, edi
je 0x4e67af
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4e66b1
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push edi
mov byte [esp + 0x1f4], 8
lea eax, [esp + 0x28]
push dword [0x57a278]
push str.readAdvDataFromExec_openFile__s__d
push eax
call fcn.00472d30
add esp, 0x10
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
call fcn.00473a30
push str.readAdvDataThreadFunc
lea ecx, [esp + 0x20]
call fcn.00471bb0
push str.WebInstallerMain
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f4], 9
call fcn.00471bb0
push 2
lea eax, [esp + 0x24]
mov byte [esp + 0x1f4], 0xa
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00473100
mov byte [esp + 0x1f0], 9
mov ecx, esi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e6757
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1f0], 8
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e677c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1f0], 7
mov ecx, esi
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e67a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x50]
call fcn.0047e540
jmp 0x4e72fb
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov byte [esp + 0x1f0], 0xb
lea ecx, [esp + 0x44]
mov edi, dword [esp + 0x5c]
push edi
call fcn.0047e050
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], 0
cmp eax, 0xffffffff
jne 0x4e6804
push 0x19
push str.ReadBinaricFile_map_error
lea ecx, [esp + 0x28]
call fcn.004725a0
mov edi, dword [esp + 0x44]
jmp 0x4e6839
push 0
lea ecx, [esp + 0x74]
push ecx
push edi
mov edi, dword [esp + 0x50]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4e6970
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x24]
push str.ReadBinaricFile_ReadFile_error__d
push eax
call fcn.00472d30
add esp, 0xc
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4e6855
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x1f0], 0xc
mov ecx, 0x54c444
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
cmovne ecx, eax
lea eax, [esp + 0x24]
push ecx
push dword [0x57a278]
push str.readAdvDataFromExec_ReadBinaricFile__s__s
push eax
call fcn.00472d30
add esp, 0x10
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
call fcn.00473a30
push str.readAdvDataThreadFunc
lea ecx, [esp + 0x20]
call fcn.00471bb0
push str.WebInstallerMain
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f4], 0xd
call fcn.00471bb0
push 2
lea eax, [esp + 0x24]
mov byte [esp + 0x1f4], 0xe
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00473100
mov byte [esp + 0x1f0], 0xd
mov ecx, esi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e690b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1f0], 0xc
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e6930
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1f0], 0xb
mov ecx, esi
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e6955
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4e6962
push edi
call fcn.004e98a6
add esp, 4
lea ecx, [esp + 0x50]
call fcn.0047e540
jmp 0x4e72fb
movdqu xmm0, xmmword [edi + 0x10]
mov ecx, 0x5a4d
movdqu xmm1, xmmword [edi]
movdqu xmmword [esp + 0x1a4], xmm0
movdqu xmm0, xmmword [edi + 0x20]
movd eax, xmm1
movdqu xmmword [esp + 0x1b4], xmm0
movdqu xmm0, xmmword [edi + 0x30]
movdqu xmmword [esp + 0x1c4], xmm0
cmp cx, ax
je 0x4e6a5b
movzx eax, ax
push eax
lea eax, [esp + 0x24]
push str.readAdvDataFromExec_ImageDosHeader__x
push eax
call fcn.00472d30
add esp, 0xc
lea ecx, [esp + 0x1c]
push str.readAdvDataThreadFunc
call fcn.00471bb0
push str.WebInstallerMain
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f4], 0xf
call fcn.00471bb0
push 2
lea eax, [esp + 0x24]
mov byte [esp + 0x1f4], 0x10
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00473100
mov byte [esp + 0x1f0], 0xf
mov ecx, esi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e6a2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1f0], 0xb
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e6959
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4e6959
mov esi, dword [esp + 0x1d0]
mov ecx, 0x3e
add esi, edi
lea edi, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x84]
cmp eax, 0x4550
je 0x4e6b30
push eax
lea eax, [esp + 0x24]
push str.readAdvDataFromExec_ImageNtHeader__x
push eax
call fcn.00472d30
add esp, 0xc
lea ecx, [esp + 0x1c]
push str.readAdvDataThreadFunc
call fcn.00471bb0
push str.WebInstallerMain
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f4], 0x11
call fcn.00471bb0
push 2
lea eax, [esp + 0x24]
mov byte [esp + 0x1f4], 0x12
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00473100
mov byte [esp + 0x1f0], 0x11
mov edx, dword [esp + 0x18]
or esi, 0xffffffff
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e6b01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1f0], 0xb
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e6b26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x44]
push eax
jmp 0x4e695a
mov esi, dword [esp + 0x11c]
test esi, esi
jne 0x4e6bb9
push 0x4550
lea eax, [esp + 0x24]
push str.readAdvDataFromExec_nosignuture
push eax
call fcn.00472d30
add esp, 8
mov ecx, esp
push 0x54c730
call fcn.00471bb0
lea ecx, [esp + 0x24]
call fcn.00474300
add esp, 4
lea ecx, [esp + 0x1c]
push str.readAdvDataThreadFunc
call fcn.00471bb0
push str.WebInstallerMain
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f4], 0x13
call fcn.00471bb0
push 2
lea eax, [esp + 0x24]
mov byte [esp + 0x1f4], 0x14
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00473100
mov byte [esp + 0x1f0], 0x13
jmp 0x4e6ae1
add esi, 0xfffffff4
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
push 0xc
lea ecx, [esp + 0x38]
mov byte [esp + 0x1f4], 0x15
call fcn.0047e050
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
movq xmm0, qword [eax + esi]
movq qword [edi], xmm0
mov eax, dword [eax + esi + 8]
mov dword [edi + 8], eax
movzx esi, byte [edi]
movzx eax, byte [edi + 1]
movzx edx, byte [edi + 4]
movzx ecx, byte [edi + 8]
shl esi, 8
or esi, eax
shl edx, 8
movzx eax, byte [edi + 2]
shl esi, 8
or esi, eax
shl ecx, 8
movzx eax, byte [edi + 3]
shl esi, 8
or esi, eax
movzx eax, byte [edi + 5]
or edx, eax
movzx eax, byte [edi + 6]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 7]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 9]
or ecx, eax
mov dword [esp + 0x2c], edx
movzx eax, byte [edi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xb]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x28], ecx
cmp edx, 1
jne 0x4e71b9
cmp ecx, 0x50545472
jne 0x4e71b9
mov eax, dword [esp + 0x30]
sub eax, esi
mov dword [esp + 0x30], eax
js 0x4e6c8f
cmp eax, 0x2710
jle 0x4e6cbe
push eax
lea eax, [esp + 0x24]
push str.readAdvDataFromExec_advSize_error__d
push eax
call fcn.00472d30
add esp, 8
mov ecx, esp
push 0x54c730
call fcn.00471bb0
lea ecx, [esp + 0x24]
call fcn.00474300
mov eax, dword [esp + 0x34]
add esp, 4
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], edi
call fcn.0047e050
push dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x38]
add eax, esi
push eax
mov eax, dword [esp + 0x40]
sub eax, edi
push eax
push edi
call fcn.004ea853
and dword [esp + 0x8c], 0xfffffe00
xor ecx, ecx
add esp, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x80], ecx
or esi, 0xffffffff
mov byte [esp + 0x1f0], 0x17
cmp dword [esp + 0x30], ecx
jle 0x4e70b5
mov eax, dword [esp + 0x184]
mov dword [esp + 0x2c], eax
add edi, ecx
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x4e6609
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1f0], 0x18
test edi, edi
jne 0x4e6d5b
xor ecx, ecx
jmp 0x4e6d69
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e6d60
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x24]
call fcn.0047e3b0
mov byte [esp + 0x1f0], 0x19
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi - 0xc]
test ecx, ecx
je 0x4e7090
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
inc eax
add ecx, eax
mov dword [esp + 0x28], ecx
add esi, ecx
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x4e6609
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x1f0], 0x1a
test esi, esi
jne 0x4e6dd2
xor ecx, ecx
jmp 0x4e6de0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e6dd7
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x48]
call fcn.0047e3b0
mov byte [esp + 0x1f0], 0x1b
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4e6fb2
inc ecx
add eax, ecx
cmp dword [esi - 4], 1
mov dword [esp + 0x18], eax
jle 0x4e6e23
push dword [esi - 0xc]
lea ecx, [esp + 0x44]
call fcn.0047e0e0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
and eax, 0xffffff04
mov dword [esp + 0x188], 0
or eax, 0x104
mov dword [esp + 0x2c], eax
mov dword [esp + 0x184], eax
mov eax, dword [0x57c5d0]
test al, 1
jne 0x4e6e6f
or eax, 1
mov dword [0x57c510], 0x54e26c
push 0x518e70
mov dword [0x57c5d0], eax
call fcn.004ea214
add esp, 4
mov ecx, dword [0x573ffc]
push 0xffffffffffffffff
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [esp + 0x17c], eax
push ecx
push edi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1f8], 0x1e
call fcn.0048ac10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x194]
lea eax, [esp + 0x17c]
push eax
call fcn.0048a170
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x19c]
mov edi, dword [esp + 0x24]
movsx ecx, byte [edx + 8]
mov byte [edx + 8], al
xor ecx, eax
and ecx, 0xff
xor eax, ecx
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x194]
mov dword [edi], eax
mov eax, dword [esp + 0x198]
mov dword [edi + 4], eax
mov eax, edi
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], edx
mov ecx, dword [eax + 8]
mov edx, ecx
mov eax, dword [esp + 0x28]
xor eax, ecx
shl edx, 0x17
and eax, 0x100
sar edx, 0x1f
xor eax, ecx
shl edx, 8
mov ecx, edi
mov dword [ecx + 8], eax
lea ecx, [esp + 0x194]
mov eax, dword [esp + 0x28]
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x19c], eax
call fcn.0048a2e0
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1f0], 0x1b
call fcn.0048a2e0
lea edx, [esi - 0x10]
mov byte [esp + 0x1f0], 0x19
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
mov edi, dword [esp + 0x1c]
test ecx, ecx
jg 0x4e6f7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x1f0], 0x17
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e6f9b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
cmp ecx, dword [esp + 0x30]
jl 0x4e6d23
jmp 0x4e70b1
push ecx
push edi
lea eax, [esp + 0x28]
push str.readAdvDataFromExec_ReadParamsValueError__s__d
push eax
call fcn.00472d30
add esp, 0xc
mov ecx, esp
push 0x54c730
call fcn.00471bb0
lea ecx, [esp + 0x24]
call fcn.00474300
add esp, 4
lea ecx, [esp + 0x2c]
push str.readAdvDataThreadFunc
call fcn.00471bb0
push str.WebInstallerMain
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f4], 0x1c
call fcn.00471bb0
push 2
lea eax, [esp + 0x24]
mov byte [esp + 0x1f4], 0x1d
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00473100
mov byte [esp + 0x1f0], 0x1c
or ecx, 0xffffffff
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e7046
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1f0], 0x1b
or ecx, 0xffffffff
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e706c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x1f0], 0x19
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e7090
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x1f0], 0x17
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e70b1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
jne 0x4e7199
mov dword [esp + method.Json::FastWriter.virtual_0], vtable.Json::FastWriter.0
mov dword [esp + 0x1ac], 0xf
mov dword [esp + 0x1a8], 0
mov byte [esp + 0x198], 0
mov byte [esp + 0x1b0], 0
lea eax, [esp + 0x74]
mov byte [esp + 0x1f0], 0x1f
push eax
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x19c]
call fcn.0048ca60
mov byte [esp + 0x1f0], 0x20
cmp dword [eax + 0x14], 0x10
jb 0x4e7125
mov eax, dword [eax]
push eax
mov ecx, 0x57a280
call fcn.00471eb0
mov byte [esp + 0x1f0], 0x1f
cmp dword [esp + 0x190], 0x10
jb 0x4e7151
push dword [esp + 0x17c]
call fcn.004e98a6
add esp, 4
mov eax, dword [0x57a280]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x4e71af
cmp ecx, edx
jg 0x4e71af
cmp word [eax + ecx*2], 0xa
jne 0x4e7175
push ecx
lea eax, [edx - 1]
push eax
call fcn.004e9160
cmp dword [esp + 0x1ac], 0x10
mov dword [esp + method.Json::FastWriter.virtual_0], vtable.Json::FastWriter.0
jb 0x4e7199
push dword [esp + 0x198]
call fcn.004e98a6
add esp, 4
lea ecx, [esp + 0x74]
mov byte [esp + 0x1f0], 0x15
call fcn.0048a2e0
jmp 0x4e72bb
push 0x80070057
call fcn.004712d0
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4e71d5
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1f0], 0x21
lea eax, [esp + 0x18]
push dword [esp + 0x28]
push dword [esp + 0x30]
push str.no_valid_advData_version_d_marker_x
push eax
call fcn.00472d30
add esp, 0x10
lea ecx, [esp + 0x2c]
push str.readAdvDataThreadFunc
call fcn.00471bb0
push str.WebInstallerMain
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f4], 0x22
call fcn.00471bb0
push 0
lea eax, [esp + 0x1c]
mov byte [esp + 0x1f4], 0x23
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00473100
mov byte [esp + 0x1f0], 0x22
or esi, 0xffffffff
mov edx, dword [esp + 0x28]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e7271
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1f0], 0x21
mov ecx, esi
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e7296
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1f0], 0x15
mov ecx, esi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e72bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4e72c8
push edi
call fcn.004e98a6
add esp, 4
push dword [esp + 0x44]
call fcn.004e98a6
mov eax, dword [esp + 0x5c]
add esp, 4
test eax, eax
je 0x4e72e3
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x54]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x4e72f5
push eax
call edi
push dword [esp + 0x50]
call edi
mov dword [esp + 0x1f0], 0xffffffff
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4e7321
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x1e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1d4]
xor ecx, esp
call fcn.004e94b7
mov esp, ebp
pop ebp
ret