Function at 0x428c37
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 0x428c8b
cmp edi, 4
jle 0x428c8b
mov eax, dword [ebp + 0x6c]
push 0x4a7bd8
lea eax, [eax + edi*2 - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov dword [ebp + 0x44], esi
je 0x428c8e
mov dword [ebp + 0x44], ebx
lea eax, [edi + 0x532]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043d3c3
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 0x428d0f
mov edi, dword [ebp + 0x50]
add dword [ebp + 0x6c], 2
push edi
push 0x324
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
jmp 0x428d02
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.00428c37
add esp, 0x24
cmp eax, ebx
jne 0x428cf7
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 0x428ccd
mov ebx, dword [ebp + 0x4c]
jmp 0x429290
lea eax, [edi + 1]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x38], eax
push esi
call fcn.00405049
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 0x42905b
cmp byte [ebp + 0x5f], bl
jne 0x428d5b
push 0x16
lea eax, [esi + edi*2]
push str.INF.INF
push eax
call fcn.0041255f
add esp, 0xc
add edi, 5
mov dword [ebp + 0x58], edi
jmp 0x429077
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
jne 0x428d77
push 0x2e
lea eax, [esi + edi*2]
push str._________allinf_file_
push eax
call fcn.0041255f
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.004050ca
cmp eax, ebx
mov dword [ebp + 0x40], eax
je 0x429040
push 0x2800
lea ecx, [ebp + 0x6c]
call fcn.0043d3c3
push esi
push str.Found___s_
push 0x27ff
push dword [ebp + 0x6c]
call fcn.0048ff08
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 4]
add esp, 0x10
push ebx
push 0x11
push ebx
push dword [ebp + 0x6c]
call fcn.0041ab5d
lea ecx, [ebp + 0x6c]
call fcn.00437884
mov esi, dword [ebp + 0x40]
push esi
call fcn.00483f5d
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.0040dce3
mov esi, dword [ebp + 0x30]
cmp esi, ebx
jne 0x428e11
lea ecx, [ebp + 0x2c]
call fcn.0040dcb7
xor ebx, ebx
inc ebx
jmp 0x429290
push ebx
push 4
push edi
mov edi, dword [ebp + 0x48]
push edi
call fcn.0048f770
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 0x428e46
add esi, 3
mov dword [ebp + 0x6c], esi
jmp 0x428e83
mov esi, dword [ebp + 0x6c]
jmp 0x428e83
cmp esi, edi
jae 0x428e88
movsx ax, byte [esi]
push eax
call fcn.00402c20
add esp, 4
test al, al
jne 0x428e7f
inc esi
cmp esi, edi
mov dword [ebp + 0x6c], esi
jb 0x428e4f
jmp 0x428e7f
movsx ax, byte [esi]
push eax
call fcn.00402c20
add esp, 4
test al, al
je 0x428e83
inc esi
mov dword [ebp + 0x6c], esi
cmp esi, edi
jb 0x428e6a
cmp byte [esi], 0x23
je 0x428e4b
push dword [0x4be044]
lea ecx, [ebp + 0x50]
push 0x14
mov dword [ebp + 0x44], ebx
call fcn.00412809
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.004820ac
test al, al
jne 0x428ebb
cmp dl, 0x23
jne 0x428f0e
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 0x428f49
mov ecx, dword [ebp + 0x38]
add eax, ecx
cmp eax, esi
mov dword [ebp + 0x6c], eax
jae 0x428f66
push str._n_INFFILE_
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
cmp eax, ebx
je 0x428f63
mov byte [eax], bl
inc eax
mov dword [ebp + 0x6c], eax
jmp 0x428f66
movsx ax, byte [ecx]
push eax
call fcn.00402c20
add esp, 4
test al, al
jne 0x428f15
dec ecx
cmp ecx, dword [ebp + 0x6c]
ja 0x428efc
jmp 0x428f2b
lea eax, [ecx + 1]
cmp byte [eax], 0x23
jne 0x428f2b
cmp eax, ebx
mov esi, ecx
mov byte [ecx], bl
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x58], eax
jne 0x428ec2
mov esi, dword [ebp + 0x48]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp + 0x44]
call fcn.0043d2c0
mov eax, dword [ebp + 0x44]
add esi, eax
mov dword [ebp + 0x6c], eax
mov dword [esi], ebx
jmp 0x428ebf
mov eax, dword [ebp + 0x58]
cmp eax, ebx
je 0x428ffb
cmp byte [eax], 0x23
je 0x428ffb
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x6c], esi
push 0x14
lea ecx, [ebp + 0x4c]
call fcn.0043d29b
push dword [ebp + 0x4c]
call fcn.00437856
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.0043d3ea
mov eax, dword [ebp + 0x3c]
add eax, 0x17
push eax
push dword [ebp + 0x24]
push dword [edi]
call fcn.00405049
mov eax, dword [ebp + 0x3c]
add esp, 0xc
push 0x4bdbcc
push 0x10000
push esi
push 0x4289d6
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.00437884
mov esi, dword [ebp + 0x34]
mov edi, dword [ebp + 0x60]
jmp 0x428ecd
cmp edi, ebx
jle 0x429028
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 0x428fff
jmp 0x429028
mov eax, dword [ebp + 0x40]
mov eax, dword [eax + edi*4]
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x6c], eax
call fcn.00437884
dec edi
jns 0x429017
lea ecx, [ebp + 0x50]
call fcn.00437884
lea ecx, [ebp + 0x44]
call fcn.00437884
jmp 0x428e01
push 0x16
lea eax, [esi + edi*2]
push str..INF
push eax
call fcn.0041255f
mov eax, dword [ebp + 0x38]
add esp, 0xc
mov dword [ebp + 0x58], eax
jmp 0x429077
push 0x5c
push ebx
push dword [ebp + 0x6c]
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, ebx
je 0x429074
sub eax, dword [ebp + 0x6c]
inc eax
inc eax
sar eax, 1
jmp 0x429056
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.0048efb8
mov edi, dword [ebp + 0x70]
add esp, 0xc
cmp dword [ebp + 0x54], ebx
je 0x4291b2
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.0041255f
add esp, 0xc
cmp dword [ebp + 0x74], ebx
je 0x4290ee
push esi
push dword [ebp + 0x74]
mov ecx, edi
call fcn.0040fb43
test al, al
je 0x42919a
push ebx
push esi
push edi
call fcn.0041f83c
add esp, 0xc
cmp byte [edi + 0x37], bl
mov dword [ebp + 0x70], eax
jne 0x429188
cmp eax, ebx
je 0x429192
cmp byte [edi + 0x38], bl
mov dword [ebp + 0x6c], ebx
je 0x429122
push dword [ebp + 0x50]
mov ecx, edi
push esi
call fcn.0041fa82
jmp 0x429188
cmp byte [edi + 0x34], 3
je 0x42912d
cmp byte [edi + 0x36], bl
je 0x429165
cmp byte [edi + 0x36], bl
je 0x429141
push 0xffffffffffffffff
push dword [ebp + 0x70]
mov ecx, edi
push esi
call fcn.0042022c
jmp 0x429154
cmp byte [edi + 0x34], 3
jne 0x429157
push 0xffffffffffffffff
push dword [ebp + 0x70]
mov ecx, edi
push esi
call fcn.00420321
mov dword [ebp + 0x60], eax
inc dword [ebp + 0x6c]
cmp dword [ebp + 0x6c], 2
jge 0x429188
cmp dword [ebp + 0x60], ebx
je 0x429188
push ebx
push 0xffffffffffffffff
push dword [ebp + 0x50]
push esi
push dword [ebp + 0x70]
push edi
call fcn.0041f934
add esp, 0x18
inc dword [ebp + 0x6c]
cmp dword [ebp + 0x6c], 2
mov dword [ebp + 0x60], eax
jge 0x429188
cmp eax, ebx
jne 0x42912d
mov eax, dword [ebp + 0x70]
cmp eax, ebx
je 0x429192
mov word [eax], bx
cmp dword [ebp + 0x60], ebx
jne 0x42919a
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 0x4290af
lea ecx, [ebp + 0x54]
call fcn.00402bbf
cmp byte [ebp + 0x5f], 1
jne 0x429288
mov eax, dword [ebp + 0x3c]
push 0xc
lea eax, [esi + eax*2]
push str..
push eax
call fcn.0041255f
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp + 0x54]
push esi
push eax
mov word [ebp - 0x1fc], bx
call fcn.0048efb8
add esp, 0x18
cmp dword [ebp + 0x54], ebx
je 0x429288
test byte [ebp - 0x22c], 0x10
je 0x42926e
cmp word [ebp - 0x200], 0x2e
jne 0x42922a
cmp word [ebp - 0x1fe], bx
je 0x42926e
cmp word [ebp - 0x1fe], 0x2e
jne 0x42922a
cmp word [ebp - 0x1fc], bx
je 0x42926e
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.0041255f
push ebx
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push edi
push esi
call fcn.00428c37
add esp, 0x20
cmp eax, ebx
jne 0x429267
mov dword [ebp + 0x4c], ebx
mov word [ebp - 0x1fc], bx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp + 0x54]
call fcn.00405140
test eax, eax
jne 0x4291fb
mov ebx, dword [ebp + 0x4c]
lea ecx, [ebp + 0x54]
call fcn.00402bbf
lea ecx, [ebp + 0x28]
call fcn.00437884
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x64
leave
ret