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

Disassembly:
sub esp, 0xc24
mov eax, dword [0x42d2ec]
xor eax, esp
mov dword [esp + 0xc20], eax
mov eax, dword [0x42f174]
mov ecx, dword [eax + 0x14]
push ebx
xor ebx, ebx
cmp dword [ecx + 0x1198c], ebx
mov dword [esp + 8], ebx
jne 0x405336
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc20]
xor ecx, esp
call fcn.00412c09
add esp, 0xc24
ret
cmp dword [0x42f140], ebx
jne 0x40531b
test dword [ecx + 0x3a88], 0x200
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
je 0x4053de
mov eax, ecx
lea ecx, [eax + 0x5c8]
push ecx
add eax, 0x11e8
push eax
call edi
mov edx, dword [0x42f174]
mov eax, dword [edx + 0x14]
add eax, 0x11e8
push eax
call fcn.0040e9f0
mov ecx, dword [0x42f174]
mov eax, dword [ecx + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 4
lea edx, [eax + 0x3984]
push edx
add eax, 0x11e8
push eax
call esi
mov eax, dword [0x42f174]
mov ecx, dword [eax + 0x14]
add ecx, 0x11e8
push ecx
call fcn.0040e9f0
mov edx, dword [0x42f174]
mov eax, dword [edx + 0x14]
add esp, 4
push str.epuninst.exe
add eax, 0x11e8
push eax
call esi
mov ecx, dword [0x42f174]
mov edx, dword [ecx + 0x14]
mov byte [edx + 0x12ec], bl
mov eax, dword [0x42f174]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x1198c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov edx, dword [0x42f174]
mov esi, eax
mov eax, dword [edx + 0x14]
add eax, 0x11e8
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.0040f120
lea edx, [esp + 0x22c]
push edx
call fcn.0040ea30
mov eax, dword [0x42f174]
mov eax, dword [eax + 0x14]
lea ecx, [eax + 0x6cc]
push ecx
add eax, 0x5c8
push eax
lea edx, [esp + 0x238]
push edx
call fcn.0040ddb0
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0x14
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 0x405490
mov dword [0x42f140], 7
jmp 0x405ae8
mov ecx, dword [0x42f174]
mov dword [esp + 0x10], ebx
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1198c]
mov byte [eax], 0x4d
mov ecx, dword [0x42f174]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1198c]
mov byte [eax + 1], 0x53
mov ecx, dword [0x42f174]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1198c]
mov byte [eax + 2], 0x43
mov ecx, dword [0x42f174]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1198c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [eax + 3], 0x46
mov edx, dword [0x42f174]
mov eax, dword [edx + 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0x1198c]
push esi
push ecx
push edi
call ebx
test eax, eax
jne 0x405512
mov dword [0x42f140], 8
jmp 0x405ad8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x120]
push str.epuninst.exe
push edx
call fcn.00402050
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
jne 0x405545
mov dword [0x42f140], 8
jmp 0x405ae8
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 0x405580
mov dword [0x42f140], 7
jmp 0x405ae8
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 0x4055c9
mov dword [0x42f140], 8
jmp 0x405ad8
push str._EXEpress_Uninstaller_
push edi
call fcn.00402190
add esp, 8
test eax, eax
je 0x405ad8
push str._Options_
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov eax, dword [0x42f174]
mov ecx, dword [eax + 0x14]
test byte [ecx + 0x3a8c], 1
je 0x40561c
push str.AutoUninstIni1
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov edx, dword [0x42f174]
mov eax, dword [edx + 0x14]
test byte [eax + 0x3a8c], 2
je 0x405644
push str.AutoUninstDat1
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov ecx, dword [0x42f174]
mov edx, dword [ecx + 0x14]
test byte [edx + 0x3a8c], 0x10
je 0x40566c
push str.EPUninstHideLogButton1
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov eax, dword [0x42f174]
mov ecx, dword [eax + 0x14]
test dword [ecx + 0x3a88], 0x800000
je 0x405696
push str.UninstallRebootable1
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
push str.DeleteSubFolders0
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov edx, dword [0x42f174]
mov eax, dword [edx + 0x14]
add eax, 0x10e4
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.00402220
add esp, 0x14
test eax, eax
je 0x405ad8
push str._Files_
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
xor esi, esi
cmp dword [0x42f140], ebp
jne 0x405ad8
mov bl, 0x3a
jmp 0x405710
lea eax, [esp + 0x18]
push eax
call fcn.004050b0
add esp, 4
test eax, eax
je 0x4057de
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 0x40579a
cmp byte [esp + 0x19], bl
je 0x40579a
mov edx, dword [0x42f174]
mov eax, dword [edx + 0x14]
add eax, 0x5c8
push eax
lea ecx, [esp + 0x22c]
push ecx
call ebp
lea edx, [esp + 0x228]
push edx
call fcn.0040e9f0
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.00402220
add esp, 0x18
test eax, eax
je 0x405ad8
add esi, 1
cmp dword [0x42f140], 0
je 0x405710
jmp 0x405ad8
push str._Registry_CLASSES_ROOT_
push edi
xor esi, esi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov edx, dword [0x42f174]
mov eax, dword [edx + 0x14]
cmp dword [eax + 0x1900], esi
jle 0x40584c
xor ebp, ebp
mov bl, 0x30
jmp 0x405810
cmp byte [eax + ebp + 0x1904], bl
jne 0x40584c
lea eax, [eax + ebp + 0x1905]
push eax
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov ecx, dword [0x42f174]
mov eax, dword [ecx + 0x14]
add esi, 1
add ebp, 0x104
cmp esi, dword [eax + 0x1900]
jl 0x405810
push str._Registry_CURRENT_USER_
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov edx, dword [0x42f174]
mov eax, dword [edx + 0x14]
cmp esi, dword [eax + 0x1900]
jge 0x4058bc
mov ebp, esi
imul ebp, ebp, 0x104
mov bl, 0x31
lea ecx, [ecx]
cmp byte [eax + ebp + 0x1904], bl
jne 0x4058bc
lea eax, [eax + ebp + 0x1905]
push eax
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov ecx, dword [0x42f174]
mov eax, dword [ecx + 0x14]
add esi, 1
add ebp, 0x104
cmp esi, dword [eax + 0x1900]
jl 0x405880
push str._Registry_LOCAL_MACHINE_
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov edx, dword [0x42f174]
mov eax, dword [edx + 0x14]
cmp esi, dword [eax + 0x1900]
jge 0x40592c
mov ebp, esi
imul ebp, ebp, 0x104
mov bl, 0x32
lea ecx, [ecx]
cmp byte [eax + ebp + 0x1904], bl
jne 0x40592c
lea eax, [eax + ebp + 0x1905]
push eax
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov ecx, dword [0x42f174]
mov eax, dword [ecx + 0x14]
add esi, 1
add ebp, 0x104
cmp esi, dword [eax + 0x1900]
jl 0x4058f0
push str._Registry_USERS_
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov ecx, dword [0x42f174]
mov eax, dword [ecx + 0x14]
cmp esi, dword [eax + 0x1900]
jge 0x40599c
mov ebp, esi
imul ebp, ebp, 0x104
mov bl, 0x33
lea ecx, [ecx]
cmp byte [eax + ebp + 0x1904], bl
jne 0x40599c
lea edx, [eax + ebp + 0x1905]
push edx
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov ecx, dword [0x42f174]
mov eax, dword [ecx + 0x14]
add esi, 1
add ebp, 0x104
cmp esi, dword [eax + 0x1900]
jl 0x405960
mov ecx, dword [ecx + 0x14]
add ecx, 0x1239c
call fcn.00402320
test eax, eax
je 0x405a3e
push str._RegServer_
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
mov eax, dword [0x42f174]
mov eax, dword [eax + 0x14]
mov esi, dword [eax + 0x123a0]
xor ebp, ebp
cmp esi, dword [eax + 0x123a4]
je 0x405a3e
cmp byte [esi + 0x104], 0
je 0x405a27
lea ecx, [esp + 0x228]
push ecx
push esi
call fcn.0040e0c0
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.00402220
add esp, 0x20
mov edx, dword [0x42f174]
mov eax, dword [edx + 0x14]
add esi, 0x105
cmp esi, dword [eax + 0x123a4]
jne 0x4059e0
push str._Group_
push edi
call fcn.00402220
add esp, 8
test eax, eax
je 0x405ad8
call fcn.0040f890
test eax, eax
je 0x405a79
mov ecx, dword [0x42f174]
mov edx, dword [ecx + 0x14]
test dword [edx + 0x3a88], 0x40000
je 0x405a79
push str.CommonGroup1
jmp 0x405a7e
push str.CommonGroup0
push edi
call fcn.00402220
mov eax, dword [0x42f174]
mov ecx, dword [eax + 0x14]
add esp, 8
add ecx, 0x13f0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x405ad8
push 0x427554
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x42f174]
mov ecx, dword [eax + 0x14]
add ecx, 0x13f0
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.00402220
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x42f140], 0
je 0x405af6
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 0x405b08
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0xc24]
xor eax, eax
cmp dword [0x42f140], eax
pop ebx
sete al
xor ecx, esp
call fcn.00412c09
add esp, 0xc24
ret