Function at 0x42800a
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x290
mov al, byte [ebp + 0x78]
push ebx
push esi
push edi
push dword [ebp + 0x6c]
xor esi, esi
and al, 0xf
inc esi
mov byte [ebp + 0x5f], al
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0x60], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
xor ebx, ebx
test byte [ebp + 0x78], 0xf0
mov dword [ebp + 0x3c], edi
jne 0x42805e
cmp edi, 4
jle 0x42805e
mov eax, dword [ebp + 0x6c]
push 0x4b2de8
lea eax, [eax + edi*2 - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov dword [ebp + 0x44], esi
je 0x428061
mov dword [ebp + 0x44], ebx
lea eax, [edi + 0x532]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043fdb8
mov esi, dword [ebp + 0x28]
lea eax, [edi + 0x20d]
lea eax, [esi + eax*2]
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x6c]
cmp word [eax], 0x5c
mov dword [ebp + 0x24], esi
jne 0x4280e2
mov edi, dword [ebp + 0x50]
add dword [ebp + 0x6c], 2
push edi
push 0x324
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
jmp 0x4280d5
push dword [ebp + 0x6c]
push edi
push str._s_s
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push ebx
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push dword [ebp + 0x70]
push esi
call fcn.0042800a
add esp, 0x24
cmp eax, ebx
jne 0x4280ca
mov dword [ebp + 0x4c], ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
cmp word [edi], bx
jne 0x4280a0
mov ebx, dword [ebp + 0x4c]
jmp 0x428664
lea eax, [edi + 1]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x38], eax
push esi
call fcn.0040542c
mov eax, dword [ebp + 0x70]
movzx eax, word [eax + 0x2c]
shl eax, 0x10
add esp, 0xc
cmp dword [ebp + 0x44], ebx
mov dword [ebp + 0x50], eax
jne 0x42842f
cmp byte [ebp + 0x5f], bl
jne 0x42812e
push 0x16
lea eax, [esi + edi*2]
push str.INF.INF
push eax
call fcn.00413203
add esp, 0xc
add edi, 5
mov dword [ebp + 0x58], edi
jmp 0x42844b
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
jne 0x42814a
push 0x2e
lea eax, [esi + edi*2]
push str._________allinf_file_
push eax
call fcn.00413203
add esp, 0xc
mov eax, esi
push ebx
push ebx
push 3
push ebx
push 7
push 0xc0000000
push eax
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x6c], ebx
call fcn.004054c4
cmp eax, ebx
mov dword [ebp + 0x40], eax
je 0x428414
push 0x2800
lea ecx, [ebp + 0x6c]
call fcn.0043fdb8
push esi
push str.Found___s_
push 0x27ff
push dword [ebp + 0x6c]
call fcn.0049ae18
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 4]
add esp, 0x10
push ebx
push ebx
push 0x11
push ebx
push dword [ebp + 0x6c]
call fcn.0041c2d3
lea ecx, [ebp + 0x6c]
call fcn.00439cfd
mov esi, dword [ebp + 0x40]
push esi
call fcn.0048c6df
pop ecx
push ebx
push ebx
push 8
mov edi, edx
push edi
push eax
lea ecx, [ebp + 0x2c]
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x30], ebx
call fcn.0040e8eb
mov esi, dword [ebp + 0x30]
cmp esi, ebx
jne 0x4281e5
lea ecx, [ebp + 0x2c]
call fcn.0040e8bf
xor ebx, ebx
inc ebx
jmp 0x428664
push ebx
push 4
push edi
mov edi, dword [ebp + 0x48]
push edi
call fcn.0049a840
add eax, 0xffff
and eax, 0xffff0000
mov dword [ebp + 0x38], eax
mov eax, dword [esi]
and eax, 0xffffff
add edi, esi
cmp eax, 0xbfbbef
mov dword [ebp + 0x6c], esi
jne 0x42821a
add esi, 3
mov dword [ebp + 0x6c], esi
jmp 0x428257
mov esi, dword [ebp + 0x6c]
jmp 0x428257
cmp esi, edi
jae 0x42825c
movsx ax, byte [esi]
push eax
call fcn.00439c7e
add esp, 4
test al, al
jne 0x428253
inc esi
cmp esi, edi
mov dword [ebp + 0x6c], esi
jb 0x428223
jmp 0x428253
movsx ax, byte [esi]
push eax
call fcn.00439c7e
add esp, 4
test al, al
je 0x428257
inc esi
mov dword [ebp + 0x6c], esi
cmp esi, edi
jb 0x42823e
cmp byte [esi], 0x23
je 0x42821f
push dword [0x4c9024]
lea ecx, [ebp + 0x50]
push 0x14
mov dword [ebp + 0x44], ebx
call fcn.0041385c
mov eax, dword [ebp + 0x50]
lea ecx, [edi - 1]
mov dl, byte [ecx]
mov dword [ebp + 0x40], eax
movsx ax, dl
mov dword [ebp + 0x58], ebx
call fcn.0040ea2b
test al, al
jne 0x42828f
cmp dl, 0x23
jne 0x4282e2
mov esi, ecx
mov byte [ecx], bl
mov dword [ebp + 0x34], esi
mov eax, dword [ebp + 0x6c]
xor edi, edi
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x78]
cmp eax, esi
jae 0x42831d
mov ecx, dword [ebp + 0x38]
add eax, ecx
cmp eax, esi
mov dword [ebp + 0x6c], eax
jae 0x42833a
push str._n_INFFILE_
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
cmp eax, ebx
je 0x428337
mov byte [eax], bl
inc eax
mov dword [ebp + 0x6c], eax
jmp 0x42833a
movsx ax, byte [ecx]
push eax
call fcn.00439c7e
add esp, 4
test al, al
jne 0x4282e9
dec ecx
cmp ecx, dword [ebp + 0x6c]
ja 0x4282d0
jmp 0x4282ff
lea eax, [ecx + 1]
cmp byte [eax], 0x23
jne 0x4282ff
cmp eax, ebx
mov esi, ecx
mov byte [ecx], bl
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x58], eax
jne 0x428296
mov esi, dword [ebp + 0x48]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp + 0x44]
call fcn.0043fc68
mov eax, dword [ebp + 0x44]
add esi, eax
mov dword [ebp + 0x6c], eax
mov dword [esi], ebx
jmp 0x428293
mov eax, dword [ebp + 0x58]
cmp eax, ebx
je 0x4283cf
cmp byte [eax], 0x23
je 0x4283cf
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x6c], esi
push 0x14
lea ecx, [ebp + 0x4c]
call fcn.0043fc43
push dword [ebp + 0x4c]
call fcn.00439c31
mov esi, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x70]
mov dword [esi], eax
mov eax, dword [ebp + 0x3c]
pop ecx
add eax, 0x20d
lea edi, [esi + 4]
push eax
mov ecx, edi
call fcn.0043fddf
mov eax, dword [ebp + 0x3c]
add eax, 0x17
push eax
push dword [ebp + 0x24]
push dword [edi]
call fcn.0040542c
mov eax, dword [ebp + 0x3c]
add esp, 0xc
push 0x4c8bd0
push 0x10000
push esi
push 0x427da9
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x78]
push 0x20000
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 0x60]
inc dword [ebp + 0x60]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x40]
mov dword [eax + ecx*4], esi
mov eax, dword [ebp + 0x6c]
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x78], eax
call fcn.00439cfd
mov esi, dword [ebp + 0x34]
mov edi, dword [ebp + 0x60]
jmp 0x4282a1
cmp edi, ebx
jle 0x4283fc
mov eax, dword [ebp + 0x40]
mov eax, dword [eax + ebx*4]
push 0xffffffffffffffff
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc ebx
cmp ebx, edi
jl 0x4283d3
jmp 0x4283fc
mov eax, dword [ebp + 0x40]
mov eax, dword [eax + edi*4]
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x6c], eax
call fcn.00439cfd
dec edi
jns 0x4283eb
lea ecx, [ebp + 0x50]
call fcn.00439cfd
lea ecx, [ebp + 0x44]
call fcn.00439cfd
jmp 0x4281d5
push 0x16
lea eax, [esi + edi*2]
push str..INF
push eax
call fcn.00413203
mov eax, dword [ebp + 0x38]
add esp, 0xc
mov dword [ebp + 0x58], eax
jmp 0x42844b
push 0x5c
push ebx
push dword [ebp + 0x6c]
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, ebx
je 0x428448
sub eax, dword [ebp + 0x6c]
inc eax
inc eax
sar eax, 1
jmp 0x42842a
mov dword [ebp + 0x58], ebx
xor eax, eax
mov dword [ebp - 0x22c], ebx
mov ecx, 0x93
lea edi, [ebp - 0x228]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp + 0x54]
push esi
push eax
mov dword [ebp + 0x54], ebx
call fcn.00499fd5
mov edi, dword [ebp + 0x70]
add esp, 0xc
cmp dword [ebp + 0x54], ebx
je 0x428586
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
push eax
lea eax, [ebp - 0x200]
push eax
mov eax, dword [ebp + 0x58]
lea eax, [esi + eax*2]
push eax
call fcn.00413203
add esp, 0xc
cmp dword [ebp + 0x74], ebx
je 0x4284c2
push esi
push dword [ebp + 0x74]
mov ecx, edi
call fcn.00410903
test al, al
je 0x42856e
push ebx
push esi
push edi
call fcn.004210b9
add esp, 0xc
cmp byte [edi + 0x37], bl
mov dword [ebp + 0x70], eax
jne 0x42855c
cmp eax, ebx
je 0x428566
cmp byte [edi + 0x38], bl
mov dword [ebp + 0x6c], ebx
je 0x4284f6
push dword [ebp + 0x50]
mov ecx, edi
push esi
call fcn.00421306
jmp 0x42855c
cmp byte [edi + 0x34], 3
je 0x428501
cmp byte [edi + 0x36], bl
je 0x428539
cmp byte [edi + 0x36], bl
je 0x428515
push 0xffffffffffffffff
push dword [ebp + 0x70]
mov ecx, edi
push esi
call fcn.00421ac7
jmp 0x428528
cmp byte [edi + 0x34], 3
jne 0x42852b
push 0xffffffffffffffff
push dword [ebp + 0x70]
mov ecx, edi
push esi
call fcn.00421bbe
mov dword [ebp + 0x60], eax
inc dword [ebp + 0x6c]
cmp dword [ebp + 0x6c], 2
jge 0x42855c
cmp dword [ebp + 0x60], ebx
je 0x42855c
push ebx
push 0xffffffffffffffff
push dword [ebp + 0x50]
push esi
push dword [ebp + 0x70]
push edi
call fcn.004211b2
add esp, 0x18
inc dword [ebp + 0x6c]
cmp dword [ebp + 0x6c], 2
mov dword [ebp + 0x60], eax
jge 0x42855c
cmp eax, ebx
jne 0x428501
mov eax, dword [ebp + 0x70]
cmp eax, ebx
je 0x428566
mov word [eax], bx
cmp dword [ebp + 0x60], ebx
jne 0x42856e
mov dword [ebp + 0x4c], ebx
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x428483
lea ecx, [ebp + 0x54]
call fcn.00402c90
cmp byte [ebp + 0x5f], 1
jne 0x42865c
mov eax, dword [ebp + 0x3c]
push 0xc
lea eax, [esi + eax*2]
push 0x4b3a80
push eax
call fcn.00413203
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp + 0x54]
push esi
push eax
mov word [ebp - 0x1fc], bx
call fcn.00499fd5
add esp, 0x18
cmp dword [ebp + 0x54], ebx
je 0x42865c
test byte [ebp - 0x22c], 0x10
je 0x428642
cmp word [ebp - 0x200], 0x2e
jne 0x4285fe
cmp word [ebp - 0x1fe], bx
je 0x428642
cmp word [ebp - 0x1fe], 0x2e
jne 0x4285fe
cmp word [ebp - 0x1fc], bx
je 0x428642
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
push eax
lea eax, [ebp - 0x200]
push eax
mov eax, dword [ebp + 0x3c]
lea eax, [esi + eax*2 + 2]
push eax
call fcn.00413203
push ebx
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push edi
push esi
call fcn.0042800a
add esp, 0x20
cmp eax, ebx
jne 0x42863b
mov dword [ebp + 0x4c], ebx
mov word [ebp - 0x1fc], bx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp + 0x54]
call fcn.0040553a
test eax, eax
jne 0x4285cf
mov ebx, dword [ebp + 0x4c]
lea ecx, [ebp + 0x54]
call fcn.00402c90
lea ecx, [ebp + 0x28]
call fcn.00439cfd
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x64
leave
ret