Function at 0x440ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45167a
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x464080]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x264]
call sym.Install_style.exe_public:_void___thiscall_CNsInstaller::CheckDir_wchar_t_const___wchar_t_const__
lea ecx, [ebp - 0x18]
call fcn.004062e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0xb64]
push eax
push 0x456c50
lea ecx, [ebp - 0x18]
push ecx
call fcn.00407120
add esp, 0x10
push 0x456c5c
lea ecx, [ebp - 0x18]
call fcn.00414010
push eax
call fcn.0042cede
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x440c63
lea ecx, [ebp - 0x18]
call fcn.004121a0
push 0
push str..exe
lea ecx, [ebp - 0x18]
call fcn.00412120
mov esi, eax
lea ecx, [ebp - 0x18]
call fcn.00419570
sub eax, 4
cmp esi, eax
jne 0x440c42
lea ecx, [ebp - 0x18]
call fcn.00419570
mov esi, eax
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00416400
sub esi, eax
sub esi, 1
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.004109f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00414010
push eax
call sym.Install_style.exe_public:_static_class_CNsProcess____cdecl_CNsProcess::Instance_void_
mov ecx, eax
call sym.Install_style.exe_public:_void___thiscall_CNsProcess::KillProcess_wchar_t_const__
push 0x456c70
lea ecx, [ebp - 0x18]
call fcn.00414010
push eax
call fcn.0042cede
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x440c34
mov byte [ebp - 0x251], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004063a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004063a0
mov al, byte [ebp - 0x251]
jmp 0x440ed4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004063a0
jmp 0x440c63
mov byte [ebp - 0x252], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004063a0
mov al, byte [ebp - 0x252]
jmp 0x440ed4
lea ecx, [ebp - 0x10]
call fcn.004062e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004063e0
mov ecx, dword [ebp - 0x264]
add ecx, 0xb24
call fcn.00419570
test eax, eax
jne 0x440cdb
push 0
push 0x456c78
lea ecx, [ebp - 0x10]
call fcn.00412120
test eax, eax
jge 0x440cdb
mov dword [ebp - 0x234], 1
lea ecx, [ebp - 0x18]
call fcn.00414010
push eax
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x264]
add ecx, 0xb28
call fcn.0041c4d0
mov dword [ebp - 0x238], 0
jmp 0x440cf6
mov ecx, dword [ebp - 0x238]
add ecx, 1
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x238]
cmp eax, dword [edx + 0x190]
jge 0x440ea0
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x264]
add edx, dword [eax + 0xb60]
mov dword [ebp - 0x24c], edx
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x18]
add edx, 8
mov eax, dword [ecx + 0x1c]
adc eax, 0
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x264]
add eax, dword [ecx + 0xb60]
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x24c]
mov eax, dword [edx]
cdq
mov ecx, dword [ebp - 0x264]
add eax, dword [ecx + 0x18]
adc edx, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov edx, dword [ebp - 0x24c]
mov eax, dword [edx + 4]
push eax
call fcn.0042b1e4
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.0042b210
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.0042cd9b
add esp, 0x10
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.0042ce15
add esp, 4
mov edx, dword [ebp - 0x264]
push 0
push 0x2710
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [edx + 0x18]
push ecx
call fcn.0042aee0
mov ecx, dword [ebp - 0x264]
mov esi, dword [ecx + 0x14]
push esi
mov ecx, dword [ecx + 0x10]
push ecx
push edx
push eax
call fcn.0044f5e0
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0x2710
jl 0x440e76
mov dword [ebp - 0x244], 0x26ac
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
push 0x7e9
mov edx, dword [ebp - 0x264]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x440ce7
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042ab2a
add esp, 4
mov byte [ebp - 0x25d], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004063a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004063a0
mov al, byte [ebp - 0x25d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0042047a
mov esp, ebp
pop ebp
ret 4