Function at 0x10002f30
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x25c
push ebx
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
xor edx, edx
rep stosd dword es:[edi], eax
mov cl, byte [0x1002a73c]
mov dword [esp + 0x11], edx
stosw word es:[edi], ax
mov dword [esp + 0x15], edx
mov byte [esp + 0x10], cl
mov cl, byte [0x1002a736]
mov word [esp + 0x19], dx
stosb byte es:[edi], al
mov eax, dword [str.NTFS]
mov byte [esp + 0x1b], dl
mov dword [esp + 0xc], eax
mov ax, word [0x1002a734]
mov dword [esp + 0x1f], edx
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], cl
mov dword [esp + 0x23], edx
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x69]
mov byte [esp + 0x68], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3e8
mov ebx, 0x3a98
mov byte [esp + 0x2b], dl
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esp + 0x274]
test al, al
jne 0x10002fcc
or ebx, 0xffffffff
mov byte [esp + 0x1c], 0
mov al, byte [esp + 0x270]
mov esi, dword [esp + 0x26c]
test al, al
push ebp
jne 0x10003071
lea eax, [esp + 0x10]
push 0x1002a730
push eax
call fcn.10005250
push esi
call fcn.10002ce0
add esp, 0xc
cmp eax, 0xffffffff
je 0x10003071
push eax
call fcn.10002e00
add esp, 4
mov ebp, edx
mov edi, eax
push 0
push 0x400
push ebp
push edi
call fcn.10012e90
push 0
push 0x400
push edx
push eax
call fcn.10012e90
test edx, edx
jl 0x1000305b
jg 0x10003036
cmp eax, 0x8000
jb 0x10003042
lea ecx, [esp + 0x10]
push str.NTFS
push ecx
jmp 0x10003069
test edx, edx
jl 0x1000305b
jg 0x1000304f
cmp eax, 0x800
jb 0x1000305b
lea edx, [esp + 0x10]
push str.FAT32
push edx
jmp 0x10003069
or edi, ebp
jne 0x10003071
lea eax, [esp + 0x10]
push str.FAT32
push eax
call fcn.10005250
add esp, 8
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
and esi, 0xff
push ecx
push edx
push esi
push str.format.com__c:__y__fs:_s__s
lea eax, [esp + 0x3c]
push 0x3f
push eax
call fcn.10011e3e
push ebx
lea ecx, [esp + 0x88]
push 0x1ff
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.10005dc0
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x28
lea eax, [esp + 0x2c]
push eax
call edi
lea ecx, [esp + 0x6c]
push 0x1002a700
push ecx
call fcn.10005560
add esp, 8
test eax, eax
pop ebp
je 0x10003121
lea edx, [esp + 0xc]
push 0x1002a730
push edx
call fcn.100053f0
add esp, 8
test eax, eax
je 0x10003121
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
push esi
push str.format.com__c:__y__fs:FAT__s
push 0x3f
push ecx
call fcn.10011e3e
push ebx
lea edx, [esp + 0x80]
push 0x1ff
lea eax, [esp + 0x44]
push edx
push eax
call fcn.10005dc0
add esp, 0x24
lea ecx, [esp + 0x28]
push ecx
call edi
lea edx, [esp + 0x68]
push 0x1002a6d8
push edx
call fcn.10005560
add esp, 8
test eax, eax
je 0x10003186
lea eax, [esp + 0xc]
push str.NTFS
push eax
call fcn.100053f0
add esp, 8
test eax, eax
je 0x10003186
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
push esi
push str.format.com__c:__y__fs:NTFS__s
push 0x3f
push edx
call fcn.10011e3e
push ebx
lea eax, [esp + 0x80]
push 0x1ff
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.10005dc0
add esp, 0x24
lea edx, [esp + 0x28]
push edx
call edi
lea eax, [esp + 0x68]
push eax
call edi
lea ecx, [esp + 0x68]
push 0x1002a6b0
push ecx
call fcn.10005560
add esp, 8
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
neg eax
add esp, 0x25c
ret