Function at 0x416740
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b7678
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x4eb86c]
xor eax, esp
mov dword [esp + 0x4a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb86c]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
mov esi, ecx
push str.CInstallCtrl::GetSupportModelInfo
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], esi
call fcn.00405a40
xor ebx, ebx
mov dword [esp + 0x4c0], ebx
call fcn.0045a356
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4167b2
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
movzx ecx, word [esi + 0xa80]
mov edx, dword [0x4ed0cc]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._sLIB_04XES.SIF
push eax
mov byte [esp + 0x4d0], 1
call fcn.00404ae0
mov ebp, dword [esp + 0x24]
add esp, 0x10
lea ecx, [esp + 0x264]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x28], edi
je 0x416c51
lea ecx, [ecx]
call fcn.0045a356
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4167a8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x4c0], 2
call fcn.0043beb0
movzx edx, word [esi + 0xa80]
mov eax, dword [0x4ed0cc]
lea ecx, [esp + 0x290]
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push str._sLIB_04X_s
push ecx
mov byte [esp + 0x4d4], 3
call fcn.00404ae0
mov edx, dword [esp + 0x40]
add esp, 0x14
push edx
lea ecx, [esp + 0x6c]
call fcn.00444c70
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x4c4], 4
call fcn.00431560
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebp
jbe 0x416ae0
call fcn.0045a356
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4167a8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x4c0], 5
call fcn.0045a356
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4167a8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x4c0], 6
je 0x416933
mov edi, dword [esp + 0x20]
mov ecx, edi
sub ecx, eax
sar ecx, 3
cmp ebp, ecx
jb 0x416940
call fcn.00488c34
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + ebp*8]
mov esi, dword [esp + 0x40]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x4169a3
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x41698d
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x41698d
push edx
call fcn.00403380
add esp, 4
mov ebp, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x416980
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x34]
jmp 0x41699b
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00401700
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
cmp eax, ebx
je 0x4169b0
sub edi, eax
sar edi, 3
cmp ebp, edi
jb 0x4169b9
call fcn.00488c34
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + ebp*8 + 4]
mov esi, dword [esp + 0x44]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x416a15
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x416a07
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x416a07
push ecx
call fcn.00403380
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4169fa
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x34]
jmp 0x416a15
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00401700
mov esi, dword [esp + 0x2c]
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416a20
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x50]
call fcn.00404ea0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x3c]
add ecx, 0xa70
mov byte [esp + 0x68], bl
call fcn.004166a0
cmp dword [esp + 0x60], 8
mov byte [esp + 0x4c0], 7
jb 0x416a6e
mov edx, dword [esp + 0x4c]
push edx
call fcn.00458aee
add esp, 4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416a9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x4c0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416ac7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
cmp ebp, dword [esp + 0x3c]
mov dword [esp + 0x34], ebp
jb 0x4168b3
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x4c0], 3
je 0x416b12
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
call fcn.0040de60
mov edx, dword [esp + 0x2c]
push edx
call fcn.00458aee
add esp, 0x14
lea ecx, [esp + 0x68]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x4c0], 2
call fcn.0043bfa0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x4c0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416b57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x264]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x416810
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi + 0xa74]
cmp eax, ebx
je 0x416bd1
mov ecx, dword [esi + 0xa78]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jne 0x416bd1
mov eax, dword [esi + 0xa74]
cmp eax, ebx
je 0x416bc2
mov ecx, dword [esi + 0xa78]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x416bc7
call fcn.00488c34
mov ecx, dword [esi + 0xa74]
mov byte [ecx + 0x24], 1
mov eax, dword [esi + 0xa74]
cmp eax, ebx
je 0x416bf6
mov ecx, dword [esi + 0xa78]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x416c12
push str._ERROR_No_model_information_in_the_installer_package
call fcn.0044f300
push eax
call fcn.0044fb20
mov eax, dword [esp + 0x1c]
add esp, 8
add eax, 0xfffffff0
jmp 0x416c54
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4c0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416c39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c0], 0xffffffff
call fcn.00403f90
mov al, 1
jmp 0x416c8a
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4c0], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416c74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c0], 0xffffffff
call fcn.00403f90
xor al, al
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a0]
xor ecx, esp
call fcn.004888ae
add esp, 0x4b0
ret