Function at 0x404ec0
Capabilities:
Delete file
Write file on windows

Disassembly:
sub esp, 0xc24
mov eax, dword [0x42c2e4]
xor eax, esp
mov dword [esp + 0xc20], eax
mov eax, dword [0x42e134]
mov ecx, dword [eax + 0x14]
push ebx
xor ebx, ebx
cmp dword [ecx + 0x11b94], ebx
mov dword [esp + 8], ebx
jne 0x404f06
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc20]
xor ecx, esp
call fcn.004121f9
add esp, 0xc24
ret
cmp dword [0x42e100], ebx
jne 0x404eeb
test dword [ecx + 0x3c90], 0x200
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
je 0x404fae
mov eax, ecx
lea ecx, [eax + 0x5c6]
push ecx
add eax, 0x13ee
push eax
call edi
mov edx, dword [0x42e134]
mov eax, dword [edx + 0x14]
add eax, 0x13ee
push eax
call fcn.0040e060
mov ecx, dword [0x42e134]
mov eax, dword [ecx + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 4
lea edx, [eax + 0x3b8c]
push edx
add eax, 0x13ee
push eax
call esi
mov eax, dword [0x42e134]
mov ecx, dword [eax + 0x14]
add ecx, 0x13ee
push ecx
call fcn.0040e060
mov edx, dword [0x42e134]
mov eax, dword [edx + 0x14]
add esp, 4
push str.epuninst.exe
add eax, 0x13ee
push eax
call esi
mov ecx, dword [0x42e134]
mov edx, dword [ecx + 0x14]
mov byte [edx + 0x14f2], bl
mov eax, dword [0x42e134]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x11b94]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov edx, dword [0x42e134]
mov esi, eax
mov eax, dword [edx + 0x14]
add eax, 0x13ee
push eax
lea ecx, [esp + 0x124]
push ecx
call edi
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x22c]
push eax
call edi
lea ecx, [esp + 0x228]
push ecx
call fcn.0040e790
lea edx, [esp + 0x22c]
push edx
call fcn.0040e0a0
mov eax, dword [0x42e134]
mov ecx, dword [eax + 0x14]
add ecx, 0x7ce
push ecx
lea edx, [esp + 0x234]
push edx
call fcn.0040d3c0
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push 3
push 0x40000000
lea eax, [esp + 0x138]
push eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
jne 0x40505a
mov dword [0x42e100], 7
jmp 0x4056a8
mov ecx, dword [0x42e134]
mov dword [esp + 0x10], ebx
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x11b94]
mov byte [eax], 0x4d
mov ecx, dword [0x42e134]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x11b94]
mov byte [eax + 1], 0x53
mov ecx, dword [0x42e134]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x11b94]
mov byte [eax + 2], 0x43
mov ecx, dword [0x42e134]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x11b94]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [eax + 3], 0x46
mov edx, dword [0x42e134]
mov eax, dword [edx + 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0x11b94]
push esi
push ecx
push edi
call ebx
test eax, eax
jne 0x4050dc
mov dword [0x42e100], 8
jmp 0x405698
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x120]
push str.epuninst.exe
push edx
call fcn.00401c20
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
jne 0x40510f
mov dword [0x42e100], 8
jmp 0x4056a8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
push 0x80
push 2
push 0
push 3
mov esi, eax
push 0x40000000
lea eax, [esp + 0x138]
push eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
jne 0x40514a
mov dword [0x42e100], 7
jmp 0x4056a8
mov eax, dword [esi + 0x3c]
mov edx, dword [esp + 0x14]
add eax, esi
mov ecx, 4
xor ebp, ebp
mov word [eax + 0x40], cx
mov word [eax + 0x48], cx
push ebp
lea ecx, [esp + 0x14]
push ecx
mov word [eax + 0x42], bp
mov word [eax + 0x4a], bp
push edx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x405193
mov dword [0x42e100], 8
jmp 0x405698
push str._EXEpress_Uninstaller_
push edi
call fcn.00401d60
add esp, 8
test eax, eax
je 0x405698
push str._Options_
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov eax, dword [0x42e134]
mov ecx, dword [eax + 0x14]
test byte [ecx + 0x3c94], 1
je 0x4051e6
push str.AutoUninstIni1
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov edx, dword [0x42e134]
mov eax, dword [edx + 0x14]
test byte [eax + 0x3c94], 2
je 0x40520e
push str.AutoUninstDat1
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov ecx, dword [0x42e134]
mov edx, dword [ecx + 0x14]
test byte [edx + 0x3c94], 0x10
je 0x405236
push str.EPUninstHideLogButton1
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov eax, dword [0x42e134]
mov ecx, dword [eax + 0x14]
test dword [ecx + 0x3c90], 0x800000
je 0x405260
push str.UninstallRebootable1
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
push str.DeleteSubFolders0
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov edx, dword [0x42e134]
mov eax, dword [edx + 0x14]
add eax, 0x12ea
push eax
lea ecx, [esp + 0x1c]
push str.UninstallKey_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x24]
push edx
push edi
call fcn.00401df0
add esp, 0x14
test eax, eax
je 0x405698
push str._Files_
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
xor esi, esi
cmp dword [0x42e100], ebp
jne 0x405698
mov bl, 0x3a
lea eax, [esp + 0x18]
push eax
call fcn.00404cb0
add esp, 4
test eax, eax
je 0x40539f
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x22c]
push edx
call ebp
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x228]
sub ecx, 1
cmp byte [eax + ecx], 0x5c
je 0x40535b
cmp byte [esp + 0x19], bl
je 0x40535b
mov edx, dword [0x42e134]
mov eax, dword [edx + 0x14]
add eax, 0x5c6
push eax
lea ecx, [esp + 0x22c]
push ecx
call ebp
lea edx, [esp + 0x228]
push edx
call fcn.0040e060
add esp, 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x228]
push edx
push esi
lea eax, [esp + 0x20]
push str._d_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x28]
push ecx
push edi
call fcn.00401df0
add esp, 0x18
test eax, eax
je 0x405698
add esi, 1
cmp dword [0x42e100], 0
je 0x4052d1
jmp 0x405698
push str._Registry_CLASSES_ROOT_
push edi
xor esi, esi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov edx, dword [0x42e134]
mov eax, dword [edx + 0x14]
cmp dword [eax + 0x1b08], esi
jle 0x40540c
xor ebp, ebp
mov bl, 0x30
lea esp, [esp]
cmp byte [eax + ebp + 0x1b0c], bl
jne 0x40540c
lea eax, [eax + ebp + 0x1b0d]
push eax
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov ecx, dword [0x42e134]
mov eax, dword [ecx + 0x14]
add esi, 1
add ebp, 0x104
cmp esi, dword [eax + 0x1b08]
jl 0x4053d0
push str._Registry_CURRENT_USER_
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov edx, dword [0x42e134]
mov eax, dword [edx + 0x14]
cmp esi, dword [eax + 0x1b08]
jge 0x40547c
mov ebp, esi
imul ebp, ebp, 0x104
mov bl, 0x31
lea ecx, [ecx]
cmp byte [eax + ebp + 0x1b0c], bl
jne 0x40547c
lea eax, [eax + ebp + 0x1b0d]
push eax
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov ecx, dword [0x42e134]
mov eax, dword [ecx + 0x14]
add esi, 1
add ebp, 0x104
cmp esi, dword [eax + 0x1b08]
jl 0x405440
push str._Registry_LOCAL_MACHINE_
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov edx, dword [0x42e134]
mov eax, dword [edx + 0x14]
cmp esi, dword [eax + 0x1b08]
jge 0x4054ec
mov ebp, esi
imul ebp, ebp, 0x104
mov bl, 0x32
lea ecx, [ecx]
cmp byte [eax + ebp + 0x1b0c], bl
jne 0x4054ec
lea eax, [eax + ebp + 0x1b0d]
push eax
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov ecx, dword [0x42e134]
mov eax, dword [ecx + 0x14]
add esi, 1
add ebp, 0x104
cmp esi, dword [eax + 0x1b08]
jl 0x4054b0
push str._Registry_USERS_
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov ecx, dword [0x42e134]
mov eax, dword [ecx + 0x14]
cmp esi, dword [eax + 0x1b08]
jge 0x40555c
mov ebp, esi
imul ebp, ebp, 0x104
mov bl, 0x33
lea ecx, [ecx]
cmp byte [eax + ebp + 0x1b0c], bl
jne 0x40555c
lea edx, [eax + ebp + 0x1b0d]
push edx
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov ecx, dword [0x42e134]
mov eax, dword [ecx + 0x14]
add esi, 1
add ebp, 0x104
cmp esi, dword [eax + 0x1b08]
jl 0x405520
mov ecx, dword [ecx + 0x14]
add ecx, 0x125a4
call fcn.00401ef0
test eax, eax
je 0x4055fe
push str._RegServer_
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
mov eax, dword [0x42e134]
mov eax, dword [eax + 0x14]
mov esi, dword [eax + 0x125a8]
xor ebp, ebp
cmp esi, dword [eax + 0x125ac]
je 0x4055fe
cmp byte [esi + 0x104], 0
je 0x4055e7
lea ecx, [esp + 0x228]
push ecx
push esi
call fcn.0040d720
lea edx, [esp + 0x230]
push edx
push ebp
lea eax, [esp + 0x73c]
push str._d_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x744]
push ecx
push edi
add ebp, 1
call fcn.00401df0
add esp, 0x20
mov edx, dword [0x42e134]
mov eax, dword [edx + 0x14]
add esi, 0x105
cmp esi, dword [eax + 0x125ac]
jne 0x4055a0
push str._Group_
push edi
call fcn.00401df0
add esp, 8
test eax, eax
je 0x405698
call fcn.0040ef00
test eax, eax
je 0x405639
mov ecx, dword [0x42e134]
mov edx, dword [ecx + 0x14]
test dword [edx + 0x3c90], 0x40000
je 0x405639
push str.CommonGroup1
jmp 0x40563e
push str.CommonGroup0
push edi
call fcn.00401df0
mov eax, dword [0x42e134]
mov ecx, dword [eax + 0x14]
add esp, 8
add ecx, 0x15f6
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x405698
push 0x4264f0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x42e134]
mov ecx, dword [eax + 0x14]
add ecx, 0x15f6
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00401df0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x42e100], 0
je 0x4056b6
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x14]
test eax, eax
pop edi
pop esi
pop ebp
je 0x4056c8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0xc24]
xor eax, eax
cmp dword [0x42e100], eax
pop ebx
sete al
xor ecx, esp
call fcn.004121f9
add esp, 0xc24
ret