Function at 0x43b320
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6c48
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e50cc]
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 ebx, ecx
lea esi, [ebx + 0x98]
push ecx
mov ecx, esi
call fcn.0043a680
test al, al
je 0x43b59b
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x3c], 1
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0x94]
push esi
push str.WriteReportFile_ReportList_nSize:_d
push 0
push str.Report.cpp
call fcn.00416f00
add esp, 0x10
test esi, esi
jne 0x43b3d5
cmp dword [ebx + 0x78], 8
lea esi, [ebx + 0x64]
jb 0x43b39b
mov esi, dword [esi]
test esi, esi
je 0x43b593
push 0
push esi
call dword [sym.imp.MSVCR120.dll__waccess]
add esp, 8
test eax, eax
jne 0x43b593
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43b593
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x43b593
lea ecx, [ebp - 0x38]
call fcn.004184d0
mov dword [ebp - 0x38], vtable.CReportData.0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
lea esi, [ebx + 0x84]
push eax
mov ecx, esi
call fcn.00434640
mov edi, dword [eax]
test edi, edi
je 0x43b401
mov edi, dword [edi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [edi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + edx*4]
dec dword [esi + 0x10]
jne 0x43b429
mov dword [esi + 0xc], 0
jmp 0x43b42c
inc dword [esi + 0xc]
test edi, edi
je 0x43b48c
push edi
lea ecx, [ebp - 0x38]
call fcn.0041a0a0
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
cmp dword [ebx + 0x94], 0
je 0x43b48c
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00434640
mov edi, dword [eax]
test edi, edi
je 0x43b45d
mov edi, dword [edi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [edi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + edx*4]
dec dword [esi + 0x10]
jne 0x43b485
mov dword [esi + 0xc], 0
jmp 0x43b488
inc dword [esi + 0xc]
test edi, edi
jne 0x43b430
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040e178
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x18]
lea edi, [esi + 1]
push edi
call fcn.004a594a
add esp, 4
mov dword [ebp - 0x2c], eax
push edi
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
push esi
push ecx
push esi
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.MSVCR120.dll_memcpy_s]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov edx, edi
cmovae eax, dword [ebp - 0x28]
mov ecx, esi
mov byte [eax], 0
lea eax, [ebx + 0x1c]
push eax
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00483310
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0x1c
test eax, eax
je 0x43b543
push str.WriteReportFile_OK
push 0
push str.Report.cpp
call fcn.00416f00
add esp, 0xc
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebx + 0x64]
cmovae edx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
jb 0x43b533
mov ecx, dword [ecx]
push dword [ebp - 0x18]
call fcn.00432060
push dword [ebp - 0x2c]
call esi
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x43b551
push dword [ebp - 0x28]
call esi
add esp, 4
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test esi, esi
je 0x43b593
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x43b593
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x43b593
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x40]
call fcn.0043c460
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.004a5ae0
mov esp, ebp
pop ebp
ret