Function at 0x10019920
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 0x100efbed
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x1012007c]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 4], ebx
je 0x1001997f
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax]
push ebx
call edx
cmp eax, ebx
je 0x1001997f
lea eax, [ebx - 4]
jmp 0x1001a05a
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [0x100f7b7c]
mov dword [esp + 0x14], eax
mov eax, dword [0x100f7b78]
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
call fcn.100bb530
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0xcc], ebx
call fcn.1001a750
mov byte [esp + 0xc8], 1
xor esi, esi
mov eax, dword [esp + 0x14]
mov edx, 1
mov ecx, esi
shl edx, cl
test eax, edx
je 0x10019a8c
lea edx, [esp + 0xb0]
lea ecx, [esi + 0x41]
push edx
mov word [esp + 0xb4], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10019a8c
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x68]
push ecx
push ebx
lea edx, [esp + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10019a8c
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x6c]
mov edx, dword [edi + 0x20]
mov ecx, dword [esp + 0x68]
sbb ecx, dword [esp + 0x70]
mov ebx, dword [edi + 0x24]
add eax, edx
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0xb0]
adc ecx, ebx
push eax
mov dword [edi + 0x24], ecx
call fcn.10018530
mov ecx, dword [esp + 0xb4]
add esp, 4
push ecx
lea edx, [esp + 0x58]
push edx
lea ebx, [esp + 0x80]
mov dword [esp + 0x5c], eax
call fcn.1001a5f0
mov ecx, eax
call dword [0x100f464c]
xor ebx, ebx
inc esi
cmp esi, 0x20
jl 0x100199e5
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
jmp 0x10019ab0
mov esi, dword [esp + 0x90]
test ebx, ebx
je 0x10019ac1
cmp ebx, dword [esp + 0x78]
je 0x10019ac7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x24], esi
je 0x10019eb0
push 8
call sub.mfc90u.dll_new
mov esi, eax
add esp, 4
test esi, esi
je 0x10019aec
lea ecx, [esi + 4]
call dword [0x100f4984]
jmp 0x10019aee
xor esi, esi
lea eax, [edi - 8]
mov dword [esi], eax
test ebx, ebx
jne 0x10019b66
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 0x18]
jne 0x10019b0e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
add eax, 0x10
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x18], eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
test ebx, ebx
jne 0x10019b6a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov esi, dword [esp + 0x24]
cmp esi, dword [eax + 0x18]
jne 0x10019b3e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x10]
cmp dword [eax - 0xc], 2
push 8
jle 0x10019dc5
call sub.mfc90u.dll_new
mov esi, eax
add esp, 4
test esi, esi
je 0x10019b6e
lea ecx, [esi + 4]
call dword [0x100f4984]
jmp 0x10019b70
mov eax, dword [ebx]
jmp 0x10019aff
mov eax, dword [ebx]
jmp 0x10019b2f
xor esi, esi
lea eax, [edi - 8]
mov dword [esi], eax
test ebx, ebx
jne 0x10019c25
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x18]
jne 0x10019b94
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x14], ecx
test ebx, ebx
jne 0x10019c2c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x24]
cmp edx, dword [ebx + 0x18]
jne 0x10019bbf
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
lea eax, [esp + 0x60]
push eax
add ecx, 0x10
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push eax
lea ecx, [esi + 4]
mov byte [esp + 0xcc], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x58]
mov byte [esp + 0xc8], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0
push 0
push esi
push 0x1001a090
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
test ecx, ecx
jne 0x10019c30
xor esi, esi
jmp 0x10019c39
mov eax, dword [ebx]
jmp 0x10019b85
mov ebx, dword [ebx]
jmp 0x10019bb0
mov esi, dword [esp + 0x3c]
sub esi, ecx
sar esi, 2
mov edx, dword [esp + 0x38]
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp ebx, esi
jae 0x10019c62
mov dword [edx], eax
add edx, 4
mov byte [esp + 0x49], 0
mov byte [esp + 0x46], 0
mov byte [esp + 0x47], 0
mov dword [esp + 0x38], edx
jmp 0x10019c8a
mov esi, edx
cmp ecx, edx
jbe 0x10019c6e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x38]
call fcn.1001ae40
push 8
call sub.mfc90u.dll_new
mov esi, eax
add esp, 4
test esi, esi
je 0x10019ca5
lea ecx, [esi + 4]
call dword [0x100f4984]
jmp 0x10019ca7
xor esi, esi
lea eax, [edi - 8]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x10019d54
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ebx, dword [esp + 0x24]
cmp ebx, dword [eax + 0x18]
jne 0x10019ccf
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax - 0xc]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x10019d5b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10019cf4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x64]
push edx
lea ecx, [ebx + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [esi + 4]
mov byte [esp + 0xcc], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0
push 0
push esi
push 0x1001a090
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
test ecx, ecx
jne 0x10019d5f
xor esi, esi
jmp 0x10019d68
mov eax, dword [eax]
jmp 0x10019cc0
mov eax, dword [eax]
jmp 0x10019ce9
mov esi, dword [esp + 0x3c]
sub esi, ecx
sar esi, 2
mov edx, dword [esp + 0x38]
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp ebx, esi
jae 0x10019da1
mov dword [edx], eax
add edx, 4
lea esi, [esp + 0x20]
mov byte [esp + 0x4b], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0x43], 0
mov dword [esp + 0x38], edx
call fcn.100bd160
mov ebx, dword [esp + 0x20]
jmp 0x10019ab0
mov esi, edx
cmp ecx, edx
jbe 0x10019dad
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
push esi
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xa4]
push ecx
jmp 0x10019e95
call sub.mfc90u.dll_new
mov esi, eax
add esp, 4
test esi, esi
je 0x10019dde
lea ecx, [esi + 4]
call dword [0x100f4984]
jmp 0x10019de0
xor esi, esi
lea eax, [edi - 8]
mov dword [esi], eax
test ebx, ebx
jne 0x10019e30
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x24]
cmp edx, dword [ebx + 0x18]
jne 0x10019dfe
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esi + 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 esi
push 0x1001a090
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x50], eax
test edx, edx
jne 0x10019e34
xor esi, esi
jmp 0x10019e3d
mov ebx, dword [ebx]
jmp 0x10019def
mov esi, dword [esp + 0x3c]
sub esi, edx
sar esi, 2
mov ecx, dword [esp + 0x38]
mov ebx, ecx
sub ebx, edx
sar ebx, 2
cmp ebx, esi
jae 0x10019e76
mov dword [ecx], eax
add ecx, 4
lea esi, [esp + 0x20]
mov byte [esp + 0x4a], 0
mov byte [esp + 0x44], 0
mov byte [esp + 0x45], 0
mov dword [esp + 0x38], ecx
call fcn.100bd160
mov ebx, dword [esp + 0x20]
jmp 0x10019ab0
mov esi, ecx
cmp edx, ecx
jbe 0x10019e82
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x38]
call fcn.1001ae40
lea esi, [esp + 0x20]
call fcn.100bd160
mov ebx, dword [esp + 0x20]
jmp 0x10019ab0
mov esi, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, eax
sub edx, ecx
sar edx, 2
test edx, edx
ja 0x10019ee1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push 1
push 1
sub eax, ecx
sar eax, 2
push ecx
push eax
call esi
cmp eax, 0x102
jne 0x10019efb
push 0x64
call ebx
jmp 0x10019ec0
xor esi, esi
lea ebx, [edi + 0xa0]
mov eax, dword [ebx]
mov edx, dword [eax + 0x54]
mov ecx, ebx
call edx
test eax, eax
je 0x10019f3b
lea eax, [edi - 8]
neg eax
sbb eax, eax
and eax, edi
cmp dword [edi + 4], 0
je 0x10019f2d
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x10019f3b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x3c
jl 0x10019f03
mov ebx, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x24]
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x80]
mov dword [edi + 0x34], ecx
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x84]
mov edx, dword [edi + 0x24]
sub esi, eax
sbb edx, ecx
cmp dword [esp + 0x18], edx
ja 0x10019fc5
jb 0x10019f73
cmp ebx, esi
jae 0x10019fc5
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
add eax, ebx
adc ecx, dword [esp + 0x18]
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], edx
cmp ecx, edx
jb 0x10019f99
ja 0x10019f8f
cmp eax, esi
jbe 0x10019f99
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
jmp 0x10019fa1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x14]
mov dword [edi + 0x28], ebx
mov ebx, dword [esp + 0x18]
mov dword [edi + 0x2c], ebx
mov edi, dword [edi + 4]
test edi, edi
je 0x1001a00b
mov ebx, dword [edi]
push ecx
push eax
push edx
mov edx, dword [ebx + 8]
push esi
mov ecx, edi
call edx
jmp 0x1001a00b
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], ecx
mov dword [esp + 0x14], esi
mov dword [edi + 0x24], eax
cmp edx, eax
jb 0x10019feb
ja 0x10019fe5
cmp esi, ecx
jbe 0x10019feb
mov esi, ecx
mov ebx, eax
jmp 0x10019fed
mov ebx, edx
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], ebx
mov edi, dword [edi + 4]
test edi, edi
je 0x1001a00b
mov esi, dword [edi]
push edx
mov edx, dword [esp + 0x18]
push edx
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, edi
call eax
mov eax, dword [esp + 0x34]
xor esi, esi
cmp eax, esi
je 0x1001a01e
push eax
call sub.mfc90u.dll_delete_1
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call sub.mfc90u.dll_delete_1
add esp, 4
lea esi, [esp + 0x78]
mov dword [esp + 0xc8], 4
call fcn.1001ad00
mov edx, dword [esp + 0x78]
push edx
call sub.mfc90u.dll_delete_1
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.100e7da2
mov esp, ebp
pop ebp
ret 4