Function at 0x404ed0
Capabilities:
Check if file exists
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62339f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5e8
mov eax, dword [0x6b94f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5dc], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x5e0], eax
mov dword [ebp - 0x5f8], 0
mov byte [ebp - 0x5e4], 0
call fcn.004062b0
mov ecx, eax
call fcn.00421033
lea eax, [ebp - 0x2c]
push eax
call fcn.004062b0
mov ecx, eax
call fcn.00420ab2
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
ja 0x405004
lea eax, [ebp - 0x204]
push eax
call fcn.004061f0
mov ecx, eax
call fcn.00413d2a
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x404fa7
mov ecx, eax
call fcn.00402a40
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x1f0]
cmp edx, 8
jb 0x404fe7
mov ecx, dword [ebp - 0x204]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404fdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060bf
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 7
mov word [ebp - 0x204], ax
call fcn.0041ab5d
test al, al
je 0x40507f
mov eax, dword [0x6c8f08]
test eax, eax
je 0x40507f
cmp dword [eax + 4], 4
jl 0x40507f
push str.1011
call fcn.0041a954
sub esp, 8
mov edi, eax
push 0x96
push str.CDoInstallAssist::DoInstall
push ecx
lea ecx, [ebp - 0x4b0]
call fcn.00403fa0
mov esi, eax
test edi, edi
mov byte [ebp - 4], 1
mov ecx, 0x6a45fc
cmovne ecx, edi
push ecx
lea ecx, [esi + 0x30]
push ecx
call fcn.00409bd0
mov ecx, dword [0x6c8f08]
add esp, 8
push esi
call fcn.00406370
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 0
call fcn.00404390
mov edi, dword [ebp - 0x5dc]
mov eax, dword [edi + 8]
xor edx, edx
mov esi, dword [edi + 4]
mov ecx, eax
sub ecx, esi
xor edi, edi
add ecx, 3
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x5d8], ecx
test ecx, ecx
je 0x4050be
mov eax, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x4050b6
mov eax, dword [ecx]
push 0
call dword [eax]
mov eax, dword [ebp - 0x5d8]
inc edi
add esi, 4
cmp edi, eax
jne 0x4050a4
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4050e8
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0041ef0d
add esp, 4
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.0041e9f8
add esp, 8
mov byte [ebp - 4], 2
lea edi, [ebp - 0x18c]
cmp dword [ebp - 0x178], 0x10
push 0xa
cmovae edi, dword [ebp - 0x18c]
push 1
call fcn.004061f0
mov ecx, eax
call fcn.00413d7b
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x405f8d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405f8d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [ebp - 0x5d8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x5d8]
test ecx, ecx
je 0x405f8d
test eax, eax
je 0x405f8d
push 0
push 0x404aa0
push edi
push eax
push ecx
call fcn.004bce60
test eax, eax
jne 0x405f8d
lea eax, [ebp - 0x1a4]
push eax
call fcn.004047e0
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x5d4], esp
mov ecx, esp
push eax
call fcn.00402b70
mov byte [ebp - 4], 4
call fcn.004062b0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0042116e
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004062b0
mov ecx, eax
call fcn.004210be
call fcn.004119d8
lea ecx, [ebp - 0x26c]
call fcn.004121d8
push 0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 5
call fcn.00420308
lea ecx, [ebp - 0x174]
call fcn.0041218a
mov byte [ebp - 4], 6
mov esi, dword [0x6c9040]
test esi, esi
jne 0x40528f
push 0x6c8fdc
mov dword [ebp - 0x5d4], 0x6c8fdc
call fcn.004c6a44
add esp, 4
test eax, eax
je 0x405241
push eax
call fcn.004c7274
add esp, 4
mov byte [ebp - 4], 7
mov esi, dword [0x6c9040]
test esi, esi
jne 0x40526d
push 4
call fcn.0050f187
mov esi, eax
add esp, 4
mov dword [ebp - 0x5d8], esi
mov dword [esi], vtable.HttpGetImpl.0
mov dword [0x6c9040], esi
push 0x6c8fdc
mov byte [ebp - 4], 8
call fcn.004c6a69
add esp, 4
test eax, eax
je 0x40528b
push eax
call fcn.004c7274
add esp, 4
mov byte [ebp - 4], 6
push 0
lea eax, [ebp - 0x174]
mov ecx, esi
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0041f3b9
sub esp, 0x18
lea eax, [ebp - 0x170]
mov ecx, esp
mov dword [ebp - 0x5f4], esp
push eax
call fcn.00402b70
sub esp, 0xc
mov byte [ebp - 4], 9
mov edi, esp
mov eax, 0x2aaaaaab
mov dword [ebp - 0x5d8], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [ebp - 0x154]
sub ecx, dword [ebp - 0x158]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4053cc
cmp eax, 0xaaaaaaa
ja 0x4060c4
lea esi, [eax + eax*2]
shl esi, 3
cmp esi, 0x1000
jb 0x405345
lea eax, [esi + 0x23]
or ecx, 0xffffffff
cmp eax, esi
cmovbe eax, ecx
push eax
call fcn.0050f187
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4060bf
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x405356
test esi, esi
je 0x405354
push esi
call fcn.0050f187
add esp, 4
jmp 0x405356
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov eax, dword [edi]
add eax, esi
mov dword [edi + 8], eax
mov esi, dword [edi]
mov ecx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x5d8]
mov edi, dword [ebp - 0x158]
mov dword [ebp - 0x5d4], ecx
mov dword [ebp - 0x5f0], esi
mov dword [ebp - 0x5ec], esi
mov dword [ebp - 0x5e8], eax
mov byte [ebp - 4], 0xa
cmp edi, ecx
je 0x4053b2
push edi
mov ecx, esi
call fcn.00406710
add esi, 0x18
add edi, 0x18
mov dword [ebp - 0x5ec], esi
cmp edi, dword [ebp - 0x5d4]
jne 0x405396
push ecx
mov edx, esi
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.00409f80
mov eax, dword [ebp - 0x5d8]
add esp, 4
mov dword [eax + 4], esi
mov byte [ebp - 4], 6
call fcn.00404ba0
movzx edi, al
push edi
call fcn.004062b0
mov ecx, eax
call fcn.004211ed
lea eax, [ebp - 0x11c]
push eax
call fcn.004062b0
mov ecx, eax
call fcn.00420ab2
push str.amaryllis.exe
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0xb
call fcn.00406420
lea eax, [ebp - 0x74]
push str.CMD_SILENCE_INSTALLED
push eax
call fcn.00416949
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0xc
push str.CMD_SMALLPKG_INST
push eax
call fcn.00416949
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
push str.CMD_FORCE_INSTALL
push eax
call fcn.00416949
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0xe
push str.CMD_PARENT_PROCESS_NAME
push eax
call fcn.00416949
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0xf
push str.CMD_RUNTIME_INST_COMPLETE
push eax
call fcn.00416949
add esp, 0x28
mov ecx, dword [ebp - 0x5e0]
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
push eax
call fcn.00413967
test al, al
je 0x40549a
cmp dword [ebp - 0x60], 8
lea edx, [ebp - 0x74]
cmovae edx, dword [ebp - 0x74]
jmp 0x40549f
mov edx, 0x6a33d4
mov ecx, edx
mov dword [ebp - 0xdc], 0
xor eax, eax
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4054c1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xec]
call fcn.00402c50
mov byte [ebp - 4], 0x11
call fcn.004062b0
mov ecx, eax
call fcn.00421037
test al, al
je 0x405507
cmp dword [ebp - 0x120], 8
lea edx, [ebp - 0x134]
cmovae edx, dword [ebp - 0x134]
jmp 0x40550c
mov edx, 0x6a4744
mov ecx, edx
mov dword [ebp - 0xc4], 0
xor eax, eax
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405530
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd4]
call fcn.00402c50
mov ecx, dword [ebp - 0x5e0]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x48], 8
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.00413967
test al, al
je 0x405578
cmp dword [ebp - 0x48], 8
lea edx, [ebp - 0x5c]
cmovae edx, dword [ebp - 0x5c]
jmp 0x40557d
mov edx, 0x6a33d4
mov ecx, edx
mov dword [ebp - 0xac], 0
xor eax, eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4055a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xbc]
call fcn.00402c50
mov ecx, dword [ebp - 0x5e0]
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0xf0], 8
cmovae eax, dword [ebp - 0x104]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00412e71
mov byte [ebp - 4], 0x14
test edi, edi
je 0x405607
lea eax, [ebp - 0x21c]
push str.CMD_UNDER_REVIEW
push eax
call fcn.00416949
add esp, 8
mov ecx, 1
jmp 0x405640
xor eax, eax
mov dword [ebp - 0x1ac], 0
push eax
push 0x6a33d4
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x1a8], 7
mov word [ebp - 0x1bc], ax
call fcn.00402c50
lea eax, [ebp - 0x1bc]
mov ecx, 2
mov dword [ebp - 0x94], 0
xor edx, edx
mov dword [ebp - 0x90], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x94], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ebp - 4], 0x16
test cl, 2
je 0x4056d9
mov edx, dword [ebp - 0x1a8]
and ecx, 0xfffffffd
mov dword [ebp - 0x5d4], ecx
cmp edx, 8
jb 0x4056d9
mov ecx, dword [ebp - 0x1bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4056c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060c9
push edx
push ecx
call fcn.0050f532
mov ecx, dword [ebp - 0x5d4]
add esp, 8
mov byte [ebp - 4], 0x17
test cl, 1
je 0x40573f
mov edx, dword [ebp - 0x208]
cmp edx, 8
jb 0x405722
mov ecx, dword [ebp - 0x21c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405718
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060ce
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 7
mov word [ebp - 0x21c], ax
cmp dword [ebp - 0x34], 0
ja 0x405869
xor eax, eax
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 7
mov word [ebp - 0x1ec], ax
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], 7
mov word [ebp - 0x1d4], ax
push eax
push 0x6a33d4
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0x19
call fcn.00402c50
push 0
push 0x6a33d4
lea ecx, [ebp - 0x1d4]
call fcn.00402c50
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0x1a
call fcn.00401a10
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402b70
lea ecx, [ebp - 0x44]
call fcn.00402a40
movups xmm0, xmmword [ebp - 0x234]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x224]
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x1c0]
movq qword [ebp - 0x34], xmm0
cmp edx, 8
jb 0x405829
mov ecx, dword [ebp - 0x1d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40581f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060d3
push edx
push ecx
call fcn.0050f532
add esp, 8
mov edx, dword [ebp - 0x1d8]
cmp edx, 8
jb 0x405869
mov ecx, dword [ebp - 0x1ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40585f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060d8
push edx
push ecx
call fcn.0050f532
add esp, 8
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
lea edi, [ebp - 0x104]
cmovae eax, dword [ebp - 0xa4]
lea esi, [ebp - 0xec]
cmp dword [ebp - 0x30], 8
lea edx, [ebp - 0xbc]
mov dword [ebp - 0x5d4], eax
lea ecx, [ebp - 0xd4]
push dword [ebp - 0x5d4]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp dword [ebp - 0xf0], 8
mov dword [ebp - 0x5d8], eax
lea eax, [ebp - 0x14c]
cmovae edi, dword [ebp - 0x104]
cmp dword [ebp - 0xd8], 8
push dword [ebp - 0x5d8]
cmovae esi, dword [ebp - 0xec]
cmp dword [ebp - 0xa8], 8
push edi
cmovae edx, dword [ebp - 0xbc]
cmp dword [ebp - 0xc0], 8
push esi
cmovae ecx, dword [ebp - 0xd4]
cmp dword [ebp - 0x138], 8
push edx
cmovae eax, dword [ebp - 0x14c]
push 1
push ecx
push eax
lea eax, [ebp - 0x8c]
push str._s__s_d__s__s__s_s__s
push eax
call fcn.0041e2c3
add esp, 0x28
mov byte [ebp - 4], 0x1b
call fcn.0041ab5d
test al, al
je 0x4059e4
mov eax, dword [0x6c8f08]
test eax, eax
je 0x4059e4
cmp dword [eax + 4], 4
jl 0x4059e4
cmp dword [ebp - 0x78], 8
lea edi, [ebp - 0x8c]
push str.1161
cmovae edi, dword [ebp - 0x8c]
call fcn.0041a954
sub esp, 8
mov esi, eax
push 0xce
push str.CDoInstallAssist::DoInstall
push ecx
lea ecx, [ebp - 0x5d0]
call fcn.00403fa0
mov dword [ebp - 0x5d4], eax
test esi, esi
mov byte [ebp - 4], 0x1c
mov ecx, 0x6a45fc
cmovne ecx, esi
lea esi, [eax + 0x30]
push ecx
push esi
call fcn.00409bd0
test edi, edi
mov eax, 0x6a45fc
cmovne eax, edi
push eax
push esi
call fcn.00409bd0
mov edi, dword [0x6c8f08]
add esp, 0x10
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x4059d5
nop dword [eax]
mov ecx, dword [esi]
push dword [ebp - 0x5d4]
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [edi + 0xc]
jne 0x4059c0
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 4], 0x1b
call fcn.00404390
cmp dword [ebp - 0x108], 8
lea ecx, [ebp - 0x11c]
push 0
cmovae ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x8c]
push 1
push ecx
push eax
call fcn.0041f281
mov byte [ebp - 4], 0x17
add esp, 0x14
mov edx, dword [ebp - 0x78]
mov byte [ebp - 0x5e4], 1
cmp edx, 8
jb 0x405a61
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405a57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060dd
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp edx, 8
jb 0x405abc
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405ab2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060e2
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
cmp edx, 8
jb 0x405b17
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405b0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060e7
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x405b6f
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405b65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060ec
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
cmp edx, 8
jb 0x405bd0
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405bc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060f1
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
cmp edx, 8
jb 0x405c31
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405c27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060f6
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
cmp edx, 8
jb 0x405c92
mov ecx, dword [ebp - 0x14c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405c88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060fb
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 7
mov word [ebp - 0x14c], ax
cmp edx, 8
jb 0x405cf3
mov ecx, dword [ebp - 0x104]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405ce9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406100
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
cmp edx, 8
jb 0x405d4e
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405d44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406105
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x405da6
mov ecx, dword [ebp - 0x134]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405d9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40610a
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 7
mov word [ebp - 0x134], ax
cmp edx, 8
jb 0x405e01
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405df7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40610f
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 8
jb 0x405e59
mov ecx, dword [ebp - 0x11c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405e4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406114
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 7
mov word [ebp - 0x11c], ax
mov dword [ebp - method.CParsePureSoftCfg.virtual_0], vtable.CParsePureSoftCfg.0
call fcn.00408800
mov edx, dword [ebp - 0x15c]
cmp edx, 8
jb 0x405ecf
mov ecx, dword [ebp - 0x170]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405ec5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406119
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov dword [ebp - 0x160], 0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x15c], 7
mov word [ebp - 0x170], ax
call fcn.0041f7dc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x190]
cmp edx, 8
jb 0x405f3b
mov ecx, dword [ebp - 0x1a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405f31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40611e
push edx
push ecx
call fcn.0050f532
add esp, 8
xor eax, eax
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 7
mov word [ebp - 0x1a4], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x178]
cmp edx, 0x10
jb 0x405f9d
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405f93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406123
jmp 0x405f93
mov byte [ebp - 4], 0
jmp 0x405f5b
push edx
push ecx
call fcn.0050f532
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x5dc]
xor edx, edx
xor edi, edi
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, eax
sub ecx, esi
add ecx, 3
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x5dc], ecx
test ecx, ecx
je 0x405ff2
mov eax, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x405fea
mov eax, dword [ecx]
push dword [ebp - 0x5e4]
call dword [eax + 4]
mov eax, dword [ebp - 0x5dc]
inc edi
add esi, 4
cmp edi, eax
jne 0x405fd3
call fcn.0041ab5d
test al, al
je 0x406063
mov eax, dword [0x6c8f08]
test eax, eax
je 0x406063
cmp dword [eax + 4], 4
jl 0x406063
push str.1012
call fcn.0041a954
sub esp, 8
mov edi, eax
push 0xd6
push str.CDoInstallAssist::DoInstall
push ecx
lea ecx, [ebp - 0x390]
call fcn.00403fa0
mov esi, eax
test edi, edi
mov byte [ebp - 4], 0x1d
mov eax, 0x6a45fc
lea ecx, [esi + 0x30]
cmovne eax, edi
push eax
push ecx
call fcn.00409bd0
mov ecx, dword [0x6c8f08]
add esp, 8
push esi
call fcn.00406370
lea ecx, [ebp - 0x390]
call fcn.00404390
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40609d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406093
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406123
push edx
push ecx
call fcn.0050f532
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050eeb2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0052e0c0
call fcn.004093d0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
int3