Function at 0x100188b0
Capabilities:
Get disk information
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1004d99b
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10062da0]
xor eax, esp
push eax
lea eax, [esp + 0x34c]
mov dword fs:[0], eax
mov esi, ecx
jmp 0x100188ff
xor ebp, ebp
push 0x20c
lea eax, [esp + 0x24]
push ebp
push eax
mov byte [esp + 0x23], 1
mov dword [esp + 0x28], ebp
call fcn.10037cf0
add esp, 0xc
cmp byte [esi + 0x1171], 0
jne 0x100189d5
cmp byte [esi + 0x1173], 0
je 0x100189c8
cmp byte [esi + 0x20], 0
jne 0x100189c8
call fcn.10025867
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x1001895b
push 0x80004005
call fcn.10002d80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x354], ebp
mov ecx, dword [0x1006c594]
push ecx
lea edx, [esp + 0x1c]
push 0x10059d1c
push edx
call fcn.100027b0
mov edi, dword [esp + 0x24]
add esp, 0xc
cmp edi, ebp
jne 0x1001899a
call fcn.1001d830
jmp 0x100189a1
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [edi - 0x10]
mov dword [esp + 0x354], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100189c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esi + 0x1171], 0
je 0x10018a97
push str.WSTUserLogin::UserLogin_11
push ebp
push 0x538
push str.CEdpDiskControl::WSTUserLogin
mov ecx, str..ClassEdpDiskControlEdpDiskControl.cpp
call fcn.10010760
mov edi, dword [esp + 0x370]
add esp, 0x10
cmp edi, 2
jne 0x10018a4b
mov eax, dword [esi + 0x117c]
cmp eax, edi
je 0x10018aa7
cmp eax, 1
jne 0x10018a1a
mov dword [esp + 0x24], ebp
jmp 0x10018aaf
push str.WSTUserLogin::UserLogin_22
push ebp
push 0x545
push str.CEdpDiskControl::WSTUserLogin
mov ecx, str..ClassEdpDiskControlEdpDiskControl.cpp
call fcn.10010760
mov ecx, dword [0x1006c5f8]
add esp, 0x10
push ecx
lea ecx, [esi + 4]
call fcn.10001f90
jmp 0x10018dc3
cmp edi, 4
jne 0x10018aaf
mov eax, dword [esi + 0x1180]
cmp eax, 2
je 0x10018aa7
cmp eax, 1
jne 0x10018a66
mov dword [esp + 0x24], ebp
jmp 0x10018aaf
push str.WSTUserLogin::UserLogin_33
push ebp
push 0x556
push str.CEdpDiskControl::WSTUserLogin
mov ecx, str..ClassEdpDiskControlEdpDiskControl.cpp
call fcn.10010760
mov edx, dword [0x1006c5f8]
add esp, 0x10
push edx
lea ecx, [esi + 4]
call fcn.10001f90
jmp 0x10018dc3
mov edi, dword [esp + 0x360]
cmp edi, 2
jne 0x10018d83
mov dword [esp + 0x24], 1
call fcn.10019e60
test al, al
jne 0x10018acf
mov edx, dword [0x1006c614]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10018ac3
jmp 0x10018db7
cmp edi, dword [esi + 0x20d]
je 0x10018aff
mov edx, dword [0x1006c618]
mov eax, edx
mov byte [esp + 0x17], 0
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10018ae7
sub eax, edi
push eax
push edx
lea ecx, [esi + 4]
call fcn.10001fc0
jmp 0x10018d6d
mov eax, dword [esi + 0x229]
mov edx, dword [esi + 0x221]
mov ecx, dword [esi + 0x22d]
cmp dword [esi + 0x215], 1
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x219]
mov dword [esp + 0x34], eax
mov al, byte [esi + 0x1b4a]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x21d]
mov dword [esp + 0x3c], edx
sete dl
mov byte [esp + 0x180], al
mov eax, 0x20
mov dword [esp + 0x38], ecx
mov byte [esp + 0x28], dl
lea ecx, [eax + 1]
lea edx, [esp + 0x40]
mov dword [esp + 0x1c], 0x64
mov dword [esp + 0x20], ebp
call fcn.10011710
cmp byte [esp + 0x180], 0
je 0x10018bb9
mov ecx, dword [esi + 0x2b1]
push 0x20
lea edx, [esi + 0x2b5]
push edx
lea eax, [esp + 0x190]
push 0x21
push eax
mov dword [esp + 0x194], ecx
call fcn.10032c83
push 0x80
lea ecx, [esi + 0x231]
push ecx
lea edx, [esp + 0x1c0]
push 0x81
push edx
call fcn.10032c83
add esp, 0x20
mov eax, dword [esi + 0x1184]
push eax
push str.DeviceHarddisk_uPartition0
lea ecx, [esp + 0x80]
push 0x104
push ecx
call fcn.10032b06
xor bl, bl
add esp, 0x10
cmp byte [esi + 0x1b48], bl
je 0x10018bf4
cmp dword [esp + 0x24], ebp
jne 0x10018bf4
mov dword [esp + 0x24], 1
mov bl, 1
mov edx, dword [esp + 0x35c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x17c], edi
call fcn.1001c1e0
test eax, eax
jne 0x10018c27
mov edx, dword [0x1006c610]
push edx
lea ecx, [esi + 4]
mov byte [esp + 0x1b], al
call fcn.10001f90
jmp 0x10018d6d
lea eax, [esp + 0x1c]
push eax
call dword [0x1006a068]
mov byte [esp + 0x18], al
test al, al
jne 0x10018c4e
call dword [0x1006a07c]
push eax
lea ecx, [esi + 4]
call fcn.10001f90
jmp 0x10018dc3
mov edi, dword [esp + 0x18]
test bl, bl
je 0x10018c5e
push edi
mov ecx, esi
call fcn.1001a250
push edi
mov ecx, esi
call fcn.1001a340
push edi
mov ecx, esi
call fcn.1001aae0
cmp dword [esi + 0x20d], 4
jne 0x10018c83
mov cl, byte [esp + 0x18]
mov byte [0x1006a1a6], cl
jmp 0x10018c8d
mov dl, byte [esp + 0x18]
mov byte [0x1006a1a5], dl
push 0x103
lea eax, [esp + 0x241]
push ebp
push eax
mov byte [esp + 0x248], 0
call fcn.10037cf0
mov cl, byte [esp + 0x24]
add esp, 0xc
push ebp
push ebp
push ebp
push ebp
push ebp
xor eax, eax
push 0x104
lea edx, [esp + 0x254]
mov dword [esp + 0x24c], eax
mov word [esp + 0x250], ax
push edx
lea eax, [esp + 0x24c]
mov dword [esp + 0x24c], 0x5c3a41
push eax
mov byte [esp + 0x250], cl
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x10018d6d
mov esi, dword [esi + 0x20d]
cmp esi, 2
jne 0x10018d32
mov ecx, dword [0x1006c594]
push ecx
lea edx, [esp + 0x240]
push edx
call fcn.10035f9a
add esp, 8
test eax, eax
je 0x10018d6d
mov eax, dword [0x1006c594]
push eax
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
jmp 0x10018d6d
cmp esi, 4
jne 0x10018d6d
mov edx, dword [0x1006c598]
push edx
lea eax, [esp + 0x240]
push eax
call fcn.10035f9a
add esp, 8
test eax, eax
je 0x10018d6d
mov ecx, dword [0x1006c598]
push ecx
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10018d7d
mov al, byte [esp + 0x17]
jmp 0x10018dc5
push str.WSTUserLogin::UserLogin_44
push ebp
push 0x564
push str.CEdpDiskControl::WSTUserLogin
mov ecx, str..ClassEdpDiskControlEdpDiskControl.cpp
call fcn.10010760
mov edx, dword [0x1006c5f8]
mov eax, edx
add esp, 0x10
lea edi, [eax + 1]
jmp 0x10018db0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10018db0
sub eax, edi
push eax
push edx
lea ecx, [esi + 4]
call fcn.10001fc0
xor al, al
mov ecx, dword [esp + 0x34c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.10032551
add esp, 0x344
ret 0xc