Function at 0x492cc0
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 0x515f8e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x570be0]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x570be0]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
push 0x554320
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.004216b0
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 0x492d83
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 0x492da8
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 0x492dd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x578238]
cmp dword [eax - 0xc], 0
jne 0x492e98
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.004216b0
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 0x492e5f
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 0x492e84
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 0x493b9a
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
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 [0x578238]
lea ecx, [esp + 0x68]
call fcn.0042ca50
mov esi, eax
test esi, esi
je 0x493021
mov edx, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
push esi
mov byte [esp + 0x1e4], 8
push dword [0x578238]
lea eax, [esp + 0x28]
push str.readAdvDataFromExec_openFile__s__d
push eax
call fcn.00421320
add esp, 0x10
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.00421fc0
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.004216b0
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 0x492fc9
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 0x492fee
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 0x493013
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
call fcn.0042ca00
jmp 0x493b8b
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.0042c4e0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], 0
cmp eax, 0xffffffff
jne 0x493076
push 0x19
push 0x54b150
lea ecx, [esp + 0x24]
call fcn.00420c80
mov esi, dword [esp + 0x30]
jmp 0x4930ab
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 0x4931ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x20]
push str.ReadBinaricFile_ReadFile_error__d
push eax
call fcn.00421320
add esp, 0xc
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x1e0], 0xc
mov eax, dword [esp + 0x1c]
mov ecx, 0x549724
cmp dword [eax - 0xc], 0
cmovne ecx, eax
push ecx
push dword [0x578238]
lea eax, [esp + 0x28]
push str.readAdvDataFromExec_ReadBinaricFile__s__s
push eax
call fcn.00421320
add esp, 0x10
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.00421fc0
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.004216b0
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 0x493165
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 0x49318a
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 0x4931af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4931bc
push esi
call fcn.004e71fd
add esp, 4
lea ecx, [esp + 0x48]
call fcn.0042ca00
jmp 0x493b8b
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 0x49329a
movzx eax, ax
push eax
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_ImageDosHeader__x
push eax
call fcn.00421320
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.004216b0
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 0x49326b
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 0x493290
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x4931b4
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 0x493367
push eax
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_ImageNtHeader__x
push eax
call fcn.00421320
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.004216b0
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 0x493339
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 0x49335e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x30]
jmp 0x4931b4
mov edi, dword [esp + 0x114]
test edi, edi
jne 0x4933f0
push 0x4550
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_nosignuture
push eax
call fcn.00421320
add esp, 8
mov ecx, esp
push 0x54a6f8
call fcn.004204a0
lea ecx, [esp + 0x20]
call fcn.00422850
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.004216b0
mov byte [esp + 0x1e0], 0x13
jmp 0x49331c
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.0042c4e0
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 0x4939dd
cmp edi, 0x50545472
jne 0x4939dd
mov edi, dword [esp + 0x14]
sub edi, edx
mov dword [esp + 0x14], edi
js 0x4934c7
cmp edi, 0x2710
jle 0x4934f2
push edi
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_advSize_error__d
push eax
call fcn.00421320
add esp, 8
mov ecx, esp
push 0x54a6f8
call fcn.004204a0
lea ecx, [esp + 0x20]
call fcn.00422850
add esp, 4
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], esi
call fcn.0042c4e0
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.004e82bf
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 0x4938d9
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x28], eax
mov edi, edi
mov eax, dword [0x571ba4]
lea edi, [esi + ecx]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1e0], 0x18
test edi, edi
jne 0x493577
xor ecx, ecx
jmp 0x493589
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x493580
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x34]
call fcn.0042c870
mov byte [esp + 0x1e0], 0x19
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi - 0xc]
test ecx, ecx
je 0x4938b8
mov eax, dword [esp + 0x18]
inc eax
add eax, ecx
mov dword [esp + 0x18], eax
add esi, eax
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x1e0], 0x1a
test esi, esi
jne 0x4935dc
xor ecx, ecx
jmp 0x4935ea
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4935e1
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.0042c870
mov byte [esp + 0x1e0], 0x1b
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4937b4
inc ecx
add eax, ecx
cmp dword [esi - 4], 1
mov dword [esp + 0x18], eax
jle 0x49362d
push dword [esi - 0xc]
lea ecx, [esp + 0x28]
call fcn.0042c5a0
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 [0x57a508]
mov dword [esp + 0x180], 0
test al, 1
jne 0x493679
or eax, 1
push 0x516d90
mov dword [0x57a508], eax
mov dword [0x57a4c0], 0x54c4ec
call fcn.004e7e8f
add esp, 4
mov ecx, dword [0x57363c]
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.00439cf0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x190]
call fcn.00439230
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.004393a0
lea ecx, [esp + 0x174]
mov byte [esp + 0x1e0], 0x1b
call fcn.004393a0
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 0x493778
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 0x493799
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 0x493550
mov esi, dword [esp + 0x3c]
jmp 0x4938d9
push ecx
push edi
lea eax, [esp + 0x24]
push str.readAdvDataFromExec_ReadParamsValueError__s__d
push eax
call fcn.00421320
add esp, 0xc
mov ecx, esp
push 0x54a6f8
call fcn.004204a0
lea ecx, [esp + 0x20]
call fcn.00422850
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.004216b0
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 0x493847
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 0x49386c
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 0x49388d
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 0x4937ab
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x3c]
jmp 0x4938d9
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 0x4938d9
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 0x4939bd
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.0043bb60
mov byte [esp + 0x1e0], 0x20
cmp dword [eax + 0x14], 0x10
jb 0x493949
mov eax, dword [eax]
push eax
mov ecx, 0x578240
call fcn.00420650
mov byte [esp + 0x1e0], 0x1f
cmp dword [esp + 0x188], 0x10
jb 0x493975
push dword [esp + 0x174]
call fcn.004e71fd
add esp, 4
mov eax, dword [0x578240]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x4939d3
cmp ecx, edx
jg 0x4939d3
cmp word [eax + ecx*2], 0xa
jne 0x493999
push ecx
lea eax, [edx - 1]
push eax
call fcn.00495980
cmp dword [esp + 0x1a4], 0x10
mov dword [esp + method.Json::FastWriter.virtual_0], vtable.Json::FastWriter.0
jb 0x4939bd
push dword [esp + 0x190]
call fcn.004e71fd
add esp, 4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1e0], 0x15
call fcn.004393a0
jmp 0x493b4b
push 0x80070057
call fcn.0041fba0
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
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.00421320
mov eax, dword [0x571ba4]
add esp, 0x10
mov ecx, 0x571ba4
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 0x493a53
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x493a63
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00420bb0
jmp 0x493a63
push 0x15
push str.readAdvDataThreadFunc
lea ecx, [esp + 0x2c]
call fcn.00420c80
mov byte [esp + 0x1e0], 0x23
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
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 0x493aae
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x493abe
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.00420bb0
jmp 0x493abe
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.004216b0
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 0x493b01
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 0x493b26
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 0x493b4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x493b58
push esi
call fcn.004e71fd
add esp, 4
push dword [esp + 0x30]
call fcn.004e71fd
mov eax, dword [esp + 0x54]
add esp, 4
test eax, eax
je 0x493b73
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 0x493b85
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 0x493bb1
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.004e6e0a
mov esp, ebp
pop ebp
ret