Function at 0x401c10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40dc
call fcn.00403e50
mov eax, dword [0x425034]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
mov eax, dword [0x42a900]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [0x42a904]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x1000
push 0
lea edx, [ebp - 0x1064]
push edx
call fcn.00405f10
add esp, 0xc
push 0x41d560
lea eax, [ebp - 0x1064]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x1064]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [ebp + eax - 0x1064]
mov dword [ebp - 0x40d4], edx
push 0
push 0
push 0x147
mov eax, dword [0x42a8f8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x40d8], eax
mov ecx, dword [ebp - 0x40d4]
push ecx
mov edx, dword [ebp - 0x40d8]
push edx
push 0x148
mov eax, dword [0x42a8f8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x41d564
lea ecx, [ebp - 0x1064]
push ecx
call fcn.00407a16
add esp, 8
mov dword [ebp - 0x40b8], eax
cmp dword [ebp - 0x40b8], 0
je 0x402149
mov edx, dword [ebp - 0x40b8]
push edx
call fcn.00403910
add esp, 4
movzx eax, al
test eax, eax
je 0x401d17
mov ecx, dword [ebp - 0x40b8]
push ecx
push 1
push 4
lea edx, [ebp - 0x40dc]
push edx
call fcn.00407c13
add esp, 0x10
push 0x28
push 0
lea eax, [ebp - 0x408c]
push eax
call fcn.00405f10
add esp, 0xc
mov dword [ebp - 0x40c0], 0
mov dword [ebp - 0x40c8], 0
push 0x41d568
mov ecx, dword [ebp - 0x40b8]
push ecx
call fcn.00403790
add esp, 8
movzx edx, al
test edx, edx
je 0x401dd2
mov eax, dword [ebp - 0x40b8]
push eax
push 1
push 0x28
lea ecx, [ebp - 0x408c]
push ecx
call fcn.00407c13
add esp, 0x10
mov edx, dword [ebp - 0x4080]
add edx, dword [ebp - 0x407c]
mov dword [ebp - 0x40c8], edx
cmp dword [ebp - 0x4078], 0
je 0x401da2
mov eax, dword [ebp - 0x4078]
add eax, dword [ebp - 0x407c]
mov dword [ebp - 0x40c0], eax
jmp 0x401db4
mov ecx, dword [ebp - 0x4080]
add ecx, dword [ebp - 0x407c]
mov dword [ebp - 0x40c0], ecx
mov edx, dword [ebp - 0x40c0]
sub edx, 0x20
mov dword [ebp - 0x40c0], edx
mov eax, dword [ebp - 0x40c8]
sub eax, 0x20
mov dword [ebp - 0x40c8], eax
mov ecx, dword [ebp - 0x40c0]
push ecx
push 0x41d570
call fcn.00401290
add esp, 8
mov edx, dword [ebp - 0x40c8]
push edx
push 0x41d584
call fcn.00401290
add esp, 8
cmp dword [ebp - 0x40c0], 0
je 0x401edc
push 0x20
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.00405f10
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x40c0]
push ecx
mov edx, dword [ebp - 0x40b8]
push edx
call fcn.0040800a
add esp, 0xc
mov eax, dword [ebp - 0x40b8]
push eax
push 1
push 4
lea ecx, [ebp - 0x40d0]
push ecx
call fcn.00407c13
add esp, 0x10
cmp dword [ebp - 0x40d0], 0
jne 0x401eb2
mov edx, dword [ebp - 0x40b8]
push edx
call fcn.0040775b
add esp, 4
push 0x1000
push 0
lea eax, [ebp - 0x2064]
push eax
call fcn.00405f10
add esp, 0xc
lea ecx, [ebp - 0x1064]
push ecx
push str._INFORMATION___nKitServer_6_is_not_installed_for_n_s.
lea edx, [ebp - 0x2064]
push edx
call fcn.00402ee0
add esp, 0xc
push 0
push 0x41d594
lea eax, [ebp - 0x2064]
push eax
mov ecx, dword [0x4258e0]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4021c8
push 1
push 0xfffffffffffffffc
mov edx, dword [ebp - 0x40b8]
push edx
call fcn.0040800a
add esp, 0xc
mov eax, dword [ebp - 0x40b8]
push eax
push 1
push 0x20
lea ecx, [ebp - 0x64]
push ecx
call fcn.00408244
add esp, 0x10
push 0x28
push 0
lea edx, [ebp - 0x40b4]
push edx
call fcn.00405f10
add esp, 0xc
mov dword [ebp - 0x40c4], 0
mov dword [ebp - 0x40cc], 0
push 0x41d5f8
mov eax, dword [ebp - 0x40b8]
push eax
call fcn.00403790
add esp, 8
mov byte [ebp - 0x40b9], al
movzx ecx, byte [ebp - 0x40b9]
test ecx, ecx
jne 0x401f42
push 0x41d1ef
mov edx, dword [ebp - 0x40b8]
push edx
call fcn.00403790
add esp, 8
mov byte [ebp - 0x40b9], al
movzx eax, byte [ebp - 0x40b9]
test eax, eax
je 0x401fc6
mov ecx, dword [ebp - 0x40b8]
push ecx
push 1
push 0x28
lea edx, [ebp - 0x40b4]
push edx
call fcn.00407c13
add esp, 0x10
mov eax, dword [ebp - 0x40a8]
add eax, dword [ebp - 0x40a4]
mov dword [ebp - 0x40cc], eax
cmp dword [ebp - 0x40a0], 0
je 0x401f96
mov ecx, dword [ebp - 0x40a0]
add ecx, dword [ebp - 0x40a4]
mov dword [ebp - 0x40c4], ecx
jmp 0x401fa8
mov edx, dword [ebp - 0x40a8]
add edx, dword [ebp - 0x40a4]
mov dword [ebp - 0x40c4], edx
mov eax, dword [ebp - 0x40c4]
sub eax, 0x20
mov dword [ebp - 0x40c4], eax
mov ecx, dword [ebp - 0x40cc]
sub ecx, 0x20
mov dword [ebp - 0x40cc], ecx
mov edx, dword [ebp - 0x40c4]
push edx
push str.codeOffset___08x
call fcn.00401290
add esp, 8
mov eax, dword [ebp - 0x40cc]
push eax
push str.codeVA___08x
call fcn.00401290
add esp, 8
cmp dword [ebp - 0x40c4], 0
je 0x40208a
push 0x20
push 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.00405f10
add esp, 0xc
push 0x20
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.00405f10
add esp, 0xc
push 0
mov eax, dword [ebp - 0x40c4]
push eax
mov ecx, dword [ebp - 0x40b8]
push ecx
call fcn.0040800a
add esp, 0xc
mov edx, dword [ebp - 0x40b8]
push edx
push 1
push 0x20
lea eax, [ebp - 0x24]
push eax
call fcn.00407c13
add esp, 0x10
push 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.004049dd
add esp, 0xc
test eax, eax
je 0x40208a
push 1
push 0xffffffffffffffe0
mov eax, dword [ebp - 0x40b8]
push eax
call fcn.0040800a
add esp, 0xc
mov ecx, dword [ebp - 0x40b8]
push ecx
push 1
push 0x20
lea edx, [ebp - 0x44]
push edx
call fcn.00408244
add esp, 0x10
mov eax, dword [ebp - 0x40b8]
push eax
call fcn.00403910
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4020ba
mov edx, dword [ebp - 0x40b8]
push edx
push 1
push 4
lea eax, [ebp - 0x40d0]
push eax
call fcn.00408244
add esp, 0x10
mov ecx, dword [ebp - 0x40b8]
push ecx
call fcn.0040775b
add esp, 4
push str.KitServer_not_installed
push 0
push 0xc
mov edx, dword [0x42a8fc]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
mov eax, dword [0x42a900]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [0x42a904]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x1000
push 0
lea edx, [ebp - 0x3064]
push edx
call fcn.00405f10
add esp, 0xc
lea eax, [ebp - 0x1064]
push eax
push str._SUCCESS___nSetup_has_removed_KitServer_6_from_n_s.
lea ecx, [ebp - 0x3064]
push ecx
call fcn.00402ee0
add esp, 0xc
push 0
push 0x41d684
lea edx, [ebp - 0x3064]
push edx
mov eax, dword [0x4258e0]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4021c8
push str._ERROR:_remove_failed_
push 0
push 0xc
mov ecx, dword [0x42a8fc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov edx, dword [0x42a900]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov eax, dword [0x42a904]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x1000
push 0
lea ecx, [ebp - 0x4064]
push ecx
call fcn.00405f10
add esp, 0xc
lea edx, [ebp - 0x1064]
push edx
push str._ERROR___nSetup_failed_to_remove_KitServer_6_from_n_s._n_n_No_modifications_made.__nVerify_that_the_executable_is_not_nREAD_ONLY__and_try_again.
lea eax, [ebp - 0x4064]
push eax
call fcn.00402ee0
add esp, 0xc
push 0
push str.KitServer_6_Setup_Message
lea ecx, [ebp - 0x4064]
push ecx
mov edx, dword [0x4258e0]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403e3e
mov esp, ebp
pop ebp
ret