Function at 0x10008670
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023ad4
mov eax, dword fs:[0]
push eax
sub esp, 0x7b4
mov eax, dword [0x10034034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
lea esi, [edi + 0x478]
mov dword [ebp - 4], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, esi
mov dword [ebp - 0x38], 1
call dword [eax + 0x18]
mov eax, dword [ebp - 0x38]
dec eax
mov dword [edi + 0x434], 0
cmp eax, 3
ja case.default.0x100086f0
jmp dword [eax*4 + 0x100091c4]
push ecx
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x434], 0x78
call fcn.10001610
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0xfc]
push 0
mov dword [ebp - 0x100], ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.10004e80
push dword [ebp - 0x100]
add edi, 0x134
push dword [0x10034464]
push edi
call dword [sym.imp.MSVCR110.dll_strcpy_s]
mov eax, dword [ebp - 0x100]
mov ebx, dword [sym.imp.MSVCR110.dll_free]
lea ecx, [ebp - 0xfc]
add esp, 0xc
cmp eax, ecx
je 0x1000876b
push eax
call ebx
add esp, 4
push 0
lea eax, [ebp - 0x39c]
push edi
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x3a0], eax
call fcn.10005d70
mov eax, dword [ebp - 0x44]
sub esp, 0x104
mov edi, esp
push dword [eax + 0x434]
mov ecx, 0x41
lea esi, [ebp - 0x3a0]
push str.Quick_Scan___Object:_d_n_Path:__s
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
mov eax, dword [ebp - 0x3a0]
lea ecx, [ebp - 0x39c]
add esp, 0x10c
cmp eax, ecx
je case.default.0x100086f0
push eax
call ebx
add esp, 4
jmp case.default.0x100086f0
mov dword [edi + 0x434], 0x78
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
mov eax, dword [str.A:]
mov dword [ebp - 0x18], eax
mov al, byte [0x10027888]
mov byte [ebp - 0x14], al
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov eax, 0x1f
mov dword [ebp - 0x3c], eax
or ebx, 0xffffffff
test esi, esi
jns 0x10008863
lea ecx, [eax + 0x41]
lea eax, [ebp - 0x40]
mov byte [ebp - 0x18], cl
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x74]
call fcn.1000a030
add esp, 4
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.100035e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008860
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
dec eax
add esi, esi
mov dword [ebp - 0x3c], eax
cmp eax, 2
jge 0x10008817
push ecx
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x20]
call fcn.10001610
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], ecx
push eax
lea ecx, [ebp - 0x210]
call fcn.10004e80
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x210]
push eax
lea ecx, [ebp - 0x58]
call fcn.1000a030
add esp, 4
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.100035e0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100088e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x210]
mov esi, dword [sym.imp.MSVCR110.dll_free]
lea ecx, [ebp - 0x20c]
cmp eax, ecx
je 0x10008906
push eax
call esi
add esp, 4
mov ebx, dword [ebp - 0x40]
push ebx
push dword [0x10034464]
add edi, 0x134
push edi
call dword [sym.imp.MSVCR110.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x6b4]
push 0
push edi
lea ecx, [ebp - 0x6b8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x6b8], eax
call fcn.10005d70
mov byte [ebp - 4], 5
push dword [ebp - 0x6b8]
lea ecx, [ebp - 0x48]
call fcn.10005c70
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x6b8]
lea ecx, [ebp - 0x6b4]
cmp eax, ecx
je 0x1000896d
push eax
call esi
add esp, 4
push 0
lea eax, [ebp - 0x4a4]
push edi
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 0x4a8], eax
call fcn.10005d70
mov eax, dword [ebp - 0x44]
sub esp, 0x104
mov edi, esp
push dword [eax + 0x434]
mov ecx, 0x41
lea esi, [ebp - 0x4a8]
push str.Full_Scan___Object:_d_n_Path:__s
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
mov eax, dword [ebp - 0x4a8]
lea ecx, [ebp - 0x4a4]
add esp, 0x10c
cmp eax, ecx
je 0x100089d0
push eax
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10009173
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10009173
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x1c]
test eax, 0x100
je 0x10008a29
and eax, 0xfffffeff
mov dword [ebp - 0x1c], eax
push ecx
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x20]
call fcn.10001610
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x434], eax
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
call fcn.10006300
mov byte [ebp - 4], 8
mov ebx, dword [ebp - 0x40]
or edi, 0xffffffff
cmp dword [ebx - 0xc], 0
jle 0x10008c68
push 0x7c
push ebx
call dword [sym.imp.MSVCR110.dll_wcschr]
mov esi, eax
add esp, 8
test esi, esi
je 0x10008c64
sub esi, ebx
sar esi, 1
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
je 0x10008c64
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push esi
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.1000a140
lea edx, [ebp - 0x3c]
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.10004cb0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008ad4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x3c]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x4c], eax
lea edx, [eax + 1]
mov dword [ebp - 0x50], edx
test edx, edx
js 0x10008dc6
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x10008b0b
push edx
lea ecx, [ebp - 0x3c]
call fcn.100037e0
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
mov byte [eax + esi], 0x7c
cmp edx, dword [esi - 8]
jg 0x10008dc6
mov ecx, dword [ebp - 0x48]
mov dword [esi - 0xc], edx
mov byte [edx + esi], 0
add ecx, dword [esi - 0xc]
mov eax, dword [0x10034464]
mov dword [ebp - 0x48], ecx
cmp ecx, eax
jg 0x10008c47
push esi
push eax
mov eax, dword [ebp - 0x44]
add eax, 0x134
push eax
call dword [sym.imp.MSVCR110.dll_strcat_s]
mov eax, dword [ebp - 0x18]
add esp, 0xc
inc eax
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000a110
mov byte [ebp - 4], 0xb
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x4c], ecx
cmp eax, ecx
je 0x10008bbd
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x10008bae
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x10008bae
mov ecx, dword [ebp - 0x18]
call fcn.100048c0
mov dword [ebp - 0x18], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x10008ba6
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x40], ebx
jmp 0x10008bbd
push dword [edx - 0xc]
lea ecx, [ebp - 0x40]
push edx
call fcn.10004790
mov ebx, dword [ebp - 0x40]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008bdd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi - 0xc]
dec eax
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10009fc0
mov ecx, dword [ebp - 0x44]
push eax
lea ecx, [ecx + 0x4c0]
mov byte [ebp - 4], 0xc
call fcn.10003290
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008c21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008a52
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10008a52
add esi, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008c64
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx - 0xc], 0
jne 0x10008c74
cmp dword [ebp - 0x24], 0
je 0x10008d6a
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.10004cb0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x184]
push 0
mov dword [ebp - 0x188], ecx
push eax
lea ecx, [ebp - 0x188]
call fcn.10004e80
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x188]
push eax
lea ecx, [ebp - 0x54]
call fcn.1000a030
add esp, 4
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
call fcn.100035e0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008d01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0x184]
cmp eax, ecx
je 0x10008d1f
push eax
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
push esi
push dword [0x10034464]
add eax, 0x134
push eax
call dword [sym.imp.MSVCR110.dll_strcat_s]
mov ecx, dword [ebp - 0x44]
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ecx + 0x4c0]
call fcn.10003290
add esi, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008d6a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x5ac]
mov dword [ebp - 0x5b0], eax
mov eax, dword [ebp - 0x44]
push 0
add eax, 0x134
push eax
lea ecx, [ebp - 0x5b0]
call fcn.10005d70
mov eax, dword [ebp - 0x44]
sub esp, 0x104
mov edi, esp
push dword [eax + 0x434]
mov ecx, 0x41
lea esi, [ebp - 0x5b0]
push str.Custom_Scan___Object:_d_n_Path:__s
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
mov eax, dword [ebp - 0x5b0]
lea ecx, [ebp - 0x5ac]
jmp 0x1000915c
push 0x80070057
call fcn.10003dd0
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
call fcn.10006300
mov byte [ebp - 4], 0x10
mov ebx, dword [ebp - 0x40]
or edi, 0xffffffff
cmp dword [ebx - 0xc], 0
jle 0x10009009
push 0x7c
push ebx
call dword [sym.imp.MSVCR110.dll_wcschr]
mov esi, eax
add esp, 8
test esi, esi
je 0x10009005
sub esi, ebx
sar esi, 1
mov dword [ebp - 0x50], esi
cmp esi, 0xffffffff
je 0x10009005
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push esi
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x11
call fcn.1000a140
lea edx, [ebp - 0x3c]
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.10004cb0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008e75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x3c]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x4c], eax
lea edx, [eax + 1]
mov dword [ebp - 0x18], edx
test edx, edx
js 0x10008dc6
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x10008eac
push edx
lea ecx, [ebp - 0x3c]
call fcn.100037e0
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x4c]
mov byte [eax + esi], 0x7c
cmp edx, dword [esi - 8]
jg 0x10008dc6
mov ecx, dword [ebp - 0x48]
mov dword [esi - 0xc], edx
mov byte [edx + esi], 0
add ecx, dword [esi - 0xc]
mov eax, dword [0x10034464]
mov dword [ebp - 0x48], ecx
cmp ecx, eax
jg 0x10008fe8
push esi
push eax
mov eax, dword [ebp - 0x44]
add eax, 0x134
push eax
call dword [sym.imp.MSVCR110.dll_strcat_s]
mov eax, dword [ebp - 0x50]
add esp, 0xc
inc eax
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000a110
mov byte [ebp - 4], 0x13
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x4c], ecx
cmp eax, ecx
je 0x10008f5e
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x10008f4f
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x10008f4f
mov ecx, dword [ebp - 0x18]
call fcn.100048c0
mov dword [ebp - 0x18], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x10008f47
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x40], ebx
jmp 0x10008f5e
push dword [edx - 0xc]
lea ecx, [ebp - 0x40]
push edx
call fcn.10004790
mov ebx, dword [ebp - 0x40]
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008f7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi - 0xc]
dec eax
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10009fc0
mov ecx, dword [ebp - 0x44]
push eax
lea ecx, [ecx + 0x4c0]
mov byte [ebp - 4], 0x14
call fcn.10003290
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x68]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008fc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x10
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008df3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10008df3
add esi, 0xfffffff0
mov byte [ebp - 4], 0x10
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10009005
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx - 0xc], 0
je 0x10009105
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x15
call fcn.10004cb0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x294]
push 0
mov dword [ebp - 0x298], ecx
push eax
lea ecx, [ebp - 0x298]
call fcn.10004e80
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x298]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000a030
add esp, 4
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x17
call fcn.100035e0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000909c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x294]
cmp eax, ecx
je 0x100090ba
push eax
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
push esi
push dword [0x10034464]
add eax, 0x134
push eax
call dword [sym.imp.MSVCR110.dll_strcat_s]
mov ecx, dword [ebp - 0x44]
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ecx + 0x4c0]
call fcn.10003290
add esi, 0xfffffff0
mov byte [ebp - 4], 0x10
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10009105
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x7bc]
mov dword [ebp - 0x7c0], eax
mov eax, dword [ebp - 0x44]
push 0
add eax, 0x134
push eax
lea ecx, [ebp - 0x7c0]
call fcn.10005d70
mov eax, dword [ebp - 0x44]
sub esp, 0x104
mov edi, esp
push dword [eax + 0x434]
mov ecx, 0x41
lea esi, [ebp - 0x7c0]
push str.RightKey_Scan___Object:_d_n_Path:__s
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
mov eax, dword [ebp - 0x7c0]
lea ecx, [ebp - 0x7bc]
add esp, 0x10c
cmp eax, ecx
je 0x10009170
push eax
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
or esi, 0xffffffff
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg case.default.0x100086f0
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x20], 8
jb 0x100091a0
push dword [ebp - 0x34]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10020d6c
mov esp, ebp
pop ebp
ret