Function at 0x495d70
Capabilities:
Access peb ldr_data
Get ntdll base address
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51968e
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 0x557d08
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 0x495e33
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 0x495e58
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 0x495e80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x57c2bc]
cmp dword [eax - 0xc], 0
jne 0x495f48
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 0x495f0f
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 0x495f34
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 0x496c4a
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 0x80000000
push dword [0x57c2bc]
lea ecx, [esp + 0x68]
call fcn.0042cc40
mov esi, eax
test esi, esi
je 0x4960d1
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 0x496079
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 0x49609e
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 0x4960c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
call fcn.0042cbf0
jmp 0x496c3b
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 0x496126
push 0x19
push 0x54e190
lea ecx, [esp + 0x24]
call fcn.00420c80
mov esi, dword [esp + 0x30]
jmp 0x49615b
push 0
lea ecx, [esp + 0x6c]
push ecx
push esi
mov esi, dword [esp + 0x3c]
push esi
push eax
call dword [0x51b0cc]
test eax, eax
jne 0x49627a
call dword [0x51b0d4]
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, 0x54c764
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 0x496215
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 0x49623a
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 0x49625f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x49626c
push esi
call fcn.004ea37d
add esp, 4
lea ecx, [esp + 0x48]
call fcn.0042cbf0
jmp 0x496c3b
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 0x49634a
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 0x49631b
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 0x496340
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x496264
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 0x496417
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 0x4963e9
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 0x49640e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x30]
jmp 0x496264
mov edi, dword [esp + 0x114]
test edi, edi
jne 0x4964a0
push 0x4550
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_nosignuture
push eax
call fcn.00421610
add esp, 8
mov ecx, esp
push 0x54d738
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 0x4963cc
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 0x496a8d
cmp edi, 0x50545472
jne 0x496a8d
mov edi, dword [esp + 0x14]
sub edi, edx
mov dword [esp + 0x14], edi
js 0x496577
cmp edi, 0x2710
jle 0x4965a2
push edi
lea eax, [esp + 0x20]
push str.readAdvDataFromExec_advSize_error__d
push eax
call fcn.00421610
add esp, 8
mov ecx, esp
push 0x54d738
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.004eb43f
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 0x496989
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 0x496627
xor ecx, ecx
jmp 0x496639
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496630
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 0x496968
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 0x49668c
xor ecx, ecx
jmp 0x49669a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496691
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 0x496864
inc ecx
add eax, ecx
cmp dword [esi - 4], 1
mov dword [esp + 0x18], eax
jle 0x4966dd
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 0x496729
or eax, 1
push 0x51a4b0
mov dword [0x57e594], eax
mov dword [0x57e548], 0x54f52c
call fcn.004eb010
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 0x496828
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 0x496849
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 0x496600
mov esi, dword [esp + 0x3c]
jmp 0x496989
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 0x54d738
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 0x4968f7
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 0x49691c
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 0x49693d
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 0x49685b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x3c]
jmp 0x496989
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 0x496989
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 0x496a6d
mov dword [esp + 0x18c], 0x54f550
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 0x4969f9
mov eax, dword [eax]
push eax
mov ecx, 0x57c2c4
call fcn.00420650
mov byte [esp + 0x1e0], 0x1f
cmp dword [esp + 0x188], 0x10
jb 0x496a25
push dword [esp + 0x174]
call fcn.004ea37d
add esp, 4
mov eax, dword [0x57c2c4]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x496a83
cmp ecx, edx
jg 0x496a83
cmp word [eax + ecx*2], 0xa
jne 0x496a49
push ecx
lea eax, [edx - 1]
push eax
call fcn.00498a30
cmp dword [esp + 0x1a4], 0x10
mov dword [esp + 0x18c], 0x54f550
jb 0x496a6d
push dword [esp + 0x190]
call fcn.004ea37d
add esp, 4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1e0], 0x15
call fcn.00439570
jmp 0x496bfb
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 0x496b03
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x496b13
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00420bb0
jmp 0x496b13
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 0x496b5e
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x496b6e
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.00420bb0
jmp 0x496b6e
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 0x496bb1
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 0x496bd6
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 0x496bfb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x496c08
push esi
call fcn.004ea37d
add esp, 4
push dword [esp + 0x30]
call fcn.004ea37d
mov eax, dword [esp + 0x54]
add esp, 4
test eax, eax
je 0x496c23
push eax
call dword [0x51b1a0]
mov eax, dword [esp + 0x4c]
mov esi, dword [0x51b104]
cmp eax, 0xffffffff
je 0x496c35
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 0x496c61
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.004e9f8a
mov esp, ebp
pop ebp
ret