Function at 0x491620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd7fe
mov eax, dword fs:[0]
push eax
mov eax, 0x40a8
call fcn.0059a600
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x403c], eax
call fcn.0046d4f0
xor ebx, ebx
test eax, eax
je 0x4916e3
push ebx
push str.CSetupFilesInfo::GetChildFileName_n
push 0x6bed68
call fcn.00599ee3
mov ecx, dword [str.ENTRY:]
mov edx, dword [0x5ccf7c]
mov eax, 0x6bed68
mov dword [0x6bec68], ecx
add esp, 0xc
mov dword [0x6bec6c], edx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x491698
mov edi, 0x6bec68
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4916b0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d500
push 0x6bec68
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov dword [ebp - 0x4014], ebx
call fcn.004a8620
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x491703
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4040], eax
mov dword [ebp - 4], ebx
call fcn.004a8620
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x491732
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x401c], eax
mov byte [ebp - 4], 1
call fcn.004a8620
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x491762
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4018], eax
mov byte [ebp - 4], 2
call fcn.004a8620
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x491792
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x402c], eax
mov byte [ebp - 4], 3
call fcn.004a8620
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4917c2
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x4024], ebx
push 0xa
lea ecx, [ebp - 0x4078]
mov byte [ebp - 4], 4
call fcn.004a7e5d
push 0xa
lea ecx, [ebp - 0x40b4]
mov byte [ebp - 4], 5
call fcn.004a7e5d
push 0x104
lea ecx, [ebp - 0x114]
push ecx
mov byte [ebp - 4], 6
mov dword [ebp - 0x4034], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [ebp - 0x403c]
lea edx, [esi + 0xc]
push edx
lea ecx, [ebp - 0x400c]
call fcn.00407f40
lea eax, [ebp - 0x40b4]
push eax
push 5
lea ecx, [esi + 0x10]
push ecx
lea ecx, [ebp - 0x400c]
mov byte [ebp - 4], 7
call fcn.00438b90
test eax, eax
je 0x4926dc
mov eax, dword [esi + 0x78]
cmp eax, 7
je 0x4918c7
cmp eax, 0xb
je 0x4918c7
cmp eax, 8
je 0x4918c7
push 0x5cf6b4
lea ecx, [ebp - 0x4030]
call fcn.00403380
push eax
lea edx, [ebp - 0x4028]
push esi
push edx
mov byte [ebp - 4], 0xb
call fcn.00402910
add esp, 0xc
push eax
lea ecx, [ebp - 0x4040]
mov byte [ebp - 4], 0xc
call fcn.00402af0
mov eax, dword [ebp - 0x4028]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4918bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4030]
jmp 0x491966
push str.INFOEM.INF
lea ecx, [ebp - 0x4038]
call fcn.00403380
mov esi, eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x4030]
mov byte [ebp - 4], 8
call fcn.00403380
push esi
push eax
lea edx, [ebp - 0x4028]
push edx
mov byte [ebp - 4], 9
call fcn.00402910
add esp, 0xc
push eax
lea ecx, [ebp - 0x4040]
mov byte [ebp - 4], 0xa
call fcn.00402af0
mov eax, dword [ebp - 0x4028]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49193a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4030]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491960
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4038]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 7
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491986
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40b0]
mov esi, dword [ebp - 0x4018]
mov dword [ebp - 0x4030], eax
test eax, eax
je 0x4926e2
mov eax, dword [ebp - 0x4030]
test eax, eax
je case.0x4923f2.0
mov ecx, eax
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
mov dword [ebp - 0x4030], edx
cmp eax, edi
je 0x491a20
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x491a0a
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x491a0a
push eax
call fcn.004022e0
mov dword [ebp - 0x4028], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4919f9
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov esi, dword [ebp - 0x4028]
add esi, 0x10
mov dword [ebp - 0x4018], esi
jmp 0x491a20
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x4018]
call fcn.004026b0
mov esi, dword [ebp - 0x4018]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x4926c8
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x491a4e
push edi
lea ecx, [ebp - 0x4018]
call fcn.00402280
mov esi, dword [ebp - 0x4018]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.0059a1fe
add esp, 8
cmp eax, 0x50
ja case.0x4923f2.0
movzx edx, byte [eax + 0x492884]
jmp dword [edx*4 + 0x492874]
cmp edi, dword [esi - 8]
jg 0x4926c8
mov dword [esi - 0xc], edi
push 0x5dd8b8
lea ecx, [ebp - 0x4050]
mov byte [edi + esi], 0
call fcn.00403380
mov edi, eax
push 0x5dd8b8
lea ecx, [ebp - 0x4044]
mov byte [ebp - 4], 0xd
call fcn.00403380
push eax
lea eax, [ebp - 0x4018]
push eax
lea ecx, [ebp - 0x404c]
push ecx
mov byte [ebp - 4], 0xe
call fcn.00402910
mov edx, dword [ebp - 0x403c]
add edx, 0x14
push edx
push eax
lea eax, [ebp - 0x4058]
push eax
mov byte [ebp - 4], 0xf
call fcn.00402910
push edi
push eax
lea ecx, [ebp - 0x405c]
push ecx
mov byte [ebp - 4], 0x10
call fcn.00402910
mov edx, dword [ebp - 0x403c]
add edx, 0x18
push edx
push eax
lea eax, [ebp - 0x4054]
push eax
mov byte [ebp - 4], 0x11
call fcn.00402910
add esp, 0x30
mov ecx, dword [eax]
mov edi, dword [ebp - 0x402c]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
mov byte [ebp - 4], 0x12
cmp eax, edi
je 0x491b76
cmp dword [edi + 0xc], 0
jl 0x491b66
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x491b66
push eax
call fcn.004022e0
mov dword [ebp - 0x4028], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x491b55
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x4028]
add ecx, 0x10
mov dword [ebp - 0x402c], ecx
jmp 0x491b76
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x402c]
call fcn.004026b0
mov eax, dword [ebp - 0x4054]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x11
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x491b9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x405c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491bc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4058]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491be8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x404c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491c0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4044]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491c34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4050]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491c5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x402c]
mov edi, dword [eax - 0xc]
test edi, edi
js 0x4926c8
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or eax, ecx
jge 0x491c88
push edi
lea ecx, [ebp - 0x402c]
call fcn.00402280
mov edx, dword [ebp - 0x402c]
lea ecx, [edi + 1]
push ecx
push edx
call fcn.0059a1fe
add esp, 8
cmp eax, 0x50
ja case.0x4923f2.0
movzx eax, byte [eax + 0x4928e8]
jmp dword [eax*4 + 0x4928d8]
mov ecx, dword [ebp - 0x402c]
cmp edi, dword [ecx - 8]
jg 0x4926c8
mov eax, ecx
mov dword [eax - 0xc], edi
push 0xa
lea ecx, [ebp - 0x4098]
mov byte [edi + eax], 0
mov dword [ebp - 0x4038], 0
call fcn.004a7e5d
push 1
push 0
lea edx, [ebp - 0x4040]
push edx
lea ecx, [ebp - 0x4098]
mov byte [ebp - 4], 0x13
call fcn.00403440
mov eax, dword [ebp - 0x4094]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x407c], eax
mov dword [ebp - 0x4028], eax
test eax, eax
je 0x4926a5
lea esp, [esp]
cmp dword [ebp - 0x4038], 0
jne 0x4926a5
lea eax, [ebp - 0x4028]
push eax
lea ecx, [ebp - 0x4048]
push ecx
lea ecx, [ebp - 0x4098]
call fcn.0045f5b0
mov edx, dword [eax]
mov esi, dword [ebp - 0x401c]
lea eax, [esi - 0x10]
lea edi, [edx - 0x10]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x4020], eax
cmp edi, eax
je 0x491e15
cmp dword [eax + 0xc], 0
jl 0x491dff
mov ecx, dword [edi]
cmp ecx, dword [eax]
jne 0x491dff
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x491d9b
cmp eax, dword [edi]
jne 0x491d9b
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x491dcf
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4926d7
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
inc eax
push eax
add edi, 0x10
push edi
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0059aa3b
add esp, 0x10
mov eax, dword [ebp - 0x4020]
add eax, 0xc
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x491df4
mov eax, dword [ebp - 0x4020]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0x10
mov dword [ebp - 0x401c], esi
jmp 0x491e15
mov eax, dword [edx - 0xc]
push eax
push edx
lea ecx, [ebp - 0x401c]
call fcn.004026b0
mov esi, dword [ebp - 0x401c]
mov eax, dword [ebp - 0x4048]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491e3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov dword [ebp - 0x2090], eax
mov dword [ebp - 0x2088], eax
mov dword [ebp - 0x2084], eax
mov dword [ebp - 0x207c], eax
push 0x5dc
lea ecx, [ebp - 0x1f68]
push 0x4b
push ecx
mov dword [ebp - 0x1f6c], eax
call fcn.00599fb0
mov ecx, 0x5dc
xor eax, eax
lea edi, [ebp - 0x198c]
add esp, 0xc
rep stosd dword es:[edi], eax
mov edx, dword [esi - 0xc]
mov byte [ebp - 4], 0x18
test edx, edx
js 0x4926c8
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x491eb2
push edx
lea ecx, [ebp - 0x401c]
call fcn.00402280
mov esi, dword [ebp - 0x401c]
push esi
lea ecx, [ebp - 0x2090]
call fcn.0043ce60
lea ecx, [ebp - 0x4078]
mov byte [ebp - 4], 0x19
call fcn.004a7fe2
lea edx, [ebp - 0x4078]
push edx
lea ecx, [ebp - 0x2090]
call fcn.00428e90
test eax, eax
je 0x492683
mov eax, dword [ebp - 0x4074]
mov dword [ebp - 0x4020], eax
test eax, eax
je 0x492683
mov eax, dword [ebp - 0x403c]
mov ecx, dword [ebp - 0x4034]
lea edx, [eax + ecx*8 + 0x44]
mov dword [ebp - 0x4010], edx
cmp dword [ebp - 0x4038], 0
jne 0x4922a7
mov eax, dword [ebp - 0x4020]
test eax, eax
je case.0x4923f2.0
mov ecx, eax
mov eax, dword [eax + 8]
mov edx, dword [ecx]
lea esi, [eax - 0x10]
lea edi, [ebx - 0x10]
mov dword [ebp - 0x4020], edx
cmp esi, edi
je 0x491fe6
cmp dword [edi + 0xc], 0
jl 0x491fd0
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x491fd0
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x491f78
cmp eax, dword [esi]
jne 0x491f78
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x491fac
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4926d7
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0059aa3b
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x491fc5
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebx, 0x10
mov dword [ebp - 0x4024], ebx
jmp 0x491fe6
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x4024]
call fcn.004026b0
mov ebx, dword [ebp - 0x4024]
mov esi, dword [ebx - 0xc]
test esi, esi
js 0x4926c8
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x492014
push esi
lea ecx, [ebp - 0x4024]
call fcn.00402280
mov ebx, dword [ebp - 0x4024]
lea eax, [esi + 1]
push eax
push ebx
call fcn.0059a1fe
add esp, 8
cmp eax, 0x50
ja case.0x4923f2.0
movzx ecx, byte [eax + 0x49294c]
jmp dword [ecx*4 + 0x49293c]
cmp esi, dword [ebx - 8]
jg 0x4926c8
mov dword [ebx - 0xc], esi
mov byte [esi + ebx], 0
cmp dword [ebx - 0xc], 0
jl 0x49229a
mov edx, dword [ebp - 0x402c]
push edx
push ebx
call fcn.0059a963
add esp, 8
test eax, eax
je 0x49229a
sub eax, ebx
cmp eax, 0xffffffff
je 0x49229a
cmp dword [ebx - 0xc], 0
jl 0x49229a
push 0x5dd8b8
push ebx
call fcn.0059a963
add esp, 8
test eax, eax
je 0x49229a
sub eax, ebx
cmp eax, 0xffffffff
je 0x49229a
mov eax, dword [ebp - 0x4010]
mov esi, dword [ebp - 0x401c]
mov edi, dword [eax - 4]
add esi, 0xfffffff0
sub edi, 0x10
cmp esi, edi
je 0x49217a
cmp dword [edi + 0xc], 0
jl 0x492161
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x492161
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4920f6
cmp eax, dword [esi]
jne 0x4920f6
mov dword [ebp - 0x4014], esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x492134
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x4014], eax
test eax, eax
je 0x4926d7
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x4014]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
add ecx, 0x10
push ecx
call fcn.0059aa3b
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49214d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x4014]
mov eax, dword [ebp - 0x4010]
add ecx, 0x10
mov dword [eax - 4], ecx
jmp 0x49217a
mov eax, dword [ebp - 0x401c]
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [ebp - 0x4010]
push eax
add ecx, 0xfffffffc
call fcn.004026b0
mov edx, dword [ebp - 0x4010]
mov eax, dword [edx]
sub eax, 0x10
lea esi, [ebx - 0x10]
mov dword [ebp - 0x4014], eax
cmp esi, eax
je 0x492241
cmp dword [eax + 0xc], 0
jl 0x492231
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x492231
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4921cb
cmp eax, dword [esi]
jne 0x4921cb
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4921ff
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4926d7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0059aa3b
add esp, 0x10
mov eax, dword [ebp - 0x4014]
add eax, 0xc
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x492224
mov eax, dword [ebp - 0x4014]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x4010]
add edi, 0x10
mov dword [ecx], edi
jmp 0x492241
mov eax, dword [ebx - 0xc]
mov ecx, dword [ebp - 0x4010]
push eax
push ebx
call fcn.004026b0
call fcn.0046d4f0
test eax, eax
je 0x49227c
mov edx, dword [ebp - 0x401c]
mov eax, dword [ebp - 0x4034]
push ebx
push edx
push eax
push str.nChildIndex___d__csChildFileName___s__csChildBusTypeAndDeviceID___s_n
push 0x6beb68
call fcn.00599ee3
add esp, 0x14
push 0x6beb68
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov eax, 1
add dword [ebp - 0x4034], eax
add dword [ebp - 0x4010], 8
mov dword [ebp - 0x4038], eax
mov dword [ebp - 0x4014], eax
cmp dword [ebp - 0x4020], 0
jne 0x491f11
mov eax, dword [ebp - 0x4074]
test eax, eax
je 0x492683
mov ecx, dword [ebp - 0x403c]
mov edx, dword [ebp - 0x4034]
lea ecx, [ecx + edx*8 + 0x44]
mov dword [ebp - 0x4010], ecx
jmp 0x4922d6
mov eax, dword [ebp - 0x4020]
cmp dword [ebp - 0x4038], 0
jne 0x492683
test eax, eax
je case.0x4923f2.0
mov edx, dword [eax]
mov eax, dword [eax + 8]
lea esi, [eax - 0x10]
lea edi, [ebx - 0x10]
mov dword [ebp - 0x4020], edx
cmp esi, edi
je 0x4923a7
cmp dword [edi + 0xc], 0
jl 0x492391
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x492391
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x492339
cmp eax, dword [esi]
jne 0x492339
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x49236d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4926d7
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0059aa3b
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x492386
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebx, 0x10
mov dword [ebp - 0x4024], ebx
jmp 0x4923a7
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x4024]
call fcn.004026b0
mov ebx, dword [ebp - 0x4024]
mov esi, dword [ebx - 0xc]
test esi, esi
js 0x4926c8
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x4923d5
push esi
lea ecx, [ebp - 0x4024]
call fcn.00402280
mov ebx, dword [ebp - 0x4024]
lea eax, [esi + 1]
push eax
push ebx
call fcn.0059a1fe
add esp, 8
cmp eax, 0x50
ja case.0x4923f2.0
movzx ecx, byte [eax + 0x4929b0]
jmp dword [ecx*4 + 0x4929a0]
cmp esi, dword [ebx - 8]
jg 0x4926c8
mov dword [ebx - 0xc], esi
mov byte [esi + ebx], 0
mov esi, dword [ebp - 0x4018]
push esi
push ebx
call fcn.0059a822
add esp, 8
test eax, eax
je 0x49248e
cmp dword [esi - 0xc], 0
jl 0x492440
push 0x5cd28c
push esi
call fcn.0059a963
add esp, 8
test eax, eax
je 0x492440
sub eax, esi
cmp eax, 0xffffffff
jne 0x492676
cmp dword [ebx - 0xc], 0
jl 0x492676
push 0x5dd8b8
push ebx
call fcn.0059a963
add esp, 8
test eax, eax
je 0x492467
sub eax, ebx
cmp eax, 0xffffffff
jne 0x492676
cmp dword [ebx - 0xc], 0
jl 0x492676
push esi
push ebx
call fcn.0059a963
add esp, 8
test eax, eax
je 0x492676
sub eax, ebx
cmp eax, 0xffffffff
je 0x492676
mov ecx, dword [ebp - 0x4010]
mov esi, dword [ebp - 0x401c]
mov edi, dword [ecx - 4]
add ecx, 0xfffffffc
add esi, 0xfffffff0
sub edi, 0x10
cmp esi, edi
je 0x492556
cmp dword [edi + 0xc], 0
jl 0x492546
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x492546
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4924e5
cmp eax, dword [esi]
jne 0x4924e5
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x492519
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4926d7
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0059aa3b
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x492532
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x4010]
add ebx, 0x10
mov dword [eax - 4], ebx
mov ebx, dword [ebp - 0x4024]
jmp 0x492556
mov eax, dword [ebp - 0x401c]
mov edx, dword [eax - 0xc]
push edx
push eax
call fcn.004026b0
mov eax, dword [ebp - 0x4010]
mov eax, dword [eax]
sub eax, 0x10
lea esi, [ebx - 0x10]
mov dword [ebp - 0x4014], eax
cmp esi, eax
je 0x49261d
cmp dword [eax + 0xc], 0
jl 0x49260d
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x49260d
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4925a7
cmp eax, dword [esi]
jne 0x4925a7
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4925db
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4926d7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0059aa3b
add esp, 0x10
mov eax, dword [ebp - 0x4014]
add eax, 0xc
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x492600
mov eax, dword [ebp - 0x4014]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x4010]
add edi, 0x10
mov dword [ecx], edi
jmp 0x49261d
mov eax, dword [ebx - 0xc]
mov ecx, dword [ebp - 0x4010]
push eax
push ebx
call fcn.004026b0
call fcn.0046d4f0
test eax, eax
je 0x492658
mov edx, dword [ebp - 0x401c]
mov eax, dword [ebp - 0x4034]
push ebx
push edx
push eax
push str.nChildIndex___d__csChildFileName___s__csChildBusTypeAndDeviceID___s_n
push 0x6bea68
call fcn.00599ee3
add esp, 0x14
push 0x6bea68
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov eax, 1
add dword [ebp - 0x4034], eax
add dword [ebp - 0x4010], 8
mov dword [ebp - 0x4038], eax
mov dword [ebp - 0x4014], eax
cmp dword [ebp - 0x4020], 0
jne 0x4922d0
lea ecx, [ebp - 0x2090]
mov byte [ebp - 4], 0x14
call fcn.004339c0
cmp dword [ebp - 0x4028], 0
mov esi, dword [ebp - 0x4018]
jne 0x491d20
lea ecx, [ebp - 0x4098]
mov byte [ebp - 4], 7
call fcn.004a8028
cmp dword [ebp - 0x4030], 0
jne 0x4919a0
jmp 0x4926e2
call fcn.004a6edd
push 0x80070057
call fcn.00401b60
call fcn.004a6ea5
call fcn.00401f40
mov esi, dword [ebp - 0x4018]
call fcn.0046d4f0
test eax, eax
je 0x49276d
mov ecx, dword [ebp - 0x4014]
push ecx
push str.CSetupFilesInfo::GetChildFileName_:_bRetVal___d_n
push 0x6be968
call fcn.00599ee3
mov eax, dword [0x5ccefc]
mov edx, dword [str.EXIT:]
mov dword [0x6be86c], eax
mov eax, 0x6be968
add esp, 0xc
mov dword [0x6be868], edx
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x492725
mov edi, 0x6be868
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x492734
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x6be868
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
mov esi, dword [ebp - 0x4018]
lea ecx, [ebp - 0x400c]
mov byte [ebp - 4], 6
call fcn.004339c0
lea ecx, [ebp - 0x40b4]
mov byte [ebp - 4], 5
call fcn.004a8028
lea ecx, [ebp - 0x4078]
mov byte [ebp - 4], 4
call fcn.004a8028
add ebx, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4927ba
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x402c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4927e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492800
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x401c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492826
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4040]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49284f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4014]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 4