Function at 0x100181f0
Capabilities:
Create thread
Get disk information
Get disk size
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f17ab
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1011f07c]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x14], esi
cmp dword [esi + 4], ebx
je 0x10018253
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax]
push ebx
call edx
cmp eax, ebx
je 0x10018253
lea eax, [ebx - 4]
jmp 0x100187ec
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [0x100f6b7c]
mov dword [esp + 0x48], eax
mov eax, dword [0x100f6b78]
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
call fcn.1000e2b0
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0xb4], ebx
call fcn.100257a0
mov byte [esp + 0xb0], 1
xor edi, edi
lea esp, [esp]
mov edx, 1
mov ecx, edi
shl edx, cl
test dword [esp + 0x48], edx
je 0x10018362
lea ecx, [esp + 0x98]
lea eax, [edi + 0x41]
push ecx
mov word [esp + 0x9c], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10018362
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x58]
push eax
push ebx
lea ecx, [esp + 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10018362
mov edx, dword [esp + 0x54]
sub edx, dword [esp + 0x5c]
mov ecx, dword [esi + 0x20]
mov eax, dword [esp + 0x58]
sbb eax, dword [esp + 0x60]
mov ebx, dword [esi + 0x24]
add edx, ecx
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x98]
adc eax, ebx
push edx
mov dword [esi + 0x24], eax
call fcn.100180e0
add esp, 4
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x98]
push eax
lea ecx, [esp + 0x48]
push ecx
lea ebx, [esp + 0x70]
call fcn.1001a1a0
mov ecx, eax
call dword [0x100f364c]
xor ebx, ebx
inc edi
cmp edi, 0x20
jl 0x100182c0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x4c], ecx
cmp edi, ebx
je 0x10018396
cmp edi, dword [esp + 0x68]
je 0x1001839c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x28], edx
je 0x10018490
push 8
call sub.mfc90u.dll_new
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100183c5
lea ecx, [ebx + 4]
call dword [0x100f3984]
jmp 0x100183c7
xor ebx, ebx
add esi, 0xfffffff8
mov dword [ebx], esi
test edi, edi
jne 0x1001841a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
cmp eax, dword [edi + 0x18]
jne 0x100183e5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x28]
add ecx, 0x10
push ecx
lea ecx, [ebx + 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push 0
push 0
push ebx
push 0x10019190
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
test edx, edx
jne 0x1001841e
xor esi, esi
jmp 0x10018427
mov edi, dword [edi]
jmp 0x100183d6
mov esi, dword [esp + 0x40]
sub esi, edx
sar esi, 2
mov ecx, dword [esp + 0x3c]
mov edi, ecx
sub edi, edx
sar edi, 2
cmp edi, esi
jae 0x10018450
mov dword [ecx], eax
add ecx, 4
mov byte [esp + 0x21], 0
mov byte [esp + 0x22], 0
mov byte [esp + 0x23], 0
mov dword [esp + 0x3c], ecx
jmp 0x10018478
mov esi, ecx
cmp edx, ecx
jbe 0x1001845c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
push esi
push eax
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x3c]
call fcn.1001a9e0
lea esi, [esp + 0x24]
call fcn.100bce60
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
xor ebx, ebx
jmp 0x10018381
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, eax
sub edx, ecx
sar edx, 2
test edx, edx
ja 0x100184b1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 1
push 1
sub eax, ecx
sar eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
jne 0x10018689
lea eax, [esi - 8]
neg eax
sbb eax, eax
and eax, esi
cmp dword [esi + 4], 0
je 0x100184ee
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x1001859f
lea eax, [esi + 0x10c]
push eax
xor ebx, ebx
call fcn.100012c0
cmp dword [esi + 0x16c], ebx
je 0x10018548
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x168]
mov ebx, dword [ecx]
lea edi, [esi + 0x154]
test eax, eax
jne 0x10018582
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x1001852f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 0x14]
mov eax, dword [edx]
mov ecx, dword [edi]
mov ebx, dword [ebx + 8]
push eax
push ecx
lea eax, [esp + 0x98]
push eax
call fcn.1001a440
mov edx, dword [esi + 0x10c]
mov eax, dword [edx + 0x1c]
lea ecx, [esi + 0x10c]
call eax
test ebx, ebx
je 0x10018490
cmp dword [ebx + 0x18], 0
je 0x10018586
lea ecx, [esi - 8]
push ecx
mov ecx, ebx
call fcn.10018950
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
jmp 0x10018490
mov eax, dword [eax]
jmp 0x10018524
push ebx
lea ecx, [esi + 0x78]
call fcn.10016030
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
jmp 0x10018490
lea eax, [esi + 0x10c]
push eax
call fcn.100012c0
mov eax, dword [esi + 0x168]
mov ecx, dword [eax]
mov edi, dword [esi + 0x154]
mov dword [esp + 0x18], ecx
lea ecx, [ecx]
mov ebx, dword [esi + 0x168]
mov eax, dword [esi + 0x154]
test edi, edi
je 0x100185d4
cmp edi, eax
je 0x100185da
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x18], ebx
je 0x1001863e
test edi, edi
jne 0x10018636
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x14]
jne 0x100185fb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001860f
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
test edi, edi
jne 0x1001863a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x1001862a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
jmp 0x100185c0
mov eax, dword [edi]
jmp 0x100185ec
mov eax, dword [edi]
jmp 0x1001861b
mov ecx, dword [esi + 0x168]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x168]
mov dword [ecx + 4], ecx
mov dword [esi + 0x16c], 0
cmp eax, dword [esi + 0x168]
je 0x10018678
mov edi, dword [eax]
push eax
call sub.mfc90u.dll_delete_1
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x168]
jne 0x10018663
mov edx, dword [esi + 0x10c]
mov eax, dword [edx + 0x1c]
lea ecx, [esi + 0x10c]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov edx, dword [esi + 0xa0]
mov eax, dword [edx + 0x54]
lea ecx, [esi + 0xa0]
call eax
test eax, eax
je 0x100186cd
lea eax, [esi - 8]
neg eax
sbb eax, eax
and eax, esi
cmp dword [esi + 4], 0
je 0x100186c3
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x100186cd
push 0x64
call ebx
inc edi
cmp edi, 0x3c
jl 0x10018691
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x80]
mov dword [esi + 0x34], ecx
mov ebx, dword [esi + 0x20]
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x24]
sub ebx, eax
sbb edx, ecx
cmp dword [esp + 0x18], edx
ja 0x10018757
jb 0x10018705
cmp edi, ebx
jae 0x10018757
add eax, edi
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
adc ecx, dword [esp + 0x18]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edx
cmp ecx, edx
jb 0x1001872b
ja 0x10018721
cmp eax, edi
jbe 0x1001872b
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
jmp 0x10018733
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x28], ebx
mov ebx, dword [esp + 0x18]
mov dword [esi + 0x2c], ebx
mov esi, dword [esi + 4]
test esi, esi
je 0x1001879d
mov ebx, dword [esi]
push ecx
push eax
push edx
mov edx, dword [ebx + 8]
push edi
mov ecx, esi
call edx
jmp 0x1001879d
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x20], ecx
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], eax
cmp edx, eax
jb 0x1001877d
ja 0x10018777
cmp edi, ecx
jbe 0x1001877d
mov edi, ecx
mov ebx, eax
jmp 0x1001877f
mov ebx, edx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], ebx
mov esi, dword [esi + 4]
test esi, esi
je 0x1001879d
mov edi, dword [esi]
push edx
mov edx, dword [esp + 0x18]
push edx
push eax
mov eax, dword [edi + 8]
push ecx
mov ecx, esi
call eax
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
je 0x100187b0
push eax
call sub.mfc90u.dll_delete_1
add esp, 4
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call sub.mfc90u.dll_delete_1
add esp, 4
lea esi, [esp + 0x68]
mov dword [esp + 0xb0], 2
call fcn.1001a830
mov edx, dword [esp + 0x68]
push edx
call sub.mfc90u.dll_delete_1
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.100e78b2
mov esp, ebp
pop ebp
ret 4