Function at 0x43fb40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450ba4
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a0], ecx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2a0]
call sym.Install_comm.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
lea esi, [ebp - 0x18]
call fcn.004058a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0xb64]
push eax
push 0x45ad34
lea edi, [ebp - 0x18]
call fcn.00406080
add esp, 0xc
push 0x45ad40
lea eax, [ebp - 0x18]
call fcn.00405a60
push eax
call fcn.0042ba5e
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43fcc3
lea edi, [ebp - 0x18]
call fcn.0040a4d0
xor ecx, ecx
mov edx, str..exe
lea esi, [ebp - 0x18]
call fcn.0040a4a0
mov esi, eax
lea eax, [ebp - 0x18]
call fcn.00405a70
sub eax, 4
cmp esi, eax
jne 0x43fca2
lea eax, [ebp - 0x18]
call fcn.00405a70
mov esi, eax
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0040e6e0
sub esi, eax
sub esi, 1
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call fcn.00414730
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
call fcn.00405a60
push eax
call sym.Install_comm.exe_public:_static_class_CNsProcess____cdecl_CNsProcess::Instance_void_
mov ecx, eax
call sym.Install_comm.exe_public:_void___thiscall_CNsProcess::KillProcess_wchar_t_const__
push 0x45ad54
lea eax, [ebp - 0x18]
call fcn.00405a60
push eax
call fcn.0042ba5e
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43fc94
mov byte [ebp - 0x251], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x20]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.00405990
mov al, byte [ebp - 0x251]
jmp 0x43ff32
mov byte [ebp - 4], 0
lea eax, [ebp - 0x20]
call fcn.00405990
jmp 0x43fcc3
mov byte [ebp - 0x252], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.00405990
mov al, byte [ebp - 0x252]
jmp 0x43ff32
lea esi, [ebp - 0x10]
call fcn.004058a0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x10]
call fcn.00405a20
mov eax, dword [ebp - 0x2a0]
add eax, 0xb24
call fcn.00405a70
test eax, eax
jne 0x43fd39
xor ecx, ecx
mov edx, 0x45ad5c
lea esi, [ebp - 0x10]
call fcn.0040a4a0
test eax, eax
jge 0x43fd39
mov dword [ebp - 0x234], 1
lea eax, [ebp - 0x18]
call fcn.00405a60
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x2a0]
add ecx, 0xb28
call fcn.00414da0
mov dword [ebp - 0x238], 0
jmp 0x43fd54
mov edx, dword [ebp - 0x238]
add edx, 1
mov dword [ebp - 0x238], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x238]
cmp ecx, dword [eax + 0x190]
jge 0x43fefe
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x2a0]
add eax, dword [ecx + 0xb60]
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0x18]
add eax, 8
mov ecx, dword [edx + 0x1c]
adc ecx, 0
mov edx, dword [ebp - 0x2a0]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x2a0]
add ecx, dword [edx + 0xb60]
mov dword [ebp - 0x23c], ecx
mov eax, dword [ebp - 0x24c]
mov eax, dword [eax]
cdq
mov ecx, dword [ebp - 0x2a0]
add eax, dword [ecx + 0x18]
adc edx, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x2a0]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov edx, dword [ebp - 0x24c]
mov eax, dword [edx + 4]
push eax
call fcn.00429d64
add esp, 4
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x240], ecx
mov edx, dword [ebp - 0x24c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x24c]
mov edx, dword [ecx]
sub edx, 5
mov dword [ebp - 0x250], edx
push 5
mov eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x23c]
add edx, 5
push edx
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call fcn.00429d90
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 4]
push ecx
push 1
mov edx, dword [ebp - 0x240]
push edx
call fcn.0042b91b
add esp, 0x10
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.0042b995
add esp, 4
mov edx, dword [ebp - 0x2a0]
push 0
push 0x2710
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [edx + 0x18]
push ecx
call fcn.004238b0
mov ecx, dword [ebp - 0x2a0]
mov esi, dword [ecx + 0x14]
push esi
mov ecx, dword [ecx + 0x10]
push ecx
push edx
push eax
call fcn.0042d3f0
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0x2710
jl 0x43fed4
mov dword [ebp - 0x244], 0x26ac
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
push 0x7e9
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43fd45
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004234fa
add esp, 4
mov byte [ebp - 0x25d], 1
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.00405990
mov al, byte [ebp - 0x25d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret 4