Function at 0x428d44
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 0x428d95
cmp ebx, 4
jle 0x428d95
push 0x4c3bac
lea eax, [edi + ebx*2 - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
mov dword [ebp + 0x48], 1
je 0x428d98
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.00444a2e
cmp byte [ebp + 0x5a], 0
mov edi, dword [ebp + 0x18]
mov dword [ebp + 0x54], edi
lea edi, [edi + ebx*2 + 0x41a]
je 0x428e07
push 0x1000
lea ecx, [ebp + 0x5c]
call fcn.00444a2e
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.0041afa3
lea ecx, [ebp + 0x5c]
call fcn.0043e48d
mov eax, dword [ebp + 0x6c]
cmp word [eax], 0x5c
jne 0x428e67
add dword [ebp + 0x6c], 2
push edi
push 0x324
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
cmp word [edi], si
mov ebx, edi
je 0x4294a2
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.00428d44
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], si
jne 0x428e2b
jmp 0x4294a2
mov edi, dword [ebp + 0x54]
lea eax, [ebx + 1]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x3c], eax
push edi
call fcn.00405988
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 0x429236
cmp byte [ebp + 0x5b], 0
jne 0x428eaf
push 0x16
push str.INF.INF
push edi
call fcn.004143a0
add esp, 0xc
add ebx, 5
jmp 0x429253
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 0x428ee4
push 0x2c
push str._________allinf_file_
push eax
call fcn.004143a0
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.00405a2a
cmp dword [ebp + 0x44], esi
je 0x429219
push 0x2800
lea ecx, [ebp + 0x6c]
call fcn.00444a2e
push dword [ebp + 0x5c]
push str.Found_Index__s_
push 0x27ff
push dword [ebp + 0x6c]
call fcn.004ad528
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.0041afa3
lea ecx, [ebp + 0x6c]
call fcn.0043e48d
mov edi, dword [ebp + 0x44]
push edi
mov dword [ebp + 0x40], esi
call fcn.0049a57e
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.0040f709
mov edi, dword [ebp + 0x20]
cmp edi, esi
jne 0x428f8d
lea ecx, [ebp + 0x1c]
call fcn.0043e2c7
lea ecx, [ebp + 0x44]
call fcn.00402cb5
xor esi, esi
inc esi
jmp 0x4294a2
push esi
push 4
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.004acfc0
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 0x428fc9
add edi, 3
mov dword [ebp + 0x6c], edi
jmp 0x428fcc
mov edi, dword [ebp + 0x6c]
cmp byte [edi], 0x23
jne 0x429011
mov ecx, dword [ebp + 0x78]
cmp edi, ecx
jae 0x429011
movsx ax, byte [edi]
push eax
call fcn.0043e40e
add esp, 4
test al, al
jne 0x429008
inc edi
cmp edi, ecx
mov dword [ebp + 0x6c], edi
jb 0x428fd8
jmp 0x429008
movsx ax, byte [edi]
push eax
call fcn.0043e40e
add esp, 4
test al, al
je 0x42900c
inc edi
mov dword [ebp + 0x6c], edi
cmp edi, ecx
jb 0x428ff3
cmp byte [edi], 0x23
je 0x428fd4
push dword [0x4db0bc]
lea ecx, [ebp + 0x3c]
push 0x14
mov dword [ebp + 0x48], esi
call fcn.004149df
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.00402d55
test al, al
jne 0x429045
cmp dl, 0x23
jne 0x429095
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 0x4290d1
mov ecx, dword [ebp + 0x28]
add eax, ecx
cmp eax, edi
mov dword [ebp + 0x6c], eax
jae 0x4290ee
push str._n_INFFILE_
push eax
call dword [sym.imp.shlwapi.dll_StrStrA]
cmp eax, esi
je 0x4290eb
mov byte [eax], 0
inc eax
mov dword [ebp + 0x6c], eax
jmp 0x4290ee
movsx ax, byte [ecx]
push eax
call fcn.0043e40e
add esp, 4
test al, al
jne 0x42909c
dec ecx
cmp ecx, dword [ebp + 0x6c]
ja 0x429083
jmp 0x4290b3
lea eax, [ecx + 1]
cmp byte [eax], 0x23
jne 0x4290b3
cmp eax, esi
mov edi, ecx
mov byte [ecx], 0
mov dword [ebp + 0x78], edi
mov dword [ebp + 0x2c], eax
jne 0x42904d
mov edi, dword [ebp + 0x30]
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp + 0x48]
call fcn.004448de
mov eax, dword [ebp + 0x48]
add edi, eax
mov dword [ebp + 0x6c], eax
mov dword [edi], esi
jmp 0x42904a
mov eax, dword [ebp + 0x2c]
cmp eax, esi
je 0x429191
cmp byte [eax], 0x23
je 0x429191
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x6c], edi
push 0x14
lea ecx, [ebp + 0x38]
call fcn.004448b9
push dword [ebp + 0x38]
call fcn.0043e39b
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.00444a55
lea eax, [ebx + 0x17]
push eax
push dword [ebp + 0x54]
mov eax, dword [ebp + 0x34]
push dword [eax]
call fcn.00405988
mov eax, dword [ebp + 0x5c]
add esp, 0xc
push 0x4dac18
push 0x10000
push edi
push 0x428a37
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 0x429170
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 0x429178
mov ecx, dword [ebp + 0x34]
call fcn.0043e3c9
mov eax, dword [ebp + 0x6c]
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x5c], eax
call fcn.0043e48d
mov eax, dword [ebp + 0x5c]
mov edi, dword [ebp + 0x78]
jmp 0x429056
xor edi, edi
cmp dword [ebp + 0x4c], esi
jle 0x4291bd
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 0x4291b7
mov dword [ebp + 0x40], eax
inc edi
cmp edi, dword [ebp + 0x4c]
jl 0x429198
mov esi, dword [ebp + 0x4c]
jmp 0x4291db
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + esi*4]
lea ecx, [eax + 0x10]
mov dword [ebp + 0x6c], eax
call fcn.0043e3c9
lea ecx, [ebp + 0x6c]
call fcn.0043e48d
dec esi
jns 0x4291c2
cmp byte [ebp + 0x63], 0
movsx esi, byte [ebp + 0x63]
jne 0x4291eb
mov esi, dword [ebp + 0x40]
mov eax, dword [ebp + 0x70]
lea ecx, [ebp + 0x3c]
mov dword [eax + 0x104], esi
call fcn.0043e48d
lea ecx, [ebp + 0x48]
call fcn.0043e48d
lea ecx, [ebp + 0x1c]
call fcn.0043e2c7
lea ecx, [ebp + 0x44]
call fcn.00402cb5
jmp 0x4294a2
push 0x16
push str..INF
push edi
call fcn.004143a0
mov ebx, dword [ebp + 0x3c]
add esp, 0xc
lea ecx, [ebp + 0x44]
call fcn.00402cb5
jmp 0x429253
push 0x5c
push esi
push dword [ebp + 0x6c]
call dword [sym.imp.shlwapi.dll_StrRChrW]
cmp eax, esi
je 0x429251
sub eax, dword [ebp + 0x6c]
inc eax
inc eax
sar eax, 1
mov ebx, eax
jmp 0x429253
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.004ac6b1
add esp, 0xc
cmp dword [ebp + 0x50], esi
je 0x429367
mov eax, dword [ebp + 0x70]
cmp dword [eax + 0xfc], esi
jl 0x429367
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push dword [0x4db0bc]
mov edi, eax
lea eax, [edi + ebx]
lea eax, [eax + eax + 0xda]
push eax
lea ecx, [ebp + 0x5c]
call fcn.004149df
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.00405988
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.004143a0
add esp, 0x18
push 0x4dac18
push 0x10000
push esi
push 0x4285d6
push 0x20000
xor edi, edi
push edi
mov byte [ebp + 0x63], 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, edi
je 0x429345
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x42933d
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [esi + 0xc], edi
jg 0x429335
mov dword [ebp + 0x5c], edi
lea ecx, [ebp + 0x5c]
call fcn.0043e48d
lea eax, [ebp - 0x238]
push eax
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
xor esi, esi
test eax, eax
jne 0x42928a
mov edi, dword [ebp + 0x70]
lea ecx, [ebp + 0x50]
call fcn.00402cea
cmp byte [ebp + 0x5b], 1
jne 0x42949a
push 0xc
push str..
push dword [ebp + 0x28]
call fcn.004143a0
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.004ac6b1
add esp, 0x18
cmp dword [ebp + 0x50], esi
je 0x42949a
cmp dword [edi + 0xfc], esi
jl 0x42944b
test byte [ebp - 0x238], 0x10
je 0x429434
cmp word [ebp - 0x20c], 0x2e
jne 0x4293ed
cmp word [ebp - 0x20a], si
je 0x429434
cmp word [ebp - 0x20a], 0x2e
jne 0x4293ed
cmp word [ebp - 0x208], si
je 0x429434
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.004143a0
push esi
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push edi
push ebx
call fcn.00428d44
add esp, 0x20
cmp eax, esi
jne 0x429429
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.00405aa0
test eax, eax
jne 0x4293b2
cmp byte [ebp + 0x5a], 0
je 0x42948d
push 0x1000
lea ecx, [ebp + 0x70]
call fcn.00444a2e
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.0041afa3
lea ecx, [ebp + 0x70]
call fcn.0043e48d
cmp byte [ebp + 0x63], 0
movsx esi, byte [ebp + 0x63]
jne 0x42949a
mov esi, dword [ebp + 0x40]
lea ecx, [ebp + 0x50]
call fcn.00402cea
lea ecx, [ebp + 0x18]
call fcn.0043e48d
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x64
leave
ret