Function at 0x435702
Capabilities:
Move file

Disassembly:
push 0x144
mov eax, 0x61cc79
call fcn.005b83bf
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0xa0]
push ebx
push ebx
push 0xcb
push str.HPXS::CScanImageControl::Uninitialize
push 0x12993e0
push dword [0x12992f8]
call fcn.0041f881
mov dword [ebp - 4], ebx
cmp byte [esi + 0x5c], bl
je 0x43596b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
cmp dword [esi + 0x2b8], ebx
je 0x4358cd
cmp byte [esi + 0x2a4], bl
je 0x435853
push ecx
push ecx
lea ecx, [ebp - 0x150]
call fcn.0042aba2
push 8
lea edi, [esi + 0x2a8]
mov byte [ebp - 4], 1
pop ebx
cmp dword [edi + 0x14], ebx
jb 0x435788
mov edx, dword [edi]
jmp 0x43578a
mov edx, edi
lea ecx, [ebp - 0x140]
call fcn.0041e267
mov edx, str._debug
mov ecx, eax
call fcn.0041e267
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x150]
call fcn.0042ab57
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
cmovae eax, dword [ebp - 0x28]
push eax
push str.HPXS::CScanImageControl::Uninitialize
push str._s_Saving_temp_folder:__s
push 0xda
lea eax, [ebp - 0xa0]
push 0x200
push eax
call fcn.0041fc07
add esp, 0x18
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
cmovae ecx, dword [ebp - 0x28]
cmp dword [edi + 0x14], ebx
jb 0x4357f5
mov eax, dword [edi]
jmp 0x4357f7
mov eax, edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x435826
push str.HPXS::CScanImageControl::Uninitialize
push str._s_Error_occured_while_saving_temp_folder
push 0xdc
lea eax, [ebp - 0xa0]
push 0x200
push eax
call fcn.0041fc07
add esp, 0x14
and dword [edi + 0x10], 0
cmp dword [edi + 0x14], ebx
jb 0x435831
mov edi, dword [edi]
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ebx
xor eax, eax
push 1
mov word [edi], ax
call fcn.00416b1a
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], bl
call fcn.00427c2e
jmp 0x4358cd
push 8
lea edi, [esi + 0x2a8]
pop ebx
cmp dword [edi + 0x14], ebx
jb 0x435865
mov eax, dword [edi]
jmp 0x435867
mov eax, edi
push eax
push str.HPXS::CScanImageControl::Uninitialize
push str._s_Deleting_temp_folder:__s
push 0xe4
lea eax, [ebp - 0xa0]
push 0x200
push eax
call fcn.0041fc07
add esp, 0x18
mov dl, 1
mov ecx, edi
call fcn.0047c2ca
test al, al
jne 0x4358bb
push str.HPXS::CScanImageControl::Uninitialize
push str._s_Error_on_recursive_delete
push 0xe6
lea eax, [ebp - 0xa0]
push 0x200
push eax
call fcn.0041fc07
add esp, 0x14
and dword [edi + 0x10], 0
cmp dword [edi + 0x14], ebx
jb 0x4358c6
mov edi, dword [edi]
xor eax, eax
xor ebx, ebx
mov word [edi], ax
mov eax, dword [esi + 0x28c]
test eax, eax
je 0x4358e4
push eax
call fcn.005bccb5
pop ecx
mov dword [esi + 0x28c], ebx
mov ecx, dword [esi + 0x2e0]
test ecx, ecx
je 0x4358fa
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x2e0], ebx
mov ecx, esi
call fcn.00435e6d
mov eax, dword [esi + 0x280]
test eax, eax
je 0x435918
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [esi + 0x280], ebx
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x435934
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x435931
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x60], ebx
cmp byte [esi + 0x5d], 0
jne 0x435940
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
push ebx
push str.HPXS::CScanImageControl::Uninitialize
push str._s_m_bInitialized_d_m_bExternCoInitialize_d
push 0x10c
lea eax, [ebp - 0xa0]
mov word [esi + 0x5c], 0
push 0x200
push eax
call fcn.0041fc07
add esp, 0x1c
lea ecx, [ebp - 0xa0]
call fcn.0041f95a
call fcn.005b8369
ret