Function at 0x495d00
Capabilities:
Access peb ldr_data
Get ntdll base address
Parse pe header
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5195ce
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x574be0]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
push 0x557ca8
lea ecx, [esp + 0x30]
call fcn.004204a0
push str.readAdvDataThreadFunc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1e4], 0
call fcn.004204a0
push str.WebInstallerMain
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 1
call fcn.004204a0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 2
call fcn.004219a0
mov byte [esp + 0x1e0], 1
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x495dc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0
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 0x495de8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x1e0], 0xffffffff
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x495e10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x57c2bc]
cmp dword [eax - 0xc], 0
jne 0x495ed8
push str.No_base_file_to_read_the_data_from
lea ecx, [esp + 0x30]
call fcn.004204a0
push str.readAdvDataThreadFunc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1e4], 3
call fcn.004204a0
push str.WebInstallerMain
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 4
call fcn.004204a0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 5
call fcn.004219a0
mov byte [esp + 0x1e0], 4
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x495e9f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 3
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 0x495ec4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x1e0], 0xffffffff
mov edx, dword [esp + 0x2c]
jmp 0x496bda
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1e0], 6
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
push 0
push 0
sub esp, 0xc
mov byte [esp + 0x1f4], 7
push 3
push SysReAllocString
push dword [0x57c2bc]
lea ecx, [esp + 0x68]
call fcn.0042cc40
mov esi, eax
test esi, esi
je 0x496061
mov edx, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
push esi
mov byte [esp + 0x1e4], 8
push dword [0x57c2bc]
lea eax, [esp + 0x28]
push str.readAdvDataFromExec_openFile__s__d
push eax
call fcn.00421610
add esp, 0x10
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.004222b0
push str.readAdvDataThreadFunc
lea ecx, [esp + 0x1c]
call fcn.004204a0
push str.WebInstallerMain
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 9
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 0xa
call fcn.004219a0
mov byte [esp + 0x1e0], 9
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496009
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 8
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 0x49602e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 7
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 0x496053
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
call fcn.0042cbf0
jmp 0x496bcb
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x1e0], 0xb
mov esi, dword [esp + 0x54]
push esi
lea ecx, [esp + 0x34]
call fcn.0042c6d0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], 0
cmp eax, 0xffffffff
jne 0x4960b6
push 0x19
push 0x54e180
lea ecx, [esp + 0x24]
call fcn.00420c80
mov esi, dword [esp + 0x30]
jmp 0x4960eb
push 0
lea ecx, [esp + 0x6c]
push ecx
push esi
mov esi, dword [esp + 0x3c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x49620a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x20]
push str.ReadBinaricFile_ReadFile_error__d
push eax
call fcn.00421610
add esp, 0xc
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x1e0], 0xc
mov eax, dword [esp + 0x1c]
mov ecx, 0x54c754
cmp dword [eax - 0xc], 0
cmovne ecx, eax
push ecx
push dword [0x57c2bc]
lea eax, [esp + 0x28]
push str.readAdvDataFromExec_ReadBinaricFile__s__s
push eax
call fcn.00421610
add esp, 0x10
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.004222b0
push str.readAdvDataThreadFunc
lea ecx, [esp + 0x1c]
call fcn.004204a0
push str.WebInstallerMain
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 0xd
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 0xe
call fcn.004219a0
mov byte [esp + 0x1e0], 0xd
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4961a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0xc
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 0x4961ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0xb
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 0x4961ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4961fc
push esi
call fcn.004ea2dd
add esp, 4
lea ecx, [esp + 0x48]
call fcn.0042cbf0
jmp 0x496bcb
mov ecx, 0x10
lea edi, [esp + 0x18c]
rep movsd dword es:[edi], dword [esi]
mov ax, word [esp + 0x18c]
mov ecx, 0x5a4d
cmp cx, ax
je 0x4962da
movzx eax, ax
push eax
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_ImageDosHeader__x
push eax
call fcn.00421610
add esp, 0xc
lea ecx, [esp + 0x18]
push str.readAdvDataThreadFunc
call fcn.004204a0
push str.WebInstallerMain
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 0xf
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 0x10
call fcn.004219a0
mov byte [esp + 0x1e0], 0xf
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4962ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0xb
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 0x4962d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x4961f4
mov esi, dword [esp + 0x30]
add esi, dword [esp + 0x1c8]
mov ecx, 0x3e
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x7c]
cmp eax, 0x4550
je 0x4963a7
push eax
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_ImageNtHeader__x
push eax
call fcn.00421610
add esp, 0xc
lea ecx, [esp + 0x18]
push str.readAdvDataThreadFunc
call fcn.004204a0
push str.WebInstallerMain
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 0x11
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 0x12
call fcn.004219a0
mov byte [esp + 0x1e0], 0x11
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496379
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0xb
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 0x49639e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x30]
jmp 0x4961f4
mov edi, dword [esp + 0x114]
test edi, edi
jne 0x496430
push 0x4550
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_nosignuture
push eax
call fcn.00421610
add esp, 8
mov ecx, esp
push 0x54d728
call fcn.004204a0
lea ecx, [esp + 0x20]
call fcn.00422b40
add esp, 4
lea ecx, [esp + 0x18]
push str.readAdvDataThreadFunc
call fcn.004204a0
push str.WebInstallerMain
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 0x13
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 0x14
call fcn.004219a0
mov byte [esp + 0x1e0], 0x13
jmp 0x49635c
add edi, 0xfffffff4
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
push 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e4], 0x15
call fcn.0042c6d0
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
movq xmm0, qword [eax + edi]
movq qword [esi], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 8], eax
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
movzx ecx, byte [esi + 4]
shl eax, 8
or edx, eax
movzx eax, byte [esi + 2]
movzx edi, byte [esi + 8]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 3]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 0xa]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 0xb]
shl edi, 8
or edi, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ecx
cmp ecx, 1
jne 0x496a1d
cmp edi, 0x50545472
jne 0x496a1d
mov edi, dword [esp + 0x14]
sub edi, edx
mov dword [esp + 0x14], edi
js 0x496507
cmp edi, 0x2710
jle 0x496532
push edi
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_advSize_error__d
push eax
call fcn.00421610
add esp, 8
mov ecx, esp
push 0x54d728
call fcn.004204a0
lea ecx, [esp + 0x20]
call fcn.00422b40
add esp, 4
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], esi
call fcn.0042c6d0
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
push edi
push eax
mov eax, dword [esp + 0x48]
sub eax, esi
push eax
push esi
call fcn.004eb39f
and dword [esp + 0x84], 0xfffffe00
xor ecx, ecx
add esp, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x78], ecx
mov byte [esp + 0x1e0], 0x17
test edi, edi
jle 0x496919
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x28], eax
mov edi, edi
mov eax, dword [0x575ba4]
lea edi, [esi + ecx]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1e0], 0x18
test edi, edi
jne 0x4965b7
xor ecx, ecx
jmp 0x4965c9
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4965c0
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x34]
call fcn.0042ca60
mov byte [esp + 0x1e0], 0x19
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi - 0xc]
test ecx, ecx
je 0x4968f8
mov eax, dword [esp + 0x18]
inc eax
add eax, ecx
mov dword [esp + 0x18], eax
add esi, eax
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x1e0], 0x1a
test esi, esi
jne 0x49661c
xor ecx, ecx
jmp 0x49662a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496621
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.0042ca60
mov byte [esp + 0x1e0], 0x1b
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4967f4
inc ecx
add eax, ecx
cmp dword [esi - 4], 1
mov dword [esp + 0x18], eax
jle 0x49666d
push dword [esi - 0xc]
lea ecx, [esp + 0x28]
call fcn.0042c790
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x28], eax
mov dword [esp + 0x17c], eax
mov eax, dword [0x57e594]
mov dword [esp + 0x180], 0
test al, 1
jne 0x4966b9
or eax, 1
push 0x51a3f0
mov dword [0x57e594], eax
mov dword [0x57e548], 0x54f51c
call fcn.004eaf6f
add esp, 4
mov ecx, dword [0x57764c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x174], eax
push ecx
push edi
lea ecx, [esp + 0x74]
mov byte [esp + 0x1e8], 0x1e
call fcn.00439ec0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x190]
call fcn.00439400
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x194]
movsx ecx, byte [eax + 8]
mov edi, dword [esp + 0x20]
mov byte [eax + 8], bl
mov edx, dword [eax + 4]
xor ecx, ebx
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0x18c]
mov dword [edi], eax
mov eax, dword [esp + 0x190]
mov dword [edi + 4], eax
mov dword [esp + 0x190], edx
mov dword [esp + 0x18c], ecx
mov eax, edi
mov ecx, dword [eax + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ebx
xor eax, ecx
shl edx, 8
and eax, 0x100
xor eax, ecx
xor edx, ebx
mov ecx, edi
and edx, 0x100
mov dword [ecx + 8], eax
xor ebx, edx
lea ecx, [esp + 0x18c]
mov dword [esp + 0x194], ebx
call fcn.00439570
lea ecx, [esp + 0x174]
mov byte [esp + 0x1e0], 0x1b
call fcn.00439570
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [esp + 0x1e0], 0x19
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
mov edi, dword [esp + 0x2c]
test ecx, ecx
jg 0x4967b8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x1e0], 0x17
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4967d9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x14]
jl 0x496590
mov esi, dword [esp + 0x3c]
jmp 0x496919
push ecx
push edi
lea eax, [esp + 0x24]
push str.readAdvDataFromExec_ReadParamsValueError__s__d
push eax
call fcn.00421610
add esp, 0xc
mov ecx, esp
push 0x54d728
call fcn.004204a0
lea ecx, [esp + 0x20]
call fcn.00422b40
add esp, 4
lea ecx, [esp + 0x14]
push str.readAdvDataThreadFunc
call fcn.004204a0
push str.WebInstallerMain
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e4], 0x1c
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x1f0], 0x1d
call fcn.004219a0
mov byte [esp + 0x1e0], 0x1c
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 0x496887
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0x1b
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4968ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x1e0], 0x19
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4968cd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x1e0], 0x17
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4967eb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x3c]
jmp 0x496919
add edi, 0xfffffff0
mov byte [esp + 0x1e0], 0x17
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496919
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x4969fd
mov dword [esp + method.Json::FastWriter.virtual_0], vtable.Json::FastWriter.0
mov dword [esp + 0x1a4], 0xf
mov dword [esp + 0x1a0], 0
mov byte [esp + 0x190], 0
mov byte [esp + 0x1a8], 0
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x194]
mov byte [esp + 0x1e8], 0x1f
call fcn.0043bd30
mov byte [esp + 0x1e0], 0x20
cmp dword [eax + 0x14], 0x10
jb 0x496989
mov eax, dword [eax]
push eax
mov ecx, 0x57c2c4
call fcn.00420650
mov byte [esp + 0x1e0], 0x1f
cmp dword [esp + 0x188], 0x10
jb 0x4969b5
push dword [esp + 0x174]
call fcn.004ea2dd
add esp, 4
mov eax, dword [0x57c2c4]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x496a13
cmp ecx, edx
jg 0x496a13
cmp word [eax + ecx*2], 0xa
jne 0x4969d9
push ecx
lea eax, [edx - 1]
push eax
call fcn.004989c0
cmp dword [esp + 0x1a4], 0x10
mov dword [esp + method.Json::FastWriter.virtual_0], vtable.Json::FastWriter.0
jb 0x4969fd
push dword [esp + 0x190]
call fcn.004ea2dd
add esp, 4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1e0], 0x15
call fcn.00439570
jmp 0x496b8b
push 0x80070057
call fcn.0041fba0
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push edi
mov byte [esp + 0x1e4], 0x21
push dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push str.no_valid_advData_version_d_marker_x
push eax
call fcn.00421610
mov eax, dword [0x575ba4]
add esp, 0x10
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, str.readAdvDataThreadFunc
mov byte [esp + 0x1e0], 0x22
test eax, 0xffff0000
jne 0x496a93
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x496aa3
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00420bb0
jmp 0x496aa3
push 0x15
push str.readAdvDataThreadFunc
lea ecx, [esp + 0x2c]
call fcn.00420c80
mov byte [esp + 0x1e0], 0x23
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, str.WebInstallerMain
mov byte [esp + 0x1e0], 0x24
test eax, 0xffff0000
jne 0x496aee
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x496afe
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.00420bb0
jmp 0x496afe
push 0x10
push str.WebInstallerMain
lea ecx, [esp + 0x28]
call fcn.00420c80
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1f0], 0x25
call fcn.004219a0
mov byte [esp + 0x1e0], 0x23
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 0x496b41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0x21
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496b66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0x15
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496b8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x496b98
push esi
call fcn.004ea2dd
add esp, 4
push dword [esp + 0x30]
call fcn.004ea2dd
mov eax, dword [esp + 0x54]
add esp, 4
test eax, eax
je 0x496bb3
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x496bc5
push eax
call esi
push dword [esp + 0x48]
call esi
mov dword [esp + 0x1e0], 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x496bf1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.004e9eea
mov esp, ebp
pop ebp
ret