Function at 0x429061
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 0x4290b5
cmp edi, 4
jle 0x4290b5
mov eax, dword [ebp + 0x6c]
push 0x4aaaf8
lea eax, [eax + edi*2 - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
mov dword [ebp + 0x44], esi
je 0x4290b8
mov dword [ebp + 0x44], ebx
lea eax, [edi + 0x532]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043dd9c
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 0x429139
mov edi, dword [ebp + 0x50]
add dword [ebp + 0x6c], 2
push edi
push 0x324
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
jmp 0x42912c
push dword [ebp + 0x6c]
push edi
push 0x4ab97c
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.00429061
add esp, 0x24
cmp eax, ebx
jne 0x429121
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 0x4290f7
mov ebx, dword [ebp + 0x4c]
jmp 0x4296ba
lea eax, [edi + 1]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x38], eax
push esi
call fcn.0040515a
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 0x429485
cmp byte [ebp + 0x5f], bl
jne 0x429185
push 0x16
lea eax, [esi + edi*2]
push 0x4ab960
push eax
call fcn.004128b6
add esp, 0xc
add edi, 5
mov dword [ebp + 0x58], edi
jmp 0x4294a1
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
jne 0x4291a1
push 0x2e
lea eax, [esi + edi*2]
push 0x4ab930
push eax
call fcn.004128b6
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.004051d2
cmp eax, ebx
mov dword [ebp + 0x40], eax
je 0x42946a
push 0x2800
lea ecx, [ebp + 0x6c]
call fcn.0043dd9c
push esi
push 0x4ab918
push 0x27ff
push dword [ebp + 0x6c]
call fcn.00493438
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.0041b06a
lea ecx, [ebp + 0x6c]
call fcn.00437e1a
mov esi, dword [ebp + 0x40]
push esi
call fcn.004875b9
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.0040e183
mov esi, dword [ebp + 0x30]
cmp esi, ebx
jne 0x42923b
lea ecx, [ebp + 0x2c]
call fcn.00437d98
xor ebx, ebx
inc ebx
jmp 0x4296ba
push ebx
push 4
push edi
mov edi, dword [ebp + 0x48]
push edi
call fcn.00492e60
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 0x429270
add esi, 3
mov dword [ebp + 0x6c], esi
jmp 0x4292ad
mov esi, dword [ebp + 0x6c]
jmp 0x4292ad
cmp esi, edi
jae 0x4292b2
movsx ax, byte [esi]
push eax
call fcn.00402bd8
add esp, 4
test al, al
jne 0x4292a9
inc esi
cmp esi, edi
mov dword [ebp + 0x6c], esi
jb 0x429279
jmp 0x4292a9
movsx ax, byte [esi]
push eax
call fcn.00402bd8
add esp, 4
test al, al
je 0x4292ad
inc esi
mov dword [ebp + 0x6c], esi
cmp esi, edi
jb 0x429294
cmp byte [esi], 0x23
je 0x429275
push dword [0x4c105c]
lea ecx, [ebp + 0x50]
push 0x14
mov dword [ebp + 0x44], ebx
call fcn.00412b5f
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.00437e2d
test al, al
jne 0x4292e5
cmp dl, 0x23
jne 0x429338
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 0x429373
mov ecx, dword [ebp + 0x38]
add eax, ecx
cmp eax, esi
mov dword [ebp + 0x6c], eax
jae 0x429390
push 0x4ab90c
push eax
call dword [sym.imp.SHLWAPI.DLL_StrStrA]
cmp eax, ebx
je 0x42938d
mov byte [eax], bl
inc eax
mov dword [ebp + 0x6c], eax
jmp 0x429390
movsx ax, byte [ecx]
push eax
call fcn.00402bd8
add esp, 4
test al, al
jne 0x42933f
dec ecx
cmp ecx, dword [ebp + 0x6c]
ja 0x429326
jmp 0x429355
lea eax, [ecx + 1]
cmp byte [eax], 0x23
jne 0x429355
cmp eax, ebx
mov esi, ecx
mov byte [ecx], bl
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x58], eax
jne 0x4292ec
mov esi, dword [ebp + 0x48]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp + 0x44]
call fcn.0043dc99
mov eax, dword [ebp + 0x44]
add esi, eax
mov dword [ebp + 0x6c], eax
mov dword [esi], ebx
jmp 0x4292e9
mov eax, dword [ebp + 0x58]
cmp eax, ebx
je 0x429425
cmp byte [eax], 0x23
je 0x429425
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x6c], esi
push 0x14
lea ecx, [ebp + 0x4c]
call fcn.0043dc74
push dword [ebp + 0x4c]
call fcn.00437dec
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.0043ddc3
mov eax, dword [ebp + 0x3c]
add eax, 0x17
push eax
push dword [ebp + 0x24]
push dword [edi]
call fcn.0040515a
mov eax, dword [ebp + 0x3c]
add esp, 0xc
push 0x4c0bcc
push 0x10000
push esi
push 0x428e00
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.00437e1a
mov esi, dword [ebp + 0x34]
mov edi, dword [ebp + 0x60]
jmp 0x4292f7
cmp edi, ebx
jle 0x429452
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 0x429429
jmp 0x429452
mov eax, dword [ebp + 0x40]
mov eax, dword [eax + edi*4]
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x6c], eax
call fcn.00437e1a
dec edi
jns 0x429441
lea ecx, [ebp + 0x50]
call fcn.00437e1a
lea ecx, [ebp + 0x44]
call fcn.00437e1a
jmp 0x42922b
push 0x16
lea eax, [esi + edi*2]
push 0x4ab8f8
push eax
call fcn.004128b6
mov eax, dword [ebp + 0x38]
add esp, 0xc
mov dword [ebp + 0x58], eax
jmp 0x4294a1
push 0x5c
push ebx
push dword [ebp + 0x6c]
call dword [sym.imp.SHLWAPI.DLL_StrRChrW]
cmp eax, ebx
je 0x42949e
sub eax, dword [ebp + 0x6c]
inc eax
inc eax
sar eax, 1
jmp 0x429480
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.004926a2
mov edi, dword [ebp + 0x70]
add esp, 0xc
cmp dword [ebp + 0x54], ebx
je 0x4295dc
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.004128b6
add esp, 0xc
cmp dword [ebp + 0x74], ebx
je 0x429518
push esi
push dword [ebp + 0x74]
mov ecx, edi
call fcn.00410048
test al, al
je 0x4295c4
push ebx
push esi
push edi
call fcn.0041fd20
add esp, 0xc
cmp byte [edi + 0x37], bl
mov dword [ebp + 0x70], eax
jne 0x4295b2
cmp eax, ebx
je 0x4295bc
cmp byte [edi + 0x38], bl
mov dword [ebp + 0x6c], ebx
je 0x42954c
push dword [ebp + 0x50]
mov ecx, edi
push esi
call fcn.0041ff66
jmp 0x4295b2
cmp byte [edi + 0x34], 3
je 0x429557
cmp byte [edi + 0x36], bl
je 0x42958f
cmp byte [edi + 0x36], bl
je 0x42956b
push 0xffffffffffffffff
push dword [ebp + 0x70]
mov ecx, edi
push esi
call fcn.00420717
jmp 0x42957e
cmp byte [edi + 0x34], 3
jne 0x429581
push 0xffffffffffffffff
push dword [ebp + 0x70]
mov ecx, edi
push esi
call fcn.0042080d
mov dword [ebp + 0x60], eax
inc dword [ebp + 0x6c]
cmp dword [ebp + 0x6c], 2
jge 0x4295b2
cmp dword [ebp + 0x60], ebx
je 0x4295b2
push ebx
push 0xffffffffffffffff
push dword [ebp + 0x50]
push esi
push dword [ebp + 0x70]
push edi
call fcn.0041fe18
add esp, 0x18
inc dword [ebp + 0x6c]
cmp dword [ebp + 0x6c], 2
mov dword [ebp + 0x60], eax
jge 0x4295b2
cmp eax, ebx
jne 0x429557
mov eax, dword [ebp + 0x70]
cmp eax, ebx
je 0x4295bc
mov word [eax], bx
cmp dword [ebp + 0x60], ebx
jne 0x4295c4
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 0x4294d9
lea ecx, [ebp + 0x54]
call fcn.00402b8f
cmp byte [ebp + 0x5f], 1
jne 0x4296b2
mov eax, dword [ebp + 0x3c]
push 0xc
lea eax, [esi + eax*2]
push 0x4ab8e8
push eax
call fcn.004128b6
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp + 0x54]
push esi
push eax
mov word [ebp - 0x1fc], bx
call fcn.004926a2
add esp, 0x18
cmp dword [ebp + 0x54], ebx
je 0x4296b2
test byte [ebp - 0x22c], 0x10
je 0x429698
cmp word [ebp - 0x200], 0x2e
jne 0x429654
cmp word [ebp - 0x1fe], bx
je 0x429698
cmp word [ebp - 0x1fe], 0x2e
jne 0x429654
cmp word [ebp - 0x1fc], bx
je 0x429698
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.004128b6
push ebx
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push edi
push esi
call fcn.00429061
add esp, 0x20
cmp eax, ebx
jne 0x429691
mov dword [ebp + 0x4c], ebx
mov word [ebp - 0x1fc], bx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp + 0x54]
call fcn.00405248
test eax, eax
jne 0x429625
mov ebx, dword [ebp + 0x4c]
lea ecx, [ebp + 0x54]
call fcn.00402b8f
lea ecx, [ebp + 0x28]
call fcn.00437e1a
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x64
leave
ret