Function at 0x401cb0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x214], esi
cmp byte [esi], 0
jne 0x401ced
push str._m_bInit_err
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040273b
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 1
push 0
push 0
call dword [0x4203cc]
mov dword [ebp - 0x210], eax
cmp eax, 0xffffffff
jne 0x401d28
push str._CreateTransaction_Failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040273b
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x30], 8
push ebx
lea ebx, [esi + 0x1c]
mov ecx, ebx
jb 0x401d36
mov ecx, dword [ebx]
add esi, 4
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x401d43
mov edx, dword [esi]
push eax
push 1
push 0
push 0
push ecx
push edx
call dword [0x4203d0]
test eax, eax
jne 0x401dae
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00403b60
add esp, 0xc
call esi
push eax
push str._unins000.exe__unins000.exe1_Failed:__d
lea eax, [ebp - 0x204]
push pe_nt_image_headers32
push eax
call fcn.00401010
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [ebp - 0x210]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401ec0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str._unins000.exe__unins000.exe1_success
call edi
cmp dword [ebx + 0x14], 8
jb 0x401dc4
mov ebx, dword [ebx]
push dword [ebp - 0x210]
push ebx
call dword [0x4203c4]
test eax, eax
jne 0x401ddc
push str._MyDeleteFileTransactedW_unins000.exe1_failed
call edi
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x401de6
mov ecx, dword [esi]
mov eax, dword [ebp - 0x214]
add eax, 0x34
cmp dword [eax + 0x14], 8
jb 0x401df7
mov eax, dword [eax]
mov ebx, dword [ebp - 0x210]
push ebx
push 1
push 0
push 0
push ecx
push eax
call dword [0x4203d0]
test eax, eax
jne 0x401e22
push str._hkbak.dat__unins000.exe_Failed
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401ebf
push str._hkbak.dat__unins000.exe_success
call edi
cmp dword [esi + 0x14], 8
jb 0x401e31
mov esi, dword [esi]
push 0
push 0
push ebx
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push esi
call dword [0x4203c8]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401e65
push str._CreateFileTransactedW__m_unins000Exe_Failed
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401ebf
push str._CreateFileTransactedW_m_unins000Exe_success
call edi
push 0
lea eax, [ebp - 0x20c]
mov word [ebp - 0x208], 0x5a4d
push eax
push 2
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401eb6
push str._WriteFile_success_will_commit
call edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call dword [0x4203c0]
test eax, eax
jne 0x401ebf
push str._CommitTransaction_Failed
call edi
jmp 0x401ebf
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
pop edi
push ebx
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop ebx
xor ecx, ebp
pop esi
call fcn.0040273b
mov esp, ebp
pop ebp
ret