Function at 0x4045e3
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Copy file
Delete file
Get common file path
Get file size
Read file on windows
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x3e8
mov esi, 0x41dfe0
mov dword [esp + 0x10], eax
mov bl, 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp byte [0x41dfe0], 0x22
jne 0x404629
add bl, 2
mov esi, 0x41dfe1
mov al, byte [esi]
mov edi, dword [sym.imp.USER32.dll_CharNextA]
test al, al
je 0x404644
cmp al, bl
je 0x404644
push esi
call edi
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x404635
cmp byte [esi], 0
je 0x40464e
push esi
call edi
mov esi, eax
mov dword [esp + 0x14], esi
cmp byte [esi], 0x20
jne 0x40465e
push esi
call edi
mov esi, eax
jmp 0x404652
cmp byte [esi], 0x2f
jne 0x404684
mov dl, byte [esi + 1]
inc esi
cmp dl, 0x53
jne 0x4046e1
mov al, byte [esi + 1]
cmp al, 0x20
je 0x404677
test al, al
jne 0x4046e1
inc byte [0x41659c]
inc esi
inc esi
cmp byte [esi], 0
jne 0x404652
push str.NSIS_ERROR
push 0x41f820
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, 0x41ebe0
push 0x400
push edi
push eax
mov dword [0x418fd4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 3
push 0x80000000
push edi
call fcn.00406807
add esp, 0xc
cmp eax, 0xffffffff
mov dword [0x420028], eax
jne 0x404759
mov dword [0x416128], str.Cant_open_self
jmp 0x404b1e
cmp dl, 0x4e
jne 0x404714
cmp byte [esi + 1], 0x43
jne 0x404714
cmp byte [esi + 2], 0x52
jne 0x404714
cmp byte [esi + 3], 0x43
jne 0x404714
mov cl, byte [esi + 4]
lea eax, [esi + 4]
cmp cl, 0x20
je 0x404707
test cl, cl
jne 0x404714
inc byte [0x416fa4]
mov esi, eax
jmp 0x40467f
cmp dl, 0x44
jne 0x404740
cmp byte [esi + 1], 0x3d
jne 0x404740
and byte [esi - 2], 0
lea eax, [esi + 2]
push eax
push 0x41e3e0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add esi, eax
jmp 0x40467f
mov al, byte [esi]
test al, al
je 0x40467f
cmp al, 0x20
je 0x40467f
push esi
call edi
mov esi, eax
jmp 0x404740
push ebp
push edi
call fcn.004066c1
pop ecx
push ebx
push dword [0x420028]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebx
mov dword [0x416da0], eax
mov edi, eax
jle 0x4048ab
mov ebp, 0x416da4
mov eax, 0x200
mov dword [esp + 0x10], edi
cmp edi, eax
jbe 0x404793
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push ebx
push eax
push dword [esp + 0x18]
push ebp
push dword [0x420028]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40498f
cmp dword [0x420020], ebx
jne 0x404819
push ebp
call fcn.00404168
cmp eax, ebx
pop ecx
je 0x404877
mov ecx, dword [0x416594]
cmp eax, edi
mov dword [0x420020], ecx
jg 0x4049b2
mov cl, byte [0x416da4]
test cl, 4
je 0x4047ee
inc byte [0x41659c]
cmp byte [0x416fa4], 0
jne 0x4048ab
test cl, 1
je 0x4048ab
inc byte [0x41614c]
lea edi, [eax - 4]
cmp dword [esp + 0x10], edi
jbe 0x404877
mov dword [esp + 0x10], edi
jmp 0x404877
cmp byte [0x41659c], 0
jne 0x404877
cmp dword [0x416598], ebx
je 0x40484b
push 1
push ebx
push ebx
push ebx
push 0x416130
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x404877
push 0x416130
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40482a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x14]
jbe 0x404877
push ebx
push 0x404b5d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0x6f
push dword [0x418fd4]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x416598], eax
cmp edi, dword [0x416da0]
jge 0x404897
push dword [esp + 0x10]
push ebp
push dword [0x416150]
call fcn.0040257d
add esp, 0xc
mov dword [0x416150], eax
mov eax, dword [esp + 0x10]
add dword [0x416594], eax
sub edi, eax
cmp edi, ebx
jg 0x404782
mov eax, dword [0x416598]
cmp eax, ebx
je 0x4048bb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x420020], ebx
je 0x40492b
cmp byte [0x41614c], 0
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
je 0x404912
push ebx
push ebx
push dword [0x416594]
push dword [0x420028]
call edi
lea eax, [esp + 0x10]
push ebx
push eax
lea eax, [esp + 0x1c]
push 4
push eax
push dword [0x420028]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4049b2
mov eax, dword [0x416150]
cmp eax, dword [esp + 0x14]
jne 0x4049b2
push ebx
push ebx
push dword [0x420020]
push dword [0x420028]
call edi
call fcn.0040419f
test eax, eax
je 0x404935
mov eax, dword [str.Installer_verification_failed._r_n_r_nThis_could_be_the_result_of_an_incomplete_download__r_na_failing_disk__or__possibly__corruption_from_a_virus._r_n_r_nYou_can_try_to_force_an_install_using_the__NCRC_r_ncommand_line_switch__but_it_is_NOT_recommended_]
mov dword [0x416128], eax
cmp dword [0x416128], ebx
jne 0x404b0c
xor eax, eax
cmp dword [0x41f7fc], eax
je 0x404aee
cmp byte [esi], 0x5f
jne 0x4049bc
cmp byte [esi + 1], 0x3d
jne 0x4049bc
cmp byte [esi + 2], al
lea edi, [esi + 2]
je 0x4049bc
and byte [esi - 1], al
push edi
call fcn.0040673f
test eax, eax
pop ecx
je 0x404ae2
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x41e3e0
call esi
push edi
push 0x41e7e0
call esi
jmp 0x404aee
mov eax, dword [str.Installer_verification_failed._r_n_r_nThis_could_be_the_result_of_an_incomplete_download__r_na_failing_disk__or__possibly__corruption_from_a_virus._r_n_r_nYou_can_try_to_force_an_install_using_the__NCRC_r_ncommand_line_switch__but_it_is_NOT_recommended_]
mov dword [0x416128], eax
mov eax, dword [0x416598]
cmp eax, ebx
je 0x404b0c
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x404b0c
mov eax, dword [str.Installer_verification_failed._r_n_r_nThis_could_be_the_result_of_an_incomplete_download__r_na_failing_disk__or__possibly__corruption_from_a_virus._r_n_r_nYou_can_try_to_force_an_install_using_the__NCRC_r_ncommand_line_switch__but_it_is_NOT_recommended_]
jmp 0x404ae7
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov ebx, 0x4165a1
mov esi, 0x4165a0
mov ebp, 0x416154
push ebx
push 0x7ff
mov byte [0x4165a0], 0x22
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.ANSISu_.exe
push esi
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x14], 0
jne 0x404ac6
push 0x400
push ebp
push dword [0x418fd4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [eax + 0x416149]
push 0x4086d9
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x404ae2
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x404ac6
push 0
push ebx
call fcn.00406821
cmp byte [0x41e3e0], 0
pop ecx
pop ecx
je 0x404a65
push 0x41e3e0
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x404a6c
push ebp
call fcn.004066c1
pop ecx
push ebp
call fcn.0040673f
test eax, eax
pop ecx
je 0x404ae2
push 0x408800
push esi
mov dword [esp + 0x1c], 1
call edi
push dword [esp + 0x18]
push esi
call edi
push 0x4087fc
push esi
call edi
push ebp
push esi
call edi
push ebp
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebp
push esi
call fcn.00406630
pop ecx
test eax, eax
pop ecx
je 0x404abc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404ac6
mov eax, dword [str.Error_initializing_uninstaller]
mov dword [0x416128], eax
inc byte [str.ANSISu_.exe]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x1a
jl 0x4049d9
cmp dword [esp + 0x14], 0
jne 0x404b0c
mov eax, dword [str.Error_initializing_uninstaller]
mov dword [0x416128], eax
jmp 0x404b0c
mov eax, dword [0x41f7f4]
cmp byte [eax + 0x62], 0
jne 0x404b02
mov cl, byte [0x41659c]
mov byte [eax + 0x62], cl
call fcn.00404bd2
mov dword [0x416fa8], eax
mov eax, dword [0x420028]
pop ebp
cmp eax, 0xffffffff
je 0x404b1e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x40868c]
pop edi
pop esi
cmp eax, 0xffffffff
pop ebx
je 0x404b32
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x416128]
test eax, eax
je 0x404b4b
push 0x10
push 0x41f820
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [0x416fa8]
call dword [sym.imp.KERNEL32.dll_ExitProcess]