Function at 0x1001c0b4
Capabilities:
Get disk information
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x24], edx
push ebx
push esi
push edi
test cl, cl
je 0x1001c258
push 2
lea ecx, [ebp - 0x38]
call fcn.100188f1
xor ebx, ebx
mov dword [ebp - 0x20], 0x8c66f5a9
mov dword [ebp - 0x14], ebx
jmp 0x1001c0f0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov dword [eax + ecx*4], 0xfffffffc
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1001c0e0
mov eax, dword [ebp - 0x38]
mov esi, dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [eax], ebx
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1001c126
push ebx
push 0xd92
push 0x975
call edi
push eax
call esi
push eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp - 0x38]
dec dword [eax]
mov ecx, dword [eax]
cmp ecx, 0xfffffff7
jge 0x1001c107
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x38]
call fcn.10018973
mov eax, dword [ebp - 0x24]
cmp byte [eax], bl
je 0x1001c167
push ebx
push 0x1abb
push ebx
push ebx
push 0x1578
push 0x2425
push 0x1c8b
call edi
push eax
call esi
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov dword [ebp - 0x20], 0x1342f3d4
xor esi, esi
mov dword [ebp - 0x20], 0xe3cb5af9
inc esi
mov dword [ebp - 0x24], 9
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ebx
jmp 0x1001c195
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xc], 0x7d21
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1001c187
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
sub edx, eax
mov eax, dword [ebp - 0xc]
cmp edx, eax
setg cl
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
imul eax, dword [ebp - 0xc], 7
cmp eax, 0xf49c23ed
mov eax, dword [ebp - 0xc]
sbb edx, edx
add edx, 0xdc2268d5
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov edx, dword [ebp - 0xc]
setg cl
add edx, ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
neg edx
sbb edx, edx
inc edx
add ecx, edx
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0xc]
setne dl
add eax, edx
cmp eax, dword [ebp - 0xc]
jge 0x1001c1fe
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
xor ebx, ebx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setg bl
xor edx, edx
cmp ebx, eax
mov eax, dword [ebp - 0xc]
setne dl
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
cmp ecx, 6
setg al
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x1001c24d
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x1001c24a
push eax
push 0x82c
push eax
push eax
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
xor eax, eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x12
jle 0x1001c231
jmp 0x1001c592
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], 0xab39e224
mov dword [ebp - 0x14], ebx
jmp 0x1001c277
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x54], 0xc64a6847
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1001c269
push 3
pop edi
mov dword [ebp - 8], edi
push 1
pop esi
cmp dword [ebp - 8], ebx
jl 0x1001c433
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x35ff5744
mov dword [ebp - 0x20], 0x9cbadbef
mov dword [ebp - 0x20], 0xdc28bf2f
mov dword [ebp - 0x20], 0x6f6066fa
mov dword [ebp - 0x24], 0x89736453
mov eax, dword [ebp - 8]
push 0xfffffffffffffff7
pop ecx
mov eax, dword [ebp + eax*4 - 0x54]
sub ecx, eax
je 0x1001c30f
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x54], 0xdef9
jl 0x1001c2de
mov eax, ebx
cmp dword [ebp - 0x18], ebx
je 0x1001c2e0
mov eax, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 8]
imul eax, eax, 0x4348f2d8
cmp eax, dword [ebp - 0x48]
jle 0x1001c305
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, esi
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x54]
mov dword [ebp - 0x1c], 0x772679f1
mov dword [ebp - 0x24], 0xc7a8f60f
mov eax, dword [ebp - 0x18]
sub ecx, eax
je 0x1001c376
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x10], ebx
jl 0x1001c424
mov dword [ebp - 0x14], ebx
jmp 0x1001c367
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x1001c364
push ebx
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jle 0x1001c354
dec dword [ebp - 0x10]
jns 0x1001c34f
jmp 0x1001c424
push esi
lea ecx, [ebp - 0x44]
call fcn.100188f1
mov dword [ebp - 0x14], ebx
jmp 0x1001c391
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x44]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1001c384
mov eax, dword [ebp - 0x44]
xor ebx, ebx
cmp dword [eax], ebx
mov eax, dword [ebp - 0x18]
setne bl
xor ecx, ecx
cmp eax, 0xffffffff
setge cl
xor eax, eax
cmp ecx, 0x4d18
setge al
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 4
mov eax, dword [ebp - 8]
setg dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x54]
cmp edx, eax
setl cl
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], 0xfffffff6
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x54]
cmp eax, esi
setg cl
xor eax, eax
cmp ebx, ecx
lea ecx, [ebp - 0x44]
setg al
mov dword [ebp - 0x24], eax
call fcn.10018973
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
dec dword [ebp - 8]
jns 0x1001c28f
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 8], ebx
jmp 0x1001c457
cmp byte [ebp - 1], 0
je 0x1001c454
push esi
push ebx
push 0x7fd
call edi
push eax
call dword [sym.imp.USER32.dll_SetScrollInfo]
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffff8
mov byte [ebp - 1], bl
jg 0x1001c43e
cmp byte [ebp - 1], 0
je 0x1001c471
push 0x1098
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 0x10], 0xfffffff8
mov dword [ebp - 0x1c], 0xd73ae4c7
mov dword [ebp - 0x14], ebx
jmp 0x1001c492
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2c], 0xae355683
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1001c484
mov dword [ebp - 0x10], ebx
jmp 0x1001c576
mov dword [ebp - 8], 0xb659d568
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], 0x3063
mov dword [ebp - 0x18], 0x5702
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x1001c4cb
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov eax, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x24]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setge dl
xor ecx, ecx
cmp edx, eax
setg cl
add ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x1001c514
mov edx, esi
cmp dword [ebp - 0x10], ebx
jne 0x1001c516
mov edx, ebx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp edx, eax
setl cl
cmp dword [ebp - 8], ecx
jne 0x1001c540
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x1001c573
push esi
push ebx
push 0x13d2
call edi
push eax
call dword [sym.imp.USER32.dll_GetDlgItemInt]
jmp 0x1001c573
mov dword [ebp - 8], ebx
jmp 0x1001c569
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x1001c566
push 0x3ea
push 0xb05
push 0x8bf
call edi
push eax
call dword [sym.imp.USER32.dll_CheckRadioButton]
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jle 0x1001c545
cmp dword [ebp - 0x2c], ebx
jne 0x1001c57f
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jle 0x1001c4a0
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x1001c592
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret