Function at 0x42cec0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1b1c
call fcn.00424210
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, edx
xor ecx, ecx
push edi
push 0x208
mov dword [ebp - 0x1b0c], eax
xor ebx, ebx
mov dword [eax], ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x390]
mov dword [ebp - 0x1b00], ecx
push ebx
push eax
mov dword [ebp - 0x1b04], ecx
movq qword [ebp - 0x1ae4], xmm0
mov dword [ebp - 0x1adc], ecx
call fcn.00407d30
add esp, 0xc
lea eax, [ebp - 0x728]
push 0x208
push ebx
push eax
call fcn.00407d30
add esp, 0xc
lea eax, [ebp - 0x520]
push 0x190
push ebx
push eax
call fcn.00407d30
add esp, 0xc
lea eax, [ebp - 0x1ad8]
push 0xfa0
push ebx
push eax
call fcn.00407d30
add esp, 0xc
lea eax, [ebp - 0xb38]
push 0x208
push ebx
push eax
call fcn.00407d30
add esp, 0xc
lea eax, [ebp - 0x930]
push 0x208
push ebx
push eax
call fcn.00407d30
add esp, 0xc
lea eax, [ebp - 0x88]
push 0x80
push ebx
push eax
call fcn.00407d30
add esp, 0xc
push 0x43a134
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x441108], eax
mov dword [ebp - 0x1b08], ecx
mov dword [ebp - 0x1b10], edi
test eax, eax
jne 0x42d113
xor edi, edi
push 0x104
lea eax, [ebp - 0xb38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x930]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x520]
push 0xc8
push eax
push 0x31
push dword [0x43fbf8]
call esi
lea eax, [ebp - 0x930]
push eax
lea eax, [ebp - 0xb38]
push eax
lea eax, [ebp - 0x520]
push eax
lea eax, [ebp - 0x1ad8]
push eax
call fcn.00401d40
add esp, 0x10
lea eax, [ebp - 0x88]
push 0x40
push eax
push 0x442
push dword [0x43fbf8]
call esi
push 0x30
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x1ad8]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x1b0c]
mov eax, dword [eax]
test eax, eax
je 0x42d06f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x1b00]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x42d08b
push eax
push 0
call dword [ebp - 0x1b08]
push eax
call esi
test ebx, ebx
je 0x42d09b
push ebx
push 0
call dword [ebp - 0x1b08]
push eax
call esi
test edi, edi
je 0x42d0bf
mov eax, dword [0x4400b4]
test eax, eax
je 0x42d0bf
push edi
call eax
add esp, 4
cmp eax, 1
jne 0x42d0bf
push dword [0x441108]
call dword [ebp - 0x1b10]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x32
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4403a0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
je 0x42d0fc
call edi
cmp eax, 2
je 0x42d0fc
call edi
cmp eax, 3
je 0x42d0fc
push esi
call ebx
add esi, 0x32
cmp esi, 0x41a
jb 0x42d0d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1b04]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00406bb3
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43a144
push eax
call esi
push 0x43a150
push dword [0x441108]
mov dword [0x4400ac], eax
call esi
push str.FDIIsCabinet
push dword [0x441108]
mov dword [0x4400a8], eax
call esi
push 0x43a168
push dword [0x441108]
mov dword [0x4400b0], eax
call esi
mov ecx, dword [0x4400ac]
mov dword [0x4400b4], eax
test ecx, ecx
je 0x42d577
cmp dword [0x4400a8], ebx
je 0x42d577
cmp dword [0x4400b0], ebx
je 0x42d577
test eax, eax
je 0x42d577
lea eax, [ebp - 0x1ae4]
push eax
push 1
push 0x42bf70
push 0x42bf60
push 0x42bf50
push 0x42bf40
push 0x42bea0
push 0x42be90
push 0x42be80
call ecx
mov edi, eax
add esp, 0x24
test edi, edi
jne 0x42d1d5
push dword [0x441108]
call dword [ebp - 0x1b10]
test edi, edi
je 0x42d581
push 0
push 0x8020
push 0x4403a0
call fcn.0040a473
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x42d233
mov dword [0x43fc0c], 0xffffef2a
xor eax, eax
mov word [0x43fe96], ax
push 0x104
mov dword [0x43fc08], eax
xor eax, eax
push str.C:JenkinsAE_build_workHibun_AE_Current_src_sfslfdec_sfmkcore.c
push 0x43fe98
mov word [0x43fe16], ax
call fcn.0040bfa6
add esp, 0xc
xor eax, eax
mov word [0x44009e], ax
jmp 0x42d05c
mov eax, dword [0x4400b0]
test eax, eax
je 0x42d52d
lea ecx, [ebp - 0x1afc]
push ecx
push esi
push edi
call eax
add esp, 0xc
cmp eax, 1
jne 0x42d52d
push esi
call fcn.0040c078
add esp, 4
xor ecx, ecx
movzx eax, word [ecx + 0x4403a0]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x392], ax
test ax, ax
jne 0x42d262
lea eax, [ebp - 0x390]
push 0x5c
push eax
call fcn.004078b9
mov esi, eax
add esp, 8
test esi, esi
jne 0x42d29f
mov dword [0x43fc0c], 0xffffef2c
jmp 0x42d1fa
add esi, 2
lea edx, [ebp - 0x728]
mov ecx, esi
sub edx, esi
nop dword [eax]
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x42d2b0
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x188]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x40
push eax
push 3
push dword [0x43fbf8]
call esi
push 0x40
lea eax, [ebp - 0x108]
push eax
push 2
push dword [0x43fbf8]
call esi
cmp dword [0x43f9d4], ebx
jne 0x42d321
call fcn.00405ec0
push eax
lea eax, [ebp - 0x108]
push eax
push ecx
push 0x64
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea edx, [ebp - 0x188]
mov ecx, eax
call fcn.004061d0
add esp, 0x14
jmp 0x42d323
xor eax, eax
mov ecx, dword [ebp - 0x1b0c]
push 0
push 0
push 0
push 0
mov dword [ecx], eax
lea eax, [ebp - 0x728]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1b14], eax
test eax, eax
jne 0x42d367
mov dword [ebp - 0x1b00], 0
jmp 0x42d379
push eax
push 8
call dword [ebp - 0x1b08]
push eax
call ebx
mov dword [ebp - 0x1b00], eax
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x390]
push eax
push 0
push 0xfde9
call esi
mov dword [ebp - 0x1b18], eax
test eax, eax
jne 0x42d3a1
xor ebx, ebx
jmp 0x42d3af
push eax
push 8
call dword [ebp - 0x1b08]
push eax
call ebx
mov ebx, eax
mov eax, dword [ebp - 0x1b00]
test eax, eax
je 0x42d3d8
push 0
push 0
push dword [ebp - 0x1b14]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x728]
push eax
push 0
push 0xfde9
call esi
jmp 0x42d3e0
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x42d403
push 0
push 0
push dword [ebp - 0x1b18]
lea eax, [ebp - 0x390]
push ebx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
jmp 0x42d40b
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x4400a8]
test eax, eax
je 0x42d4ef
mov esi, dword [ebp - 0x1b0c]
mov ecx, dword [ebp - 0x1b00]
push esi
push 0x42cdd0
push 0x42bf80
push 0
push ebx
push ecx
push edi
call eax
add esp, 0x1c
cmp eax, 1
jne 0x42d4ef
mov esi, dword [esi]
test esi, esi
je 0x42d45f
push 0
push 0x64
push 0x402
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4400b4]
test eax, eax
je 0x42d490
push edi
call eax
add esp, 4
cmp eax, 1
jne 0x42d490
push dword [0x441108]
call dword [ebp - 0x1b10]
xor edi, edi
mov dword [ebp - 0x1b04], 1
jmp 0x42d05c
push 0x40
push str.FDIDestroy
push 0x43fe18
mov dword [0x43fc0c], 0xffffef2b
call fcn.0040bfa6
add esp, 0xc
xor eax, eax
mov word [0x43fe96], ax
mov eax, dword [ebp - 0x1ae4]
mov dword [0x43fc08], eax
xor eax, eax
push 0x104
push str.C:JenkinsAE_build_workHibun_AE_Current_src_sfslfdec_sfmkcore.c
push 0x43fe98
mov word [0x43fe16], ax
call fcn.0040bfa6
xor eax, eax
add esp, 0xc
mov word [0x44009e], ax
xor edi, edi
jmp 0x42d05c
cmp dword [0x43fc0c], 0
jne 0x42d05c
push 0x40
push str.FDICopy
push 0x43fe18
mov dword [0x43fc0c], 0xffffef2b
call fcn.0040bfa6
add esp, 0xc
xor eax, eax
mov word [0x43fe96], ax
mov eax, dword [ebp - 0x1ae4]
jmp 0x42d202
push 0x104
xor eax, eax
mov dword [0x43fc0c], 0xffffef29
push str.C:JenkinsAE_build_workHibun_AE_Current_src_sfslfdec_sfmkcore.c
push 0x43fe98
mov word [0x43fe96], ax
mov dword [0x43fc08], eax
mov word [0x43fe16], ax
call fcn.0040bfa6
add esp, 0xc
xor eax, eax
mov word [0x44009e], ax
push esi
call fcn.0040c078
add esp, 4
jmp 0x42d05c
push dword [0x441108]
call edi
xor edi, edi
cmp dword [0x441108], ebx
je 0x42cfca
push 0x40
push str.FDICreate
jmp 0x42d503