Function at 0x428720
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x29c
mov al, byte [ebp + 0x78]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x6c]
and al, 0xf
xor esi, esi
push edi
mov byte [ebp + 0x5b], al
mov dword [ebp + 0x40], esi
mov byte [ebp + 0x63], 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test byte [ebp + 0x78], 0xf0
mov ebx, eax
jne 0x428771
cmp ebx, 4
jle 0x428771
push 0x4c0b84
lea eax, [edi + ebx*2 - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov dword [ebp + 0x48], 1
je 0x428774
mov dword [ebp + 0x48], esi
mov eax, dword [ebp + 0x70]
mov al, byte [eax + 0x108]
and al, 2
mov byte [ebp + 0x5a], al
lea eax, [ebx + 0x532]
push eax
lea ecx, [ebp + 0x18]
call fcn.00443f79
cmp byte [ebp + 0x5a], 0
mov edi, dword [ebp + 0x18]
mov dword [ebp + 0x54], edi
lea edi, [edi + ebx*2 + 0x41a]
je 0x4287e3
push 0x1000
lea ecx, [ebp + 0x5c]
call fcn.00443f79
push dword [ebp + 0x6c]
push str.DeviDir....Begin:_s
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 0x70]
add esp, 0xc
push esi
push esi
push 0x1100
push esi
push dword [ebp + 0x5c]
add ecx, 4
call fcn.0041bcb9
lea ecx, [ebp + 0x5c]
call fcn.0043db4f
mov eax, dword [ebp + 0x6c]
cmp word [eax], 0x5c
jne 0x428843
add dword [ebp + 0x6c], 2
push edi
push 0x324
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [edi], si
mov ebx, edi
je 0x428e7e
push dword [ebp + 0x6c]
push ebx
push str._s_s
push dword [ebp + 0x54]
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push dword [ebp + 0x70]
push dword [ebp + 0x54]
call fcn.00428720
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], si
jne 0x428807
jmp 0x428e7e
mov edi, dword [ebp + 0x54]
lea eax, [ebx + 1]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x3c], eax
push edi
call fcn.004055fd
lea edi, [edi + ebx*2]
add esp, 0xc
cmp dword [ebp + 0x48], esi
mov dword [ebp + 0x28], edi
mov dword [edi], esi
mov dword [edi + 4], esi
jne 0x428c12
cmp byte [ebp + 0x5b], 0
jne 0x42888b
push 0x16
push str.INF.INF
push edi
call fcn.00413de4
add esp, 0xc
add ebx, 5
jmp 0x428c2f
mov ecx, dword [ebp + 0x7c]
cmp ecx, esi
mov edx, dword [ebp + 0x54]
lea eax, [edi + 2]
mov dword [ebp + 0x5c], ecx
mov word [eax], 0x5c
mov word [edi], 0x5c
mov word [edx + ebx*2 + 4], si
jne 0x4288c0
push 0x2c
push str._________allinf_file_
push eax
call fcn.00413de4
mov eax, dword [ebp + 0x54]
add esp, 0xc
mov dword [ebp + 0x5c], eax
push esi
push esi
push 3
push esi
push 7
push 0xc0000000
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x44], esi
call fcn.0040569f
cmp dword [ebp + 0x44], esi
je 0x428bf5
push 0x2800
lea ecx, [ebp + 0x6c]
call fcn.00443f79
push dword [ebp + 0x5c]
push str.Found_Index__s_
push 0x27ff
push dword [ebp + 0x6c]
call fcn.004aa658
mov ecx, dword [ebp + 0x70]
add esp, 0x10
push esi
push esi
push 0x11
push esi
push dword [ebp + 0x6c]
add ecx, 4
call fcn.0041bcb9
lea ecx, [ebp + 0x6c]
call fcn.0043db4f
mov edi, dword [ebp + 0x44]
push edi
mov dword [ebp + 0x40], esi
call fcn.00497b6d
pop ecx
push esi
push esi
push 8
push edx
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], esi
call fcn.0040f23b
mov edi, dword [ebp + 0x20]
cmp edi, esi
jne 0x428969
lea ecx, [ebp + 0x1c]
call fcn.0043d96f
lea ecx, [ebp + 0x44]
call fcn.00402cb5
xor esi, esi
inc esi
jmp 0x428e7e
push esi
push 4
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.004aa080
add eax, 0xffff
and eax, 0xffff0000
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x30]
add eax, edi
mov dword [ebp + 0x78], eax
mov eax, dword [edi]
and eax, 0xffffff
cmp eax, 0xbfbbef
mov dword [ebp + 0x6c], edi
jne 0x4289a5
add edi, 3
mov dword [ebp + 0x6c], edi
jmp 0x4289a8
mov edi, dword [ebp + 0x6c]
cmp byte [edi], 0x23
jne 0x4289ed
mov ecx, dword [ebp + 0x78]
cmp edi, ecx
jae 0x4289ed
movsx ax, byte [edi]
push eax
call fcn.00402d55
add esp, 4
test al, al
jne 0x4289e4
inc edi
cmp edi, ecx
mov dword [ebp + 0x6c], edi
jb 0x4289b4
jmp 0x4289e4
movsx ax, byte [edi]
push eax
call fcn.00402d55
add esp, 4
test al, al
je 0x4289e8
inc edi
mov dword [ebp + 0x6c], edi
cmp edi, ecx
jb 0x4289cf
cmp byte [edi], 0x23
je 0x4289b0
push dword [0x4d80c4]
lea ecx, [ebp + 0x3c]
push 0x14
mov dword [ebp + 0x48], esi
call fcn.0041440a
mov ecx, dword [ebp + 0x78]
mov eax, dword [ebp + 0x3c]
dec ecx
mov dl, byte [ecx]
mov dword [ebp + 0x24], eax
movsx ax, dl
mov dword [ebp + 0x2c], esi
call fcn.0043daaf
test al, al
jne 0x428a21
cmp dl, 0x23
jne 0x428a71
mov edi, ecx
mov byte [ecx], 0
mov dword [ebp + 0x78], edi
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0x5c], eax
cmp eax, edi
jae 0x428aad
mov ecx, dword [ebp + 0x28]
add eax, ecx
cmp eax, edi
mov dword [ebp + 0x6c], eax
jae 0x428aca
push str._n_INFFILE_
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
cmp eax, esi
je 0x428ac7
mov byte [eax], 0
inc eax
mov dword [ebp + 0x6c], eax
jmp 0x428aca
movsx ax, byte [ecx]
push eax
call fcn.00402d55
add esp, 4
test al, al
jne 0x428a78
dec ecx
cmp ecx, dword [ebp + 0x6c]
ja 0x428a5f
jmp 0x428a8f
lea eax, [ecx + 1]
cmp byte [eax], 0x23
jne 0x428a8f
cmp eax, esi
mov edi, ecx
mov byte [ecx], 0
mov dword [ebp + 0x78], edi
mov dword [ebp + 0x2c], eax
jne 0x428a29
mov edi, dword [ebp + 0x30]
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp + 0x48]
call fcn.00443e29
mov eax, dword [ebp + 0x48]
add edi, eax
mov dword [ebp + 0x6c], eax
mov dword [edi], esi
jmp 0x428a26
mov eax, dword [ebp + 0x2c]
cmp eax, esi
je 0x428b6d
cmp byte [eax], 0x23
je 0x428b6d
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x6c], edi
push 0x14
lea ecx, [ebp + 0x38]
call fcn.00443e04
push dword [ebp + 0x38]
call fcn.0043da5b
mov edi, dword [ebp + 0x38]
mov eax, dword [ebp + 0x70]
pop ecx
mov dword [edi], eax
lea eax, [ebx + 0x270]
lea ecx, [edi + 0x10]
push eax
mov dword [ebp + 0x34], ecx
call fcn.00443fa0
lea eax, [ebx + 0x17]
push eax
push dword [ebp + 0x54]
mov eax, dword [ebp + 0x34]
push dword [eax]
call fcn.004055fd
mov eax, dword [ebp + 0x5c]
add esp, 0xc
push 0x4d7c20
push 0x10000
push edi
push 0x428413
push 0x20000
push esi
mov dword [edi + 0xc], ebx
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [edi + 8], eax
je 0x428b4c
mov ecx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x24]
inc dword [ebp + 0x4c]
mov dword [eax + ecx*4], edi
mov dword [ebp + 0x38], esi
mov byte [ebp + 0x63], 0
jmp 0x428b54
mov ecx, dword [ebp + 0x34]
call fcn.0043da89
mov eax, dword [ebp + 0x6c]
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x5c], eax
call fcn.0043db4f
mov edi, dword [ebp + 0x78]
mov eax, dword [ebp + 0x5c]
jmp 0x428a32
xor edi, edi
cmp dword [ebp + 0x4c], esi
jle 0x428b99
mov eax, dword [ebp + 0x24]
lea ebx, [eax + edi*4]
mov eax, dword [ebx]
push 0xffffffffffffffff
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
cmp eax, esi
je 0x428b93
mov dword [ebp + 0x40], eax
inc edi
cmp edi, dword [ebp + 0x4c]
jl 0x428b74
mov esi, dword [ebp + 0x4c]
jmp 0x428bb7
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + esi*4]
lea ecx, [eax + 0x10]
mov dword [ebp + 0x6c], eax
call fcn.0043da89
lea ecx, [ebp + 0x6c]
call fcn.0043db4f
dec esi
jns 0x428b9e
cmp byte [ebp + 0x63], 0
movsx esi, byte [ebp + 0x63]
jne 0x428bc7
mov esi, dword [ebp + 0x40]
mov eax, dword [ebp + 0x70]
lea ecx, [ebp + 0x3c]
mov dword [eax + 0x104], esi
call fcn.0043db4f
lea ecx, [ebp + 0x48]
call fcn.0043db4f
lea ecx, [ebp + 0x1c]
call fcn.0043d96f
lea ecx, [ebp + 0x44]
call fcn.00402cb5
jmp 0x428e7e
push 0x16
push str..INF
push edi
call fcn.00413de4
mov ebx, dword [ebp + 0x3c]
add esp, 0xc
lea ecx, [ebp + 0x44]
call fcn.00402cb5
jmp 0x428c2f
push 0x5c
push esi
push dword [ebp + 0x6c]
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, esi
je 0x428c2d
sub eax, dword [ebp + 0x6c]
inc eax
inc eax
sar eax, 1
mov ebx, eax
jmp 0x428c2f
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x238], esi
mov ecx, 0x93
lea edi, [ebp - 0x234]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x238]
push eax
push dword [ebp + 0x54]
lea eax, [ebp + 0x50]
push eax
mov dword [ebp + 0x50], esi
call fcn.004a976e
add esp, 0xc
cmp dword [ebp + 0x50], esi
je 0x428d43
mov eax, dword [ebp + 0x70]
cmp dword [eax + 0xfc], esi
jl 0x428d43
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [0x4d80c4]
mov edi, eax
lea eax, [edi + ebx]
lea eax, [eax + eax + 0xda]
push eax
lea ecx, [ebp + 0x5c]
call fcn.0041440a
mov esi, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x70]
lea ecx, [ebx + 0x17]
mov dword [esi], eax
mov eax, dword [ebp + 0x5c]
push ecx
push dword [ebp + 0x54]
add eax, 0x14
push eax
mov dword [esi + 0x10], eax
call fcn.004055fd
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], ebx
mov word [eax + ebx*2 + 2], di
lea eax, [edi + edi + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [esi + 0x10]
lea eax, [eax + ebx*2 + 0x4e]
push eax
call fcn.00413de4
add esp, 0x18
push 0x4d7c20
push 0x10000
push esi
push 0x427fb2
push 0x20000
xor edi, edi
push edi
mov byte [ebp + 0x63], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x428d21
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x428d19
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xc], edi
jg 0x428d11
mov dword [ebp + 0x5c], edi
lea ecx, [ebp + 0x5c]
call fcn.0043db4f
lea eax, [ebp - 0x238]
push eax
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor esi, esi
test eax, eax
jne 0x428c66
mov edi, dword [ebp + 0x70]
lea ecx, [ebp + 0x50]
call fcn.00402cea
cmp byte [ebp + 0x5b], 1
jne 0x428e76
push 0xc
push 0x4c1978
push dword [ebp + 0x28]
call fcn.00413de4
mov ebx, dword [ebp + 0x54]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp + 0x50]
push ebx
push eax
mov word [ebp - 0x208], si
call fcn.004a976e
add esp, 0x18
cmp dword [ebp + 0x50], esi
je 0x428e76
cmp dword [edi + 0xfc], esi
jl 0x428e27
test byte [ebp - 0x238], 0x10
je 0x428e10
cmp word [ebp - 0x20c], 0x2e
jne 0x428dc9
cmp word [ebp - 0x20a], si
je 0x428e10
cmp word [ebp - 0x20a], 0x2e
jne 0x428dc9
cmp word [ebp - 0x208], si
je 0x428e10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp + 0x3c]
lea eax, [ebx + eax*2]
push eax
call fcn.00413de4
push esi
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push edi
push ebx
call fcn.00428720
add esp, 0x20
cmp eax, esi
jne 0x428e05
mov dword [ebp + 0x40], esi
mov byte [ebp + 0x63], 0
mov word [ebp - 0x208], si
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp + 0x50]
call fcn.00405715
test eax, eax
jne 0x428d8e
cmp byte [ebp + 0x5a], 0
je 0x428e69
push 0x1000
lea ecx, [ebp + 0x70]
call fcn.00443f79
push dword [ebp + 0x6c]
push str.DeviDir....End:_s
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push esi
push esi
push 0x1100
push esi
push dword [ebp + 0x70]
lea ecx, [edi + 4]
call fcn.0041bcb9
lea ecx, [ebp + 0x70]
call fcn.0043db4f
cmp byte [ebp + 0x63], 0
movsx esi, byte [ebp + 0x63]
jne 0x428e76
mov esi, dword [ebp + 0x40]
lea ecx, [ebp + 0x50]
call fcn.00402cea
lea ecx, [ebp + 0x18]
call fcn.0043db4f
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x64
leave
ret