Function at 0x100298a8
Capabilities:
Create thread
Get disk information
Resume thread

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 + 0x5a], 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 0x100298f9
cmp ebx, 4
jle 0x100298f9
push 0x100cad1c
lea eax, [edi + ebx*2 - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov dword [ebp + 0x48], 1
je 0x100298fc
mov dword [ebp + 0x48], esi
mov eax, dword [ebp + 0x70]
mov al, byte [eax + 0x108]
and al, 2
mov byte [ebp + 0x5b], al
lea eax, [ebx + 0x532]
push eax
lea ecx, [ebp + 0x18]
call fcn.10046141
cmp byte [ebp + 0x5b], 0
mov edi, dword [ebp + 0x18]
mov dword [ebp + 0x54], edi
lea edi, [edi + ebx*2 + 0x41a]
je 0x1002996b
push 0x1000
lea ecx, [ebp + 0x5c]
call fcn.10046141
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.1001b361
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
mov eax, dword [ebp + 0x6c]
cmp word [eax], 0x5c
jne 0x100299cb
add dword [ebp + 0x6c], 2
push edi
push 0x324
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [edi], si
mov ebx, edi
je 0x1002a057
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.100298a8
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], si
jne 0x1002998f
jmp 0x1002a057
mov edi, dword [ebp + 0x54]
lea eax, [ebx + 1]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x44], eax
push edi
call fcn.10005b3b
lea edi, [edi + ebx*2]
add esp, 0xc
cmp dword [ebp + 0x48], esi
mov dword [ebp + 0x24], edi
mov dword [edi], esi
mov dword [edi + 4], esi
jne 0x10029db0
cmp byte [ebp + 0x5a], 0
jne 0x10029a13
push 0x16
push str.INF.INF
push edi
call fcn.100144ff
add esp, 0xc
add ebx, 5
jmp 0x10029dcd
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 0x10029a48
push 0x2c
push str._________allinf_file_
push eax
call fcn.100144ff
mov eax, dword [ebp + 0x54]
add esp, 0xc
mov dword [ebp + 0x5c], eax
push esi
push esi
push 3
push esi
push 7
push 0x80000000
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x4c], esi
call fcn.10005b9d
cmp dword [ebp + 0x4c], esi
je 0x10029d93
push 0x2800
lea ecx, [ebp + 0x6c]
call fcn.10046141
push dword [ebp + 0x5c]
push str.Found_Index__s_
push 0x27ff
push dword [ebp + 0x6c]
call fcn.100b46b8
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.1001b361
lea ecx, [ebp + 0x6c]
call fcn.1003f96c
push dword [ebp + 0x4c]
mov dword [ebp + 0x40], esi
call fcn.100a0afd
pop ecx
mov ecx, dword [ebp + 0x4c]
push esi
push esi
push 8
mov edi, edx
push edi
mov dword [ebp + 0x2c], ecx
push eax
lea ecx, [ebp + 0x2c]
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x30], esi
call fcn.1000f68c
cmp dword [ebp + 0x30], esi
mov dword [ebp + 0x2c], esi
jne 0x10029af3
lea ecx, [ebp + 0x2c]
call fcn.1000f660
lea ecx, [ebp + 0x4c]
call fcn.10002d56
xor esi, esi
inc esi
jmp 0x1002a057
mov eax, dword [ebp + 0x34]
push esi
add eax, 3
push 4
adc edi, esi
push edi
push eax
call fcn.100b4150
mov ecx, dword [ebp + 0x34]
add eax, 0xffff
and eax, 0xffff0000
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x30]
lea edi, [ecx + eax]
mov dword [ebp + 0x6c], eax
mov eax, dword [eax]
and eax, 0xffffff
cmp eax, 0xbfbbef
jne 0x10029b37
mov ecx, dword [ebp + 0x30]
add ecx, 3
mov dword [ebp + 0x6c], ecx
jmp 0x10029b74
mov ecx, dword [ebp + 0x6c]
jmp 0x10029b74
cmp ecx, edi
jae 0x10029b79
movsx ax, byte [ecx]
push eax
call fcn.1000f7ed
add esp, 4
test al, al
jne 0x10029b70
inc ecx
cmp ecx, edi
mov dword [ebp + 0x6c], ecx
jb 0x10029b40
jmp 0x10029b70
movsx ax, byte [ecx]
push eax
call fcn.1000f7ed
add esp, 4
test al, al
je 0x10029b74
inc ecx
mov dword [ebp + 0x6c], ecx
cmp ecx, edi
jb 0x10029b5b
cmp byte [ecx], 0x23
je 0x10029b3c
push 0x18
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x48], esi
call fcn.10045fcc
push dword [ebp + 0x44]
call fcn.1003f93e
mov eax, dword [ebp + 0x44]
pop ecx
lea ecx, [edi - 1]
mov dl, byte [ecx]
mov dword [ebp + 0x1c], eax
movsx ax, dl
mov dword [ebp + 0x28], esi
call fcn.10002df6
test al, al
jne 0x10029baf
cmp dl, 0x23
jne 0x10029c02
mov edi, ecx
mov byte [ecx], 0
mov dword [ebp + 0x20], edi
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x5c]
cmp eax, edi
jae 0x10029c3e
mov ecx, dword [ebp + 0x24]
add eax, ecx
cmp eax, edi
mov dword [ebp + 0x3c], eax
jae 0x10029c5b
push str._n_INFFILE_
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
cmp eax, esi
je 0x10029c58
mov byte [eax], 0
inc eax
mov dword [ebp + 0x3c], eax
jmp 0x10029c5b
movsx ax, byte [ecx]
push eax
call fcn.1000f7ed
add esp, 4
test al, al
jne 0x10029c09
dec ecx
cmp ecx, dword [ebp + 0x6c]
ja 0x10029bf0
jmp 0x10029c20
lea eax, [ecx + 1]
cmp byte [eax], 0x23
jne 0x10029c20
cmp eax, esi
mov edi, ecx
mov byte [ecx], 0
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x28], eax
jne 0x10029bb7
mov edi, dword [ebp + 0x34]
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp + 0x48]
call fcn.10045ff1
mov eax, dword [ebp + 0x48]
add edi, eax
mov dword [ebp + 0x6c], eax
mov dword [edi], esi
jmp 0x10029bb4
mov eax, dword [ebp + 0x28]
cmp eax, esi
je 0x10029d05
cmp byte [eax], 0x23
je 0x10029d05
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x3c], edi
push 0x18
lea ecx, [ebp + 0x6c]
call fcn.10045fcc
push dword [ebp + 0x6c]
call fcn.1003f93e
mov edi, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x70]
pop ecx
mov dword [edi], eax
lea eax, [ebx + 0x270]
lea ecx, [edi + 0x14]
push eax
mov dword [ebp + 0x38], ecx
call fcn.10046168
lea eax, [ebx + 0x17]
push eax
push dword [ebp + 0x54]
mov eax, dword [ebp + 0x38]
push dword [eax]
call fcn.10005b3b
mov eax, dword [ebp + 0x5c]
add esp, 0xc
push 0x100e2c24
push 0x10004
push edi
push 0x10029585
push 0x20000
push esi
mov dword [edi + 0x10], ebx
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [edi + 8], eax
je 0x10029ce7
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x78]
inc dword [ebp + 0x78]
push eax
mov dword [edx + edi*4], ecx
mov dword [ebp + 0x6c], esi
mov byte [ebp + 0x63], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10029cef
mov ecx, dword [ebp + 0x38]
call fcn.1003f97f
mov eax, dword [ebp + 0x3c]
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x5c], eax
call fcn.1003f96c
mov edi, dword [ebp + 0x20]
jmp 0x10029bc0
xor edi, edi
cmp dword [ebp + 0x78], esi
jle 0x10029d31
mov eax, dword [ebp + 0x1c]
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 + 0x10]
cmp eax, esi
je 0x10029d2b
mov dword [ebp + 0x40], eax
inc edi
cmp edi, dword [ebp + 0x78]
jl 0x10029d0c
mov edi, dword [ebp + 0x78]
jmp 0x10029d55
mov eax, dword [ebp + 0x1c]
lea ebx, [eax + edi*4]
mov ecx, dword [ebx]
add ecx, 0x14
call fcn.1003f97f
mov eax, dword [ebx]
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x6c], eax
mov dword [ebx], esi
call fcn.1003f96c
dec edi
jns 0x10029d36
cmp byte [ebp + 0x63], 0
movsx esi, byte [ebp + 0x63]
jne 0x10029d65
mov esi, dword [ebp + 0x40]
mov eax, dword [ebp + 0x70]
lea ecx, [ebp + 0x44]
mov dword [eax + 0x104], esi
call fcn.1003f96c
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0x2c]
call fcn.1000f660
lea ecx, [ebp + 0x4c]
call fcn.10002d56
jmp 0x1002a057
push 0x16
push str..INF
push edi
call fcn.100144ff
mov ebx, dword [ebp + 0x44]
add esp, 0xc
lea ecx, [ebp + 0x4c]
call fcn.10002d56
jmp 0x10029dcd
push 0x5c
push esi
push dword [ebp + 0x6c]
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, esi
je 0x10029dcb
sub eax, dword [ebp + 0x6c]
inc eax
inc eax
sar eax, 1
mov ebx, eax
jmp 0x10029dcd
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.100b37d1
add esp, 0xc
cmp dword [ebp + 0x50], esi
je 0x10029f1c
mov eax, dword [ebp + 0x70]
cmp dword [eax + 0xfc], esi
jl 0x10029f1c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [0x100e30e4]
mov edi, eax
lea eax, [edi + ebx]
lea eax, [eax + eax + 0xde]
push eax
lea ecx, [ebp + 0x5c]
call fcn.10014baa
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, 0x18
push eax
mov dword [esi + 0x14], eax
call fcn.10005b3b
mov eax, dword [esi + 0x14]
mov dword [esi + 0x10], 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 + 0x14]
lea eax, [eax + ebx*2 + 0x4e]
push eax
call fcn.100144ff
add esp, 0x18
push 0x100e2c24
push 0x10004
push esi
push 0x10029163
push 0x20000
push 0
mov byte [ebp + 0x63], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [ebp + 0x38], eax
je 0x10029efa
and dword [ebp + 0x5c], 0
mov edi, 0x100e3d7c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
add dword [eax + 0x100], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push dword [ebp + 0x38]
mov edi, eax
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
lea eax, [ebp - 0x238]
push eax
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor esi, esi
test eax, eax
jne 0x10029e04
mov edi, dword [ebp + 0x70]
lea ecx, [ebp + 0x50]
call fcn.10002d8b
cmp byte [ebp + 0x5a], 1
jne 0x1002a04f
push 0xc
push str..
push dword [ebp + 0x24]
call fcn.100144ff
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.100b37d1
add esp, 0x18
cmp dword [ebp + 0x50], esi
je 0x1002a04f
cmp dword [edi + 0xfc], esi
jl 0x1002a000
test byte [ebp - 0x238], 0x10
je 0x10029fe9
cmp word [ebp - 0x20c], 0x2e
jne 0x10029fa2
cmp word [ebp - 0x20a], si
je 0x10029fe9
cmp word [ebp - 0x20a], 0x2e
jne 0x10029fa2
cmp word [ebp - 0x208], si
je 0x10029fe9
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 + 0x44]
lea eax, [ebx + eax*2]
push eax
call fcn.100144ff
push esi
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push edi
push ebx
call fcn.100298a8
add esp, 0x20
cmp eax, esi
jne 0x10029fde
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.10005c13
test eax, eax
jne 0x10029f67
cmp byte [ebp + 0x5b], 0
je 0x1002a042
push 0x1000
lea ecx, [ebp + 0x70]
call fcn.10046141
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.1001b361
lea ecx, [ebp + 0x70]
call fcn.1003f96c
cmp byte [ebp + 0x63], 0
movsx esi, byte [ebp + 0x63]
jne 0x1002a04f
mov esi, dword [ebp + 0x40]
lea ecx, [ebp + 0x50]
call fcn.10002d8b
lea ecx, [ebp + 0x18]
call fcn.1003f96c
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x64
leave
ret