Function at 0x4288fa
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 0x42894b
cmp ebx, 4
jle 0x42894b
push 0x4c0ba4
lea eax, [edi + ebx*2 - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov dword [ebp + 0x48], 1
je 0x42894e
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.004441bf
cmp byte [ebp + 0x5a], 0
mov edi, dword [ebp + 0x18]
mov dword [ebp + 0x54], edi
lea edi, [edi + ebx*2 + 0x41a]
je 0x4289bd
push 0x1000
lea ecx, [ebp + 0x5c]
call fcn.004441bf
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.0041be8e
lea ecx, [ebp + 0x5c]
call fcn.0043dd41
mov eax, dword [ebp + 0x6c]
cmp word [eax], 0x5c
jne 0x428a1d
add dword [ebp + 0x6c], 2
push edi
push 0x324
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [edi], si
mov ebx, edi
je 0x429058
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.004288fa
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], si
jne 0x4289e1
jmp 0x429058
mov edi, dword [ebp + 0x54]
lea eax, [ebx + 1]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x3c], eax
push edi
call fcn.0040561e
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 0x428dec
cmp byte [ebp + 0x5b], 0
jne 0x428a65
push 0x16
push str.INF.INF
push edi
call fcn.00413fe3
add esp, 0xc
add ebx, 5
jmp 0x428e09
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 0x428a9a
push 0x2c
push str._________allinf_file_
push eax
call fcn.00413fe3
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 0x428dcf
push 0x2800
lea ecx, [ebp + 0x6c]
call fcn.004441bf
push dword [ebp + 0x5c]
push str.Found_Index__s_
push 0x27ff
push dword [ebp + 0x6c]
call fcn.004aa6d8
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.0041be8e
lea ecx, [ebp + 0x6c]
call fcn.0043dd41
mov edi, dword [ebp + 0x44]
push edi
mov dword [ebp + 0x40], esi
call fcn.00497abb
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.0040f3d5
mov edi, dword [ebp + 0x20]
cmp edi, esi
jne 0x428b43
lea ecx, [ebp + 0x1c]
call fcn.0040f3a9
lea ecx, [ebp + 0x44]
call fcn.00402c9f
xor esi, esi
inc esi
jmp 0x429058
push esi
push 4
push dword [ebp + 0x34]
push dword [ebp + 0x30]
call fcn.004aa100
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 0x428b7f
add edi, 3
mov dword [ebp + 0x6c], edi
jmp 0x428b82
mov edi, dword [ebp + 0x6c]
cmp byte [edi], 0x23
jne 0x428bc7
mov ecx, dword [ebp + 0x78]
cmp edi, ecx
jae 0x428bc7
movsx ax, byte [edi]
push eax
call fcn.0043dcc2
add esp, 4
test al, al
jne 0x428bbe
inc edi
cmp edi, ecx
mov dword [ebp + 0x6c], edi
jb 0x428b8e
jmp 0x428bbe
movsx ax, byte [edi]
push eax
call fcn.0043dcc2
add esp, 4
test al, al
je 0x428bc2
inc edi
mov dword [ebp + 0x6c], edi
cmp edi, ecx
jb 0x428ba9
cmp byte [edi], 0x23
je 0x428b8a
push dword [0x4d80bc]
lea ecx, [ebp + 0x3c]
push 0x14
mov dword [ebp + 0x48], esi
call fcn.0041462a
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.0040f4c7
test al, al
jne 0x428bfb
cmp dl, 0x23
jne 0x428c4b
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 0x428c87
mov ecx, dword [ebp + 0x28]
add eax, ecx
cmp eax, edi
mov dword [ebp + 0x6c], eax
jae 0x428ca4
push str._n_INFFILE_
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
cmp eax, esi
je 0x428ca1
mov byte [eax], 0
inc eax
mov dword [ebp + 0x6c], eax
jmp 0x428ca4
movsx ax, byte [ecx]
push eax
call fcn.0043dcc2
add esp, 4
test al, al
jne 0x428c52
dec ecx
cmp ecx, dword [ebp + 0x6c]
ja 0x428c39
jmp 0x428c69
lea eax, [ecx + 1]
cmp byte [eax], 0x23
jne 0x428c69
cmp eax, esi
mov edi, ecx
mov byte [ecx], 0
mov dword [ebp + 0x78], edi
mov dword [ebp + 0x2c], eax
jne 0x428c03
mov edi, dword [ebp + 0x30]
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp + 0x48]
call fcn.0044406f
mov eax, dword [ebp + 0x48]
add edi, eax
mov dword [ebp + 0x6c], eax
mov dword [edi], esi
jmp 0x428c00
mov eax, dword [ebp + 0x2c]
cmp eax, esi
je 0x428d47
cmp byte [eax], 0x23
je 0x428d47
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x6c], edi
push 0x14
lea ecx, [ebp + 0x38]
call fcn.0044404a
push dword [ebp + 0x38]
call fcn.0043dc4f
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.004441e6
lea eax, [ebx + 0x17]
push eax
push dword [ebp + 0x54]
mov eax, dword [ebp + 0x34]
push dword [eax]
call fcn.0040561e
mov eax, dword [ebp + 0x5c]
add esp, 0xc
push 0x4d7c18
push 0x10000
push edi
push 0x4285ed
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 0x428d26
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 0x428d2e
mov ecx, dword [ebp + 0x34]
call fcn.0043dc7d
mov eax, dword [ebp + 0x6c]
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x5c], eax
call fcn.0043dd41
mov eax, dword [ebp + 0x5c]
mov edi, dword [ebp + 0x78]
jmp 0x428c0c
xor edi, edi
cmp dword [ebp + 0x4c], esi
jle 0x428d73
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 0x428d6d
mov dword [ebp + 0x40], eax
inc edi
cmp edi, dword [ebp + 0x4c]
jl 0x428d4e
mov esi, dword [ebp + 0x4c]
jmp 0x428d91
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + esi*4]
lea ecx, [eax + 0x10]
mov dword [ebp + 0x6c], eax
call fcn.0043dc7d
lea ecx, [ebp + 0x6c]
call fcn.0043dd41
dec esi
jns 0x428d78
cmp byte [ebp + 0x63], 0
movsx esi, byte [ebp + 0x63]
jne 0x428da1
mov esi, dword [ebp + 0x40]
mov eax, dword [ebp + 0x70]
lea ecx, [ebp + 0x3c]
mov dword [eax + 0x104], esi
call fcn.0043dd41
lea ecx, [ebp + 0x48]
call fcn.0043dd41
lea ecx, [ebp + 0x1c]
call fcn.0040f3a9
lea ecx, [ebp + 0x44]
call fcn.00402c9f
jmp 0x429058
push 0x16
push str..INF
push edi
call fcn.00413fe3
mov ebx, dword [ebp + 0x3c]
add esp, 0xc
lea ecx, [ebp + 0x44]
call fcn.00402c9f
jmp 0x428e09
push 0x5c
push esi
push dword [ebp + 0x6c]
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, esi
je 0x428e07
sub eax, dword [ebp + 0x6c]
inc eax
inc eax
sar eax, 1
mov ebx, eax
jmp 0x428e09
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.004a97e8
add esp, 0xc
cmp dword [ebp + 0x50], esi
je 0x428f1d
mov eax, dword [ebp + 0x70]
cmp dword [eax + 0xfc], esi
jl 0x428f1d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [0x4d80bc]
mov edi, eax
lea eax, [edi + ebx]
lea eax, [eax + eax + 0xda]
push eax
lea ecx, [ebp + 0x5c]
call fcn.0041462a
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.0040561e
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.00413fe3
add esp, 0x18
push 0x4d7c18
push 0x10000
push esi
push 0x42818c
push 0x20000
xor edi, edi
push edi
mov byte [ebp + 0x63], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x428efb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x428ef3
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xc], edi
jg 0x428eeb
mov dword [ebp + 0x5c], edi
lea ecx, [ebp + 0x5c]
call fcn.0043dd41
lea eax, [ebp - 0x238]
push eax
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor esi, esi
test eax, eax
jne 0x428e40
mov edi, dword [ebp + 0x70]
lea ecx, [ebp + 0x50]
call fcn.00402cd4
cmp byte [ebp + 0x5b], 1
jne 0x429050
push 0xc
push 0x4c1998
push dword [ebp + 0x28]
call fcn.00413fe3
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.004a97e8
add esp, 0x18
cmp dword [ebp + 0x50], esi
je 0x429050
cmp dword [edi + 0xfc], esi
jl 0x429001
test byte [ebp - 0x238], 0x10
je 0x428fea
cmp word [ebp - 0x20c], 0x2e
jne 0x428fa3
cmp word [ebp - 0x20a], si
je 0x428fea
cmp word [ebp - 0x20a], 0x2e
jne 0x428fa3
cmp word [ebp - 0x208], si
je 0x428fea
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.00413fe3
push esi
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push edi
push ebx
call fcn.004288fa
add esp, 0x20
cmp eax, esi
jne 0x428fdf
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 0x428f68
cmp byte [ebp + 0x5a], 0
je 0x429043
push 0x1000
lea ecx, [ebp + 0x70]
call fcn.004441bf
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.0041be8e
lea ecx, [ebp + 0x70]
call fcn.0043dd41
cmp byte [ebp + 0x63], 0
movsx esi, byte [ebp + 0x63]
jne 0x429050
mov esi, dword [ebp + 0x40]
lea ecx, [ebp + 0x50]
call fcn.00402cd4
lea ecx, [ebp + 0x18]
call fcn.0043dd41
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x64
leave
ret