Function at 0x494d30
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 0x51854e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x573be0]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x573be0]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
push 0x556dd0
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 0x494df3
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 0x494e18
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 0x494e40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x57b2bc]
cmp dword [eax - 0xc], 0
jne 0x494f08
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 0x494ecf
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 0x494ef4
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 0x495c0a
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
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 [0x57b2bc]
lea ecx, [esp + 0x68]
call fcn.0042cc90
mov esi, eax
test esi, esi
je 0x495091
mov edx, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
push esi
mov byte [esp + 0x1e4], 8
push dword [0x57b2bc]
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 0x495039
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 0x49505e
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 0x495083
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
call fcn.0042cc40
jmp 0x495bfb
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.0042c780
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], 0
cmp eax, 0xffffffff
jne 0x4950e6
push 0x19
push str.ReadBinaricFile_map_error
lea ecx, [esp + 0x24]
call fcn.00420c80
mov esi, dword [esp + 0x30]
jmp 0x49511b
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 0x49523a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x20]
push 0x54d180
push eax
call fcn.00421610
add esp, 0xc
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x1e0], 0xc
mov eax, dword [esp + 0x1c]
mov ecx, 0x54b754
cmp dword [eax - 0xc], 0
cmovne ecx, eax
push ecx
push dword [0x57b2bc]
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 0x4951d5
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 0x4951fa
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 0x49521f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x49522c
push esi
call fcn.004e932d
add esp, 4
lea ecx, [esp + 0x48]
call fcn.0042cc40
jmp 0x495bfb
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 0x49530a
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 0x4952db
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 0x495300
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x495224
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 0x4953d7
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 0x4953a9
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 0x4953ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x30]
jmp 0x495224
mov edi, dword [esp + 0x114]
test edi, edi
jne 0x495460
push 0x4550
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_nosignuture
push eax
call fcn.00421610
add esp, 8
mov ecx, esp
push 0x54c728
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 0x49538c
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.0042c780
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 0x495a4d
cmp edi, 0x50545472
jne 0x495a4d
mov edi, dword [esp + 0x14]
sub edi, edx
mov dword [esp + 0x14], edi
js 0x495537
cmp edi, 0x2710
jle 0x495562
push edi
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_advSize_error__d
push eax
call fcn.00421610
add esp, 8
mov ecx, esp
push 0x54c728
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.0042c780
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.004ea3ef
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 0x495949
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x28], eax
mov edi, edi
mov eax, dword [0x574ba4]
lea edi, [esi + ecx]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1e0], 0x18
test edi, edi
jne 0x4955e7
xor ecx, ecx
jmp 0x4955f9
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4955f0
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x34]
call fcn.0042cab0
mov byte [esp + 0x1e0], 0x19
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi - 0xc]
test ecx, ecx
je 0x495928
mov eax, dword [esp + 0x18]
inc eax
add eax, ecx
mov dword [esp + 0x18], eax
add esi, eax
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x1e0], 0x1a
test esi, esi
jne 0x49564c
xor ecx, ecx
jmp 0x49565a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495651
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.0042cab0
mov byte [esp + 0x1e0], 0x1b
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x495824
inc ecx
add eax, ecx
cmp dword [esi - 4], 1
mov dword [esp + 0x18], eax
jle 0x49569d
push dword [esi - 0xc]
lea ecx, [esp + 0x28]
call fcn.0042c840
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 [0x57d594]
mov dword [esp + 0x180], 0
test al, 1
jne 0x4956e9
or eax, 1
push 0x519370
mov dword [0x57d594], eax
mov dword [0x57d548], 0x54e51c
call fcn.004e9fbf
add esp, 4
mov ecx, dword [0x57664c]
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.00439be0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x190]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x174]
mov byte [esp + 0x1e0], 0x1b
call fcn.00439290
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 0x4957e8
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 0x495809
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 0x4955c0
mov esi, dword [esp + 0x3c]
jmp 0x495949
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 0x54c728
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 0x4958b7
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 0x4958dc
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 0x4958fd
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 0x49581b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x3c]
jmp 0x495949
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 0x495949
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 0x495a2d
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.0043ba50
mov byte [esp + 0x1e0], 0x20
cmp dword [eax + 0x14], 0x10
jb 0x4959b9
mov eax, dword [eax]
push eax
mov ecx, 0x57b2c4
call fcn.00420650
mov byte [esp + 0x1e0], 0x1f
cmp dword [esp + 0x188], 0x10
jb 0x4959e5
push dword [esp + 0x174]
call fcn.004e932d
add esp, 4
mov eax, dword [0x57b2c4]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x495a43
cmp ecx, edx
jg 0x495a43
cmp word [eax + ecx*2], 0xa
jne 0x495a09
push ecx
lea eax, [edx - 1]
push eax
call fcn.004979f0
cmp dword [esp + 0x1a4], 0x10
mov dword [esp + method.Json::FastWriter.virtual_0], vtable.Json::FastWriter.0
jb 0x495a2d
push dword [esp + 0x190]
call fcn.004e932d
add esp, 4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1e0], 0x15
call fcn.00439290
jmp 0x495bbb
push 0x80070057
call fcn.0041fba0
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
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 [0x574ba4]
add esp, 0x10
mov ecx, 0x574ba4
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 0x495ac3
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x495ad3
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00420bb0
jmp 0x495ad3
push 0x15
push str.readAdvDataThreadFunc
lea ecx, [esp + 0x2c]
call fcn.00420c80
mov byte [esp + 0x1e0], 0x23
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
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 0x495b1e
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x495b2e
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.00420bb0
jmp 0x495b2e
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 0x495b71
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 0x495b96
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 0x495bbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x495bc8
push esi
call fcn.004e932d
add esp, 4
push dword [esp + 0x30]
call fcn.004e932d
mov eax, dword [esp + 0x54]
add esp, 4
test eax, eax
je 0x495be3
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 0x495bf5
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 0x495c21
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.004e8f3a
mov esp, ebp
pop ebp
ret