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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc6c
mov eax, dword [0x4292b4]
xor eax, esp
mov dword [esp + 0xc68], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x1177c], 0
push edi
mov dword [esp + 0x24], 0
jne 0x404ace
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc68]
xor ecx, esp
call fcn.0040ffc4
mov esp, ebp
pop ebp
ret
cmp dword [0x42b0e0], 0
jne 0x404ab4
test dword [eax + 0x3878], 0x200
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
je 0x404b4e
lea ecx, [eax + 0x4ba]
push ecx
add eax, 0xfd6
push eax
call ebx
mov edx, dword [esi + 0x14]
add edx, 0xfd6
push edx
call fcn.0040e080
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 4
lea ecx, [eax + 0x3774]
push ecx
add eax, 0xfd6
push eax
call edi
mov edx, dword [esi + 0x14]
add edx, 0xfd6
push edx
call fcn.0040e080
mov eax, dword [esi + 0x14]
add esp, 4
push str.epuninst.exe
add eax, 0xfd6
push eax
call edi
mov ecx, dword [esi + 0x14]
mov byte [ecx + 0x10da], 0
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0x1177c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, dword [esi + 0x14]
add ecx, 0xfd6
push ecx
lea edx, [esp + 0x15c]
push edx
mov edi, eax
call ebx
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x264]
push ecx
call ebx
lea edx, [esp + 0x260]
push edx
call fcn.0040e7b0
lea eax, [esp + 0x264]
push eax
call fcn.0040e0c0
push esi
lea ecx, [esp + 0x26c]
push 1
push ecx
call fcn.0040f8a0
add esp, 0x14
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
lea edx, [esp + 0x170]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x404be9
mov dword [0x42b0e0], 7
jmp 0x4053a3
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], 0
mov ecx, dword [eax + 0x1177c]
mov byte [ecx], 0x4d
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0x1177c]
mov byte [eax + 1], 0x53
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x1177c]
mov byte [edx + 2], 0x43
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x1177c]
push 0
mov byte [ecx + 3], 0x46
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x1177c]
lea edx, [esp + 0x24]
push edx
push edi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x404c50
mov dword [0x42b0e0], 8
jmp 0x405393
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x158]
push str.epuninst.exe
push edx
call fcn.00401c10
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x24], edi
jne 0x404c85
mov dword [0x42b0e0], 8
jmp 0x4053a3
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
push 0x80
push 2
push 0
push 3
mov dword [esp + 0x20], eax
push 0x40000000
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x404cc6
mov dword [0x42b0e0], 7
jmp 0x4053a3
push 0
lea ecx, [esp + 0x24]
push ecx
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edx, dword [esp + 0x14]
push eax
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x404cfc
mov dword [0x42b0e0], 8
jmp 0x405393
push str._EXEpress_Uninstaller_
push ebx
call fcn.004022d0
add esp, 8
test eax, eax
je 0x405393
push str._Options_
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov eax, dword [esi + 0x14]
test byte [eax + 0x387c], 1
je 0x404d4a
push str.AutoUninstIni1
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov ecx, dword [esi + 0x14]
test byte [ecx + 0x387c], 2
je 0x404d6c
push str.AutoUninstDat1
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov edx, dword [esi + 0x14]
test byte [edx + 0x387c], 0x10
je 0x404d8e
push str.EPUninstHideLogButton1
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov eax, dword [esi + 0x14]
test dword [eax + 0x3878], 0x800000
je 0x404db3
push str.UninstallRebootable1
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
push str.DeleteSubFolders0
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov ecx, dword [esi + 0x14]
add ecx, 0xed2
push ecx
lea edx, [esp + 0x54]
push str.UninstallKey_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.00402360
add esp, 0x14
test eax, eax
je 0x405393
push str._Files_
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
cmp dword [0x42b0e0], 0
mov dword [esp + 0xc], 0
jne 0x405393
lea edi, [esp + 0x50]
call fcn.004048a0
test eax, eax
je 0x404eee
mov ecx, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ecx
lea edx, [esp + 0x264]
push edx
call edi
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x260]
sub ecx, 1
cmp byte [eax + ecx], 0x5c
je 0x404ea4
cmp byte [esp + 0x51], 0x3a
je 0x404ea4
mov edx, dword [esi + 0x14]
add edx, 0x4ba
push edx
lea eax, [esp + 0x264]
push eax
call edi
lea ecx, [esp + 0x260]
push ecx
call fcn.0040e080
add esp, 4
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x260]
push ecx
push edx
lea eax, [esp + 0x58]
push str._d_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x60]
push ecx
push ebx
call fcn.00402360
add esp, 0x18
test eax, eax
je 0x405393
add dword [esp + 0xc], 1
cmp dword [0x42b0e0], 0
je 0x404e24
jmp 0x405393
push str._Registry_CLASSES_ROOT_
push ebx
xor edi, edi
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x16f0], edi
jle 0x404f5d
xor ecx, ecx
mov dword [esp + 0xc], ecx
jmp 0x404f24
mov ecx, dword [esp + 0xc]
cmp byte [ecx + eax + 0x16f4], 0x30
jne 0x404f5d
lea edx, [ecx + eax + 0x16f5]
push edx
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov eax, dword [esi + 0x14]
add dword [esp + 0xc], 0x104
add edi, 1
cmp edi, dword [eax + 0x16f0]
jl 0x404f20
push str._Registry_CURRENT_USER_
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov eax, dword [esi + 0x14]
cmp edi, dword [eax + 0x16f0]
jge 0x404fcd
mov ecx, edi
imul ecx, ecx, 0x104
mov dword [esp + 0xc], ecx
jmp 0x404f94
mov ecx, dword [esp + 0xc]
cmp byte [ecx + eax + 0x16f4], 0x31
jne 0x404fcd
lea eax, [ecx + eax + 0x16f5]
push eax
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov eax, dword [esi + 0x14]
add dword [esp + 0xc], 0x104
add edi, 1
cmp edi, dword [eax + 0x16f0]
jl 0x404f90
push str._Registry_LOCAL_MACHINE_
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov eax, dword [esi + 0x14]
cmp edi, dword [eax + 0x16f0]
jge 0x40503d
mov ecx, edi
imul ecx, ecx, 0x104
mov dword [esp + 0xc], ecx
jmp 0x405004
mov ecx, dword [esp + 0xc]
cmp byte [ecx + eax + 0x16f4], 0x32
jne 0x40503d
lea ecx, [ecx + eax + 0x16f5]
push ecx
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov eax, dword [esi + 0x14]
add dword [esp + 0xc], 0x104
add edi, 1
cmp edi, dword [eax + 0x16f0]
jl 0x405000
push str._Registry_USERS_
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov eax, dword [esi + 0x14]
cmp edi, dword [eax + 0x16f0]
jge 0x4050ad
mov ecx, edi
imul ecx, ecx, 0x104
mov dword [esp + 0xc], ecx
jmp 0x405074
mov ecx, dword [esp + 0xc]
cmp byte [ecx + eax + 0x16f4], 0x33
jne 0x4050ad
lea edx, [ecx + eax + 0x16f5]
push edx
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov eax, dword [esi + 0x14]
add dword [esp + 0xc], 0x104
add edi, 1
cmp edi, dword [eax + 0x16f0]
jl 0x405070
mov ecx, dword [esi + 0x14]
add ecx, 0x1218c
call fcn.00402460
test eax, eax
je 0x40530a
push str._RegServer_
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x28]
push eax
add ecx, 0x1218c
xor edi, edi
call fcn.00402d10
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x28]
push eax
add ecx, 0x1218c
mov dword [esp + 0x14], edx
call fcn.00402d40
push eax
lea ecx, [esp + 0x10]
call fcn.004026d0
test al, al
je 0x40530a
lea ecx, [esp + 0xc]
call fcn.00402d70
cmp byte [eax + 0x104], 0
je 0x4052d5
mov edx, dword [0x42b11c]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [edx + 0x14]
add ecx, 0x1219c
mov byte [esp + 0x1b], 0
call fcn.00402d10
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x42b11c]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x30]
push eax
add ecx, 0x1219c
mov dword [esp + 0x20], edx
call fcn.00402d40
push eax
lea ecx, [esp + 0x1c]
call fcn.004026d0
test al, al
je 0x405266
lea esp, [esp]
lea ecx, [esp + 0xc]
call fcn.00402d70
push eax
lea ecx, [esp + 0x1c]
call fcn.00402d70
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405225
mov edx, dword [0x42b11c]
push eax
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x3878]
shr ecx, 3
and ecx, 0xffffff01
push ecx
lea ecx, [esp + 0x20]
call fcn.00402d70
add eax, 0x108
push eax
lea ecx, [esp + 0x24]
call fcn.00402d70
mov edx, dword [eax + 0x104]
push edx
lea eax, [esp + 0x270]
push eax
call fcn.00401d00
lea ecx, [esp + 0x274]
push ecx
call fcn.0040e080
add esp, 0x18
lea ecx, [esp + 0xc]
call fcn.00402d70
push eax
lea edx, [esp + 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [esp + 0x17], 1
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
call fcn.00402de0
mov edx, dword [0x42b11c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [edx + 0x14]
add ecx, 0x1219c
call fcn.00402d40
push eax
lea ecx, [esp + 0x1c]
call fcn.004026d0
test al, al
jne 0x405190
cmp byte [esp + 0x17], al
jne 0x4052a5
mov eax, dword [esi + 0x14]
add eax, 0x4ba
push eax
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x260]
push edx
call fcn.0040e080
add esp, 4
lea ecx, [esp + 0xc]
call fcn.00402d70
push eax
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x260]
push ecx
push edi
lea edx, [esp + 0x770]
push str._d_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x778]
push eax
push ebx
add edi, 1
call fcn.00402360
add esp, 0x18
push 0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402da0
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x28]
push edx
add ecx, 0x1218c
call fcn.00402d40
push eax
lea ecx, [esp + 0x10]
call fcn.004026d0
test al, al
jne 0x405120
push str._Group_
push ebx
call fcn.00402360
add esp, 8
test eax, eax
je 0x405393
call fcn.0040eda0
test eax, eax
je 0x40533f
mov eax, dword [esi + 0x14]
test dword [eax + 0x3878], 0x40000
je 0x40533f
push str.CommonGroup1
jmp 0x405344
push str.CommonGroup0
push ebx
call fcn.00402360
mov ecx, dword [esi + 0x14]
add esp, 8
add ecx, 0x11de
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x405393
push 0x4234e8
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 0x14]
add eax, 0x11de
push eax
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x50]
push edx
push ebx
call fcn.00402360
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x42b0e0], 0
je 0x4053b1
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4053c0
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0xc74]
xor eax, eax
cmp dword [0x42b0e0], eax
pop edi
pop esi
sete al
pop ebx
xor ecx, esp
call fcn.0040ffc4
mov esp, ebp
pop ebp
ret