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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450be4
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
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 - 0x2ac], ecx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2ac]
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 - 0x2ac]
mov eax, dword [edx + 0xb64]
push eax
push 0x45ad08
lea edi, [ebp - 0x18]
call fcn.00406080
add esp, 0xc
push 0x45ad14
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 0x4400f9
lea edi, [ebp - 0x18]
call fcn.0040a4d0
xor ecx, ecx
mov edx, 0x45ad1c
lea esi, [ebp - 0x18]
call fcn.0040a4a0
mov esi, eax
lea eax, [ebp - 0x18]
call fcn.00405a70
sub eax, 4
cmp esi, eax
jne 0x4400c5
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 0x45ad28
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 0x4400b7
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2ac]
call sym.Install_comm.exe_private:_void___thiscall_CNsInstaller::MovePos_struct_tagPacketInfo___struct__iobuf__
mov byte [ebp - 0x255], 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 - 0x255]
jmp 0x4403a7
mov byte [ebp - 4], 0
lea eax, [ebp - 0x20]
call fcn.00405990
jmp 0x4400f9
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2ac]
call sym.Install_comm.exe_private:_void___thiscall_CNsInstaller::MovePos_struct_tagPacketInfo___struct__iobuf__
mov byte [ebp - 0x256], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.00405990
mov al, byte [ebp - 0x256]
jmp 0x4403a7
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 - 0x2ac]
add eax, 0xb24
call fcn.00405a70
test eax, eax
jne 0x44016f
xor ecx, ecx
mov edx, 0x45ad30
lea esi, [ebp - 0x10]
call fcn.0040a4a0
test eax, eax
jge 0x44016f
mov dword [ebp - 0x234], 1
lea eax, [ebp - 0x18]
call fcn.00405a60
push eax
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp - 0x2ac]
add ecx, 0xb28
call fcn.00414da0
mov dword [ebp - 0x238], 0
jmp 0x44018a
mov eax, dword [ebp - 0x238]
add eax, 1
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x238]
cmp edx, dword [ecx + 0x190]
jge 0x440373
push 8
push 0
lea eax, [ebp - 0x254]
push eax
call fcn.00419d00
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 8
lea edx, [ebp - 0x254]
push edx
call fcn.0042ca72
add esp, 0x10
mov eax, dword [ebp - 0x254]
push eax
call fcn.00429d64
add esp, 4
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x254]
push eax
push 1
mov ecx, dword [ebp - 0x23c]
push ecx
call fcn.0042ca72
add esp, 0x10
mov edx, dword [ebp - 0x250]
push edx
call fcn.00429d64
add esp, 4
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x254]
sub edx, 5
mov dword [ebp - 0x24c], edx
push 5
mov eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x24c]
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 - 0x250]
push eax
push 1
mov ecx, dword [ebp - 0x240]
push ecx
call fcn.0042b91b
add esp, 0x10
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x264]
push eax
call fcn.0042b995
add esp, 4
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x268], ecx
mov edx, dword [ebp - 0x268]
push edx
call fcn.0042b995
add esp, 4
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0x18]
add ecx, 8
mov edx, dword [eax + 0x1c]
adc edx, 0
mov eax, dword [ebp - 0x2ac]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x254]
cdq
mov ecx, dword [ebp - 0x2ac]
add eax, dword [ecx + 0x18]
adc edx, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x2ac]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov edx, dword [ebp - 0x2ac]
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 - 0x2ac]
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 0x440349
mov dword [ebp - 0x244], 0x26ac
mov edx, dword [ebp - 0x2ac]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
push 0x7e9
mov edx, dword [ebp - 0x2ac]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44017b
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004234fa
add esp, 4
mov byte [ebp - 0x269], 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 - 0x269]
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 8