Function at 0x443670
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54412c
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x5868f4]
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 dword [ebp - 0x10], esp
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edi, dword [eax]
mov eax, dword [0x58d498]
cmp eax, dword [edi + 0x10]
jle 0x4436ea
push 0x58d498
call fcn.004fe42c
add esp, 4
cmp dword [0x58d498], 0xffffffff
jne 0x4436ea
call fcn.00421710
push 0x546e80
call fcn.004fe2e3
push 0x58d498
call fcn.004fe3ed
add esp, 8
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00516d20
add esp, 0xc
mov ecx, 0x58d408
cmp dword [0x58d41c], 0x10
mov eax, 0x58d3f0
cmovae ecx, dword [0x58d408]
cmp dword [0x58d404], 0x10
push ecx
cmovae eax, dword [0x58d3f0]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
jne 0x44375a
push str.OCI:_Failed_to_generate_status_file_path
push 0xce
push 0x58ba20
call fcn.00437520
add esp, 0xc
mov eax, 0xce
jmp 0x443bf0
push 0x50
lea eax, [ebp - 0x180]
push 0
push eax
call fcn.00516d20
add esp, 0xc
lea ecx, [ebp - 0x180]
call fcn.00423ce0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x11c], 7
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x180]
call fcn.00445bc0
mov esi, eax
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x44380c
mov eax, dword [ebp - 0x11c]
cmp eax, 8
jb 0x4437e3
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x11c], 7
push esi
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
call fcn.00403250
mov eax, dword [ebp - 0x188]
cmp eax, 8
jb 0x44382a
inc eax
lea ecx, [ebp - 0x19c]
push eax
push dword [ebp - 0x19c]
call fcn.00403300
mov dword [ebp - 4], 1
lea eax, [ebp - 0x130]
cmp dword [ebp - 0x11c], 8
cmovae eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4438c4
cmp dword [ebp - 0x11c], 8
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
push eax
push str.OCI:_Deleting_stale_status_file___s_
push 0x58ba20
call fcn.00437360
add esp, 0xc
lea eax, [ebp - 0x130]
cmp dword [ebp - 0x11c], 8
cmovae eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4438c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x11c], 8
lea ecx, [ebp - 0x130]
cmovae ecx, dword [ebp - 0x130]
push ecx
push str.OCI:_Failed_to_delete_stale_status_file___s_
push eax
push 0x58ba20
call fcn.00437520
add esp, 0x10
mov eax, dword [0x58d6d8]
cmp eax, dword [edi + 0x10]
jle 0x44391a
push 0x58d6d8
call fcn.004fe42c
add esp, 4
cmp dword [0x58d6d8], 0xffffffff
jne 0x44391a
xor eax, eax
mov dword [0x58d6d4], 7
push 0x547120
mov dword [0x58d6d0], 0
mov word [0x58d6c0], ax
call fcn.004fe2e3
push 0x58d6d8
call fcn.004fe3ed
add esp, 8
cmp dword [ebp - 0x11c], 8
lea eax, [ebp - 0x130]
mov ecx, 0x58d6c0
cmovae eax, dword [ebp - 0x130]
push eax
call fcn.00433e20
mov esi, eax
test esi, esi
je 0x44399f
push str.OCI:_Failed_to_initialize_OCI_status_handler
push esi
push 0x58ba20
call fcn.00437520
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 8
jb 0x443970
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x11c], 7
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
call fcn.00423bf0
mov eax, esi
jmp 0x443bf0
cmp byte [ebx + 0x9cc], 5
mov eax, dword [0x58b394]
jne 0x443a6f
cmp dword [ebp - 0x11c], 8
lea esi, [ebp - 0x130]
cmovae esi, dword [ebp - 0x130]
cmp eax, dword [edi + 0x10]
jle 0x4439ff
push 0x58b394
call fcn.004fe42c
add esp, 4
cmp dword [0x58b394], 0xffffffff
jne 0x4439ff
call fcn.004078c0
push 0x546e20
call fcn.004fe2e3
push 0x58b394
call fcn.004fe3ed
add esp, 8
push esi
call fcn.00422a10
mov esi, eax
test esi, esi
je 0x443b41
push str.OCI:_Failed_to_save_the_status_handler_file_path__in_the_registry
push esi
push 0x58ba20
call fcn.00437520
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 8
jb 0x443a40
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x11c], 7
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
call fcn.00423bf0
mov eax, esi
jmp 0x443bf0
cmp eax, dword [edi + 0x10]
jle 0x443aa9
push 0x58b394
call fcn.004fe42c
add esp, 4
cmp dword [0x58b394], 0xffffffff
jne 0x443aa9
call fcn.004078c0
push 0x546e20
call fcn.004fe2e3
push 0x58b394
call fcn.004fe3ed
add esp, 8
push 0
call fcn.00422a10
mov esi, eax
test esi, esi
je 0x443b41
cmp esi, 2
je 0x443af4
cmp esi, 3
je 0x443af4
push str.OCI:_Failed_to_delete_the_status_handler_file_path__from_the_registry
push esi
push 0x58ba20
call fcn.00437520
add esp, 0xc
lea ecx, [ebp - 0x130]
call fcn.004033d0
lea ecx, [ebp - 0x180]
call fcn.00423bf0
mov eax, esi
jmp 0x443bf0
mov eax, dword [ebp - 0x11c]
cmp eax, 8
jb 0x443b12
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.00403300
xor ecx, ecx
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], cx
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x120], 0
call fcn.00423bf0
xor eax, eax
jmp 0x443bf0
cmp dword [ebp - 0x11c], 8
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
push eax
push str.OCI:_Status_Handler_configured_to_record_statuses_to_path___s_
push 0x58ba20
call fcn.00437360
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 8
jb 0x443b86
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x11c], 7
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
call fcn.00423bf0
mov eax, esi
jmp 0x443bf0
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.004fdf3d
mov esp, ebp
pop ebp
ret