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

Disassembly:
push ebp
lea ebp, [esp - 0x7bc]
sub esp, 0x83c
mov eax, dword [0x49ab28]
xor eax, ebp
mov dword [ebp + 0x7b8], eax
mov eax, dword [ebp + 0x7c8]
and dword [ebp - 0x74], 0
cmp byte [edi + 0x1b8], 0
mov dword [ebp - 0x80], eax
mov eax, dword [edi + 0x115]
mov dword [ebp - 0x7c], eax
je 0x40e1d9
mov eax, dword [edi + 3]
mov byte [ebp + 0x394], 0
test eax, eax
je 0x40e016
cmp byte [edi + 2], 0x41
jne 0x40dfe7
push eax
lea eax, [ebp + 0x394]
push eax
call fcn.0046eb90
pop ecx
pop ecx
jmp 0x40dffc
push 0x400
push eax
lea eax, [ebp + 0x394]
push eax
call fcn.0046fe9f
add esp, 0xc
lea eax, [ebp + 0x394]
push 0x48684c
push eax
call fcn.0046e7b0
pop ecx
pop ecx
test eax, eax
je 0x40e016
mov byte [eax], 0
push 0x1000
call fcn.0046e254
pop ecx
mov dword [ebp - 0x70], eax
test eax, eax
je 0x40e1d9
push esi
lea esi, [eax + 1]
mov byte [eax], 1
lea eax, [edi + 0x1a8]
push 0x10
push eax
push esi
call fcn.0046c470
mov al, byte [ebp + 0x7c4]
add esi, 0x10
push 0x10
mov byte [esi], al
inc esi
push 0x49c128
push esi
call fcn.0046c470
mov eax, dword [0x49c460]
add esi, 0x10
mov dword [esi], eax
mov ecx, dword [edi + 0x7c]
add esp, 0x18
push 4
pop eax
add esi, eax
mov dword [esi], ecx
mov ecx, dword [edi + 0x80]
add esi, eax
mov dword [esi], ecx
mov ecx, dword [edi + 0x181]
add esi, eax
mov dword [esi], ecx
mov ecx, dword [edi + 0x18f]
add esi, eax
mov dword [esi], ecx
mov ecx, dword [edi + 0x163]
add esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x7c]
add esi, eax
test ecx, ecx
je 0x40e0ad
mov edx, dword [ecx + 0xb5]
mov dword [esi], edx
jmp 0x40e0b0
and dword [esi], 0
add esi, eax
test ecx, ecx
je 0x40e0c0
mov edx, dword [ecx + 0x13]
sub edx, dword [ecx + 0x1f]
mov dword [esi], edx
jmp 0x40e0c3
and dword [esi], 0
add esi, eax
mov al, byte [edi + 0x53]
mov byte [esi], al
mov al, byte [edi + 0x28]
inc esi
mov byte [esi], al
mov ax, word [edi + 0x50]
inc esi
mov word [esi], ax
mov al, byte [edi + 0x3b0]
inc esi
inc esi
mov byte [esi], al
mov al, byte [edi + 0x3b1]
inc esi
mov byte [esi], al
inc esi
cmp byte [ebp + 0x394], 0
je 0x40e106
lea eax, [ebp + 0x394]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov byte [esi], al
jmp 0x40e109
mov byte [esi], 0
mov eax, dword [edi + 3]
inc esi
test eax, eax
je 0x40e14f
cmp byte [edi + 2], 0x41
push eax
jne 0x40e12e
call fcn.0046df70
mov byte [esi], al
push dword [edi + 3]
inc esi
push esi
call fcn.0046eb90
add esp, 0xc
jmp 0x40e147
call fcn.0046de55
mov byte [esi], al
movzx eax, byte [esi]
inc esi
inc eax
push eax
push dword [edi + 3]
push esi
call fcn.0046fe9f
add esp, 0x10
movzx eax, byte [esi - 1]
add esi, eax
jmp 0x40e153
mov byte [esi], 0
inc esi
lea eax, [ebp + 0x794]
push eax
lea eax, [edi + 0x1a8]
push eax
call fcn.00469a77
push dword [edi + 0x80]
lea eax, [ebp + 0x794]
push eax
movzx eax, byte [ebp + 0x7c4]
push eax
lea eax, [ebp - 0x6c]
push str._K7Cloud__Query_Requestor__d_MD5:__s_SignID:__u_n
push eax
call fcn.0046ec88
add esp, 0x1c
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x78]
push eax
mov eax, esi
sub eax, dword [ebp - 0x70]
push esi
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x78], 0x400
push 0x1004c
call fcn.004026b0
add esp, 0x14
test eax, eax
je 0x40e1cf
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
jne 0x40e1cf
movzx ecx, byte [esi]
mov edx, dword [ebp - 0x80]
mov dword [edx], ecx
mov dword [ebp - 0x74], eax
push dword [ebp - 0x70]
call fcn.0046e0df
pop ecx
pop esi
mov ecx, dword [ebp + 0x7b8]
mov eax, dword [ebp - 0x74]
xor ecx, ebp
call fcn.0046c1d2
add ebp, 0x7bc
leave
ret