Function at 0x10035250
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8c62
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10126008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x30]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x94], eax
test edi, edi
je 0x100352c6
push ecx
lea ecx, [ebp - 0x18]
call fcn.10006de0
mov eax, dword [edi]
add eax, 0x2c
push eax
call fcn.10027740
mov dword [ebp - 4], 0
mov ecx, dword [edi]
call fcn.10048b80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10027770
jmp 0x100352f1
push 4
call fcn.100f13f4
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
mov ecx, eax
mov dword [eax], 0
call fcn.10044400
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
mov ecx, ebx
call fcn.10005380
cmp esi, eax
je 0x10035316
call fcn.10005380
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1003530b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.10006940
mov ecx, dword [ebp - 0x94]
lea edi, [esi + 0x18]
call fcn.10005380
cmp edi, eax
je 0x10035342
call fcn.10005380
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10035337
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.10006940
push edi
mov edx, esi
lea ecx, [ebp - 0x48]
call fcn.1003ccd0
add esp, 4
mov dword [ebp - 4], 2
mov ecx, ebx
call fcn.1003c0d0
test al, al
jne 0x100353fb
cmp dword [0x1012872c], 0
je 0x100353f4
push 0
mov ecx, 0x1012872c
call fcn.100495b0
mov eax, dword [0x1012872c]
cmp byte [eax + 0x54], 0
je 0x100353f4
cmp dword [eax + 0x58], 2
jb 0x100353f4
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x30]
call fcn.10006740
mov byte [ebp - 4], 3
mov ecx, str.Create_directory_failed_
call fcn.10006b30
push eax
push str.Create_directory_failed_
lea ecx, [ebp - 0x30]
call fcn.10006940
push 0x239
push str.RC::RCAvDbImpl::Init
push str.d:_rhinoprotect_framework_src_vbaselib_src_rcavscandbutils.cpp
lea eax, [ebp - 0x30]
mov ecx, 0x1012872c
push eax
push 2
call fcn.1004a020
test bl, bl
je 0x100353e8
lea eax, [ebp - 0x30]
mov ecx, 0x1012872c
push eax
call fcn.1004a410
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.100066e0
xor bl, bl
jmp 0x100356e1
push str.Quarantine.data
lea ecx, [ebp - 0x30]
call fcn.100066f0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x30]
push eax
mov edx, esi
lea ecx, [ebp - 0x90]
call fcn.1003ccd0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.100066e0
lea ecx, [ebp - 0x90]
call fcn.1003bdd0
test al, al
je 0x10035600
push 0xb
lea ecx, [ebp - 0x48]
call fcn.100066d0
push eax
lea ecx, [ebp - 0x90]
call fcn.100066d0
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call edi
test eax, eax
jne 0x10035600
lea ecx, [ebp - 0x30]
xor bl, bl
call fcn.10006740
mov byte [ebp - 4], 7
mov edx, ecx
lea ecx, [ebp - 0x90]
call fcn.100472d0
test al, al
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
lea ecx, [ebp - 0x78]
call fcn.10006740
mov byte [ebp - 4], 8
mov edx, ecx
lea ecx, [ebp - 0x48]
call fcn.100472d0
test al, al
jne 0x100354ac
test bl, bl
je 0x100354d7
push 0xb
lea ecx, [ebp - 0x78]
call fcn.100066d0
push eax
lea ecx, [ebp - 0x30]
call fcn.100066d0
push eax
call edi
test eax, eax
je 0x100354d7
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.100066e0
jmp 0x100355f4
lea ecx, [ebp - 0x48]
call fcn.10046d80
cmp eax, 0xffffffff
je 0x1003555a
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x60]
call fcn.10006760
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
call fcn.10047090
test al, al
je 0x1003554e
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x48]
call fcn.10046e20
test al, al
je 0x1003554e
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x90]
call fcn.10046e20
lea ecx, [ebp - 0x60]
test al, al
je 0x10035546
call fcn.10046f30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x60]
call fcn.100066e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.100066e0
jmp 0x100355f4
lea edx, [ebp - 0x48]
call fcn.10046e20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x60]
call fcn.100066e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.100066e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.100066e0
cmp dword [0x1012872c], 0
je 0x10035600
push 0
mov ecx, 0x1012872c
call fcn.100495b0
mov eax, dword [0x1012872c]
cmp byte [eax + 0x54], 0
je 0x10035600
cmp dword [eax + 0x58], 2
jb 0x10035600
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x30]
call fcn.10006740
mov byte [ebp - 4], 0xa
mov ecx, str.Rename_file_name_failed_
call fcn.10006b30
push eax
push str.Rename_file_name_failed_
lea ecx, [ebp - 0x30]
call fcn.10006940
push 0x243
push str.RC::RCAvDbImpl::Init
push str.d:_rhinoprotect_framework_src_vbaselib_src_rcavscandbutils.cpp
lea eax, [ebp - 0x30]
mov ecx, 0x1012872c
push eax
push 2
call fcn.1004a020
test bl, bl
je 0x100355f4
lea eax, [ebp - 0x30]
mov ecx, 0x1012872c
push eax
call fcn.1004a410
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.100066e0
cmp byte [ebp + 0x10], 0
je 0x1003560e
lea ecx, [ebp - 0x48]
call fcn.10046f30
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.100444b0
test al, al
jne 0x100356d0
cmp dword [0x1012872c], 0
je 0x100356cc
push 0
mov ecx, 0x1012872c
call fcn.100495b0
mov eax, dword [0x1012872c]
cmp byte [eax + 0x54], 0
je 0x100356cc
cmp dword [eax + 0x58], 2
jb 0x100356cc
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x30]
call fcn.10006740
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x94]
call fcn.100066d0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], eax
call fcn.10005380
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x30]
push str.Open_db__s_failed
push eax
call fcn.1004a590
add esp, 0xc
lea eax, [ebp - 0x30]
mov ecx, 0x1012872c
push 0x250
push str.RC::RCAvDbImpl::Init
push str.d:_rhinoprotect_framework_src_vbaselib_src_rcavscandbutils.cpp
push eax
push 2
call fcn.1004a020
test bl, bl
je 0x100356c0
lea eax, [ebp - 0x30]
mov ecx, 0x1012872c
push eax
call fcn.1004a410
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.100066e0
xor bl, bl
jmp 0x100356d2
mov bl, 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.100066e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.100066e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100f13e3
mov esp, ebp
pop ebp
ret 0xc