Function at 0x42daa0
Capabilities:
Check if file exists
Create process on windows
Delete directory
Delete file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00424210
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00407d30
add esp, 0xc
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
mov byte [0x440a7d], 0
push 0x420
push eax
mov word [0x440f00], ax
mov dword [0x43f9a0], eax
lea eax, [ebp - 0xfa0]
push eax
call fcn.00407d30
add esp, 0xc
call fcn.00405e30
cmp dword [0x43fc0c], 0
mov esi, eax
mov dword [ebp - 0xfa8], esi
jne 0x42e47b
call fcn.004265f0
xor edx, edx
mov dword [0x4405a8], eax
xor ecx, ecx
nop
cmp eax, dword [ecx + 0x43a02c]
je 0x42db49
add ecx, 0x18
inc edx
cmp ecx, 0x108
jb 0x42db30
or eax, 0xffffffff
jmp 0x42db53
lea eax, [edx + edx*2]
mov eax, dword [eax*8 + 0x43a034]
mov dword [0x43f9dc], eax
call fcn.0042ef80
test eax, eax
je 0x42e37e
push 0
xor edx, edx
mov dword [0x43f9c0], 0
mov ecx, esi
call fcn.0042a410
add esp, 4
mov esi, eax
cmp dword [0x43f9c0], 1
jne 0x42db8d
call fcn.0042d5a0
cmp dword [0x43fc0c], 0
jne 0x42e38f
test byte [0x440a7d], 4
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
jne 0x42dc16
push 0x40
lea eax, [ebp - 0x148]
push eax
push 3
push dword [0x43fbf8]
call ebx
push 0x40
lea eax, [ebp - 0xc8]
push eax
push 2
push dword [0x43fbf8]
call ebx
cmp dword [0x43f9d4], 0
jne 0x42dc0a
call fcn.00405ec0
push eax
lea eax, [ebp - 0xc8]
push eax
push ecx
push esi
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea edx, [ebp - 0x148]
mov ecx, eax
call fcn.004061d0
add esp, 0x14
mov dword [ebp - 0xfa4], eax
mov ebx, eax
xor edi, edi
jmp 0x42dc28
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0xfa4], ebx
jmp 0x42dc28
mov ebx, dword [ebp - 0xfa4]
mov edi, dword [ebp - 0xfa8]
mov dword [ebp - 0xfa4], ebx
mov ecx, 0x43f9b4
call fcn.00426810
test eax, eax
jne 0x42dc46
mov ecx, dword [0x43f9b4]
call fcn.004265a0
jmp 0x42e384
test byte [0x440a7d], 4
jne 0x42dc6d
mov ecx, 0x4400d8
call fcn.00427610
test eax, eax
jne 0x42dc8b
mov ecx, dword [0x43f9b4]
call fcn.004265a0
jmp 0x42e384
mov ecx, 0x4403a0
call fcn.00427610
test eax, eax
jne 0x42dc8b
mov ecx, dword [0x43f9b4]
call fcn.004265a0
jmp 0x42e38f
push 0x208
lea eax, [ebp - 0xb70]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [0x43f9b4]
xor esi, esi
cmp dword [ecx], esi
je 0x42dce0
xor eax, eax
nop dword [eax]
mov eax, dword [eax + ecx]
add eax, 0x418
push eax
lea eax, [ebp - 0xb70]
push eax
call fcn.0041398b
add esp, 8
test eax, eax
je 0x42dd17
mov ecx, dword [0x43f9b4]
inc esi
lea eax, [esi*4]
cmp dword [eax + ecx], 0
jne 0x42dcb0
test byte [0x440a7d], 4
jne 0x42dd77
push edi
mov edx, ebx
call fcn.00427a20
add esp, 4
test eax, eax
jne 0x42dd63
mov ecx, dword [0x43f9b4]
call fcn.004278d0
mov ecx, dword [0x43f9b4]
call fcn.004265a0
jmp 0x42e384
push 0x104
xor eax, eax
mov dword [0x43fc0c], 0xffffef2f
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
mov ecx, dword [0x43f9b4]
add esp, 0xc
xor eax, eax
mov word [0x44009e], ax
call fcn.004265a0
jmp 0x42e384
lea eax, [ebp - 0xb70]
xor edx, edx
push eax
push dword [0x43f9b4]
jmp 0x42e1c5
mov eax, dword [0x43fbf8]
push 0x7f00
push 0
mov dword [ebp - 0x100c], 3
mov dword [ebp - 0x1008], 0x42b360
mov dword [ebp - 0x1004], 0
mov dword [ebp - 0x1000], 0
mov dword [ebp - 0xffc], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x67
push dword [0x43fbf8]
mov dword [ebp - 0xff4], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0xf
mov dword [ebp - 0xff8], eax
mov dword [ebp - 0xfec], 0
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [ebp - 0xff0], eax
lea eax, [ebp - 0x100c]
push eax
mov dword [ebp - 0xfe8], str.sfmk_DecWindowClass
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x42de82
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push 0x40
push str.RegisterClass
push 0x43fe18
mov esi, eax
mov dword [0x43fc0c], 0xcb
call fcn.0040bfa6
add esp, 0xc
xor eax, eax
mov word [0x43fe96], ax
call edi
push 0x104
push str.sfmk_DecWindowClass
push 0x43fc10
mov dword [0x43fc08], eax
call fcn.0040bfa6
add esp, 0xc
xor eax, eax
mov word [0x43fe16], ax
push 0x104
push str.C:JenkinsAE_build_workHibun_AE_Current_src_sfslfdec_sfmkcore.c
push 0x43fe98
call fcn.0040bfa6
xor eax, eax
add esp, 0xc
mov word [0x44009e], ax
test esi, esi
jne 0x42e38f
cmp dword [0x43f9d4], 0
jne 0x42e17d
push 0x20
lea eax, [ebp - 0x48]
push eax
push 0x447
push dword [0x43fbf8]
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [0x43f9b4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
lea eax, [ebp - 0xb80]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xb74]
sub eax, dword [ebp - 0xb7c]
mov ebx, dword [ebp - 0xb78]
add eax, 0xffffff9c
sub ebx, dword [ebp - 0xb80]
push esi
push dword [0x43fbf8]
cdq
push 0
push edi
sub eax, edx
push 0x64
sar eax, 1
add eax, dword [ebp - 0xb7c]
push 0x14a
push eax
lea eax, [ebx - 0x14a]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0xb80]
push eax
push 0x90c00000
lea eax, [ebp - 0x48]
push eax
push str.sfmk_DecWindowClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x42e120
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x1000]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x42df95
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax + eax]
lea eax, [ebp - 0x1000]
push eax
call edi
lea eax, [ebp - 0x1000]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x1000]
push eax
call esi
test eax, eax
jne 0x42df70
mov ebx, dword [ebp - 0xfa4]
cmp dword [0x43fc0c], 0
jne 0x42e38f
call fcn.0042bbd0
cmp eax, 1
jne 0x42e38f
lea edx, [ebp - 0xfa0]
call fcn.0042cec0
cmp eax, 1
je 0x42e1b2
push 0x208
lea eax, [ebp - 0x558]
push 0
push eax
call fcn.00407d30
add esp, 0xc
lea eax, [ebp - 0x350]
push 0x208
push 0
push eax
call fcn.00407d30
mov esi, dword [ebp - 0xb88]
add esp, 0xc
test esi, esi
je 0x42e38f
mov ecx, esi
call fcn.00404aa0
mov esi, dword [esi + 0x820]
test esi, esi
jne 0x42e004
mov edi, dword [ebp - 0xb88]
test edi, edi
je 0x42e38f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [eax]
lea ebx, [edi + 0x410]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42e0db
push 0x4400d8
lea eax, [ebp - 0x558]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4400d8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 - 2]
cmp eax, 0x208
jae 0x42e4a0
xor ecx, ecx
mov word [ebp + eax - 0x558], cx
lea eax, [ebp - 0x350]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x558]
push eax
call esi
test eax, eax
je 0x42e0db
lea eax, [ebp - 0x350]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x350]
push 0x5c
push eax
call fcn.004078b9
add esp, 8
test eax, eax
je 0x42e0c7
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x558]
push eax
call esi
test eax, eax
jne 0x42e0a0
mov edi, dword [edi + 0x820]
test edi, edi
jne 0x42e030
mov eax, dword [ebp - 0xb88]
test eax, eax
je 0x42e38f
nop word [eax + eax]
mov esi, dword [eax + 0x820]
push eax
call fcn.0040facf
add esp, 4
mov eax, esi
test esi, esi
jne 0x42e100
mov dword [ebp - 0xb88], esi
jmp 0x42e38f
push 0x40
push str.CreateWindow
push 0x43fe18
mov dword [0x43fc0c], 0xcb
call fcn.0040bfa6
add esp, 0xc
xor eax, eax
mov word [0x43fe96], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
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 0x42e38f
mov ecx, dword [0x43f9b4]
xor edx, edx
push 0
call fcn.00427a20
add esp, 4
test eax, eax
jne 0x42df9b
mov ecx, dword [0x43f9b4]
call fcn.004278d0
mov ecx, dword [0x43f9b4]
call fcn.004265a0
jmp 0x42e38f
lea eax, [ebp - 0xb70]
mov edx, 1
push eax
lea eax, [ebp - 0xfa0]
push eax
call fcn.0042e9f0
add esp, 8
cmp dword [0x43f9d4], 0
je 0x42e384
test byte [0x440a7d], 4
jne 0x42e2d5
mov eax, dword [0x43f9b4]
test eax, eax
je 0x42e384
xor esi, esi
cmp dword [eax], esi
je 0x42e384
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [ecx + eax]
lea edx, [ebp - 0x760]
add eax, 0x418
nop
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx], cx
lea edx, [edx + 2]
test cx, cx
jne 0x42e220
lea eax, [ebp - 0x760]
mov dword [ebp - 0xfdc], 0
xorps xmm0, xmm0
mov dword [ebp - 0xfd4], eax
lea eax, [ebp - 0xfe4]
movlpd qword [ebp - 0xfd0], xmm0
push eax
movlpd qword [ebp - 0xfc4], xmm0
movlpd qword [ebp - 0xfbc], xmm0
movlpd qword [ebp - 0xfb4], xmm0
mov dword [ebp - 0xfac], 0
mov dword [ebp - 0xfe4], 0x3c
mov dword [ebp - 0xfe0], 0x140
mov dword [ebp - 0xfd8], 0
mov dword [ebp - 0xfc8], 1
call edi
cmp dword [0x4409fc], 0
je 0x42e2b9
lea ecx, [ebp - 0x760]
call fcn.00404bf0
mov eax, dword [0x43f9b4]
inc esi
lea ecx, [esi*4]
cmp dword [ecx + eax], 0
jne 0x42e210
jmp 0x42e384
mov esi, dword [ebp - 0xb88]
test esi, esi
je 0x42e384
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0xfdc], 0
lea eax, [ebp - 0xfe4]
movlpd qword [ebp - 0xfd0], xmm0
push eax
movlpd qword [ebp - 0xfc4], xmm0
movlpd qword [ebp - 0xfbc], xmm0
movlpd qword [ebp - 0xfb4], xmm0
mov dword [ebp - 0xfac], 0
mov dword [ebp - 0xfe4], 0x3c
mov dword [ebp - 0xfe0], 0x140
mov dword [ebp - 0xfd8], 0
mov dword [ebp - 0xfd4], esi
mov dword [ebp - 0xfc8], 1
call edi
cmp dword [0x4409fc], 0
je 0x42e36e
mov ecx, esi
call fcn.00404bf0
mov esi, dword [esi + 0x820]
test esi, esi
jne 0x42e2f0
jmp 0x42e384
mov ebx, dword [ebp - 0xfa4]
test ebx, ebx
je 0x42e38f
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ebx, dword [ebp - 0xfa8]
xor esi, esi
cmp dword [ebx + 8], esi
jle 0x42e3b3
nop dword [eax]
mov eax, dword [ebx]
push dword [eax + esi*4]
call fcn.0040facf
inc esi
add esp, 4
cmp esi, dword [ebx + 8]
jl 0x42e3a0
push dword [ebx]
call fcn.0040facf
add esp, 4
push ebx
call fcn.0040facf
mov ecx, 0x440a80
add esp, 4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e3d0
sub ecx, edx
sar ecx, 1
je 0x42e44d
mov ecx, 0x4403a0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e3f0
sub ecx, edx
sar ecx, 1
je 0x42e442
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 0x32
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4403a0
call ebx
cmp eax, 1
je 0x42e442
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42e442
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x42e442
push esi
call edi
add esi, 0x32
cmp esi, 0x41a
jb 0x42e412
push 0x440a80
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0xb88]
test eax, eax
je 0x42e47b
nop word [eax + eax]
mov esi, dword [eax + 0x820]
push eax
call fcn.0040facf
add esp, 4
mov eax, esi
test esi, esi
jne 0x42e460
mov dword [ebp - 0xb88], esi
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bb3
mov esp, ebp
pop ebp
ret
call fcn.00406ce3
int3