Function at 0x4016d0
Capabilities:
Check http status code
Check if file exists
Create process on windows
Initialize winhttp library
Move file
Prepare http request
Print debug messages
Read http header
Receive http response
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bb9c
mov eax, dword fs:[0]
push eax
mov eax, 0x4218
call fcn.004070a0
mov eax, dword [0x426014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x4190], 0
mov dword [ebp - 0x4178], eax
mov dword [ebp - 0x4160], eax
mov dword [ebp - 0x4148], eax
mov dword [ebp - 0x4130], eax
mov dword [ebp - 0x4118], eax
mov dword [ebp - 0x4180], 0
mov dword [ebp - 0x417c], 7
mov word [ebp - 0x4190], ax
mov dword [ebp - 0x4168], eax
mov dword [ebp - 0x4164], 7
mov word [ebp - 0x4178], ax
mov dword [ebp - 0x4150], eax
mov dword [ebp - 0x414c], 7
mov word [ebp - 0x4160], ax
mov dword [ebp - 0x4138], eax
mov dword [ebp - 0x4134], 7
mov word [ebp - 0x4148], ax
mov dword [ebp - 0x4120], eax
mov dword [ebp - 0x411c], 7
mov word [ebp - 0x4130], ax
mov dword [ebp - 0x4108], eax
mov dword [ebp - 0x4104], 7
mov word [ebp - 0x4118], ax
mov byte [ebp - 4], 1
xorps xmm0, xmm0
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x4220], eax
movlpd qword [ebp - 0x4218], xmm0
movlpd qword [ebp - 0x420c], xmm0
movlpd qword [ebp - 0x4204], xmm0
movlpd qword [ebp - 0x41fc], xmm0
mov dword [ebp - 0x41f0], eax
mov dword [ebp - 0x4224], 0x3c
mov dword [ebp - 0x421c], 0xffffffff
mov dword [ebp - 0x4210], 0xffffffff
mov dword [ebp - 0x41f4], 0xffffffff
mov dword [ebp - 0x41ec], 0xffffffff
jb 0x40182d
mov ecx, dword [ecx]
lea eax, [ebp - 0x4224]
push eax
push 0
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x4018b0
push str.Wrong_URL
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x4198]
call fcn.004028c0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x401893
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401889
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a0
push edx
push ecx
call fcn.0040671e
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004062aa
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x421c]
lea ecx, [ebp - 0x4190]
push dword [ebp - 0x4220]
call fcn.00403ba0
push dword [ebp - 0x4210]
lea ecx, [ebp - 0x4178]
push dword [ebp - 0x4214]
call fcn.00403ba0
push dword [ebp - 0x41f4]
lea ecx, [ebp - 0x4160]
push dword [ebp - 0x41f8]
call fcn.00403ba0
movzx eax, word [ebp - 0x420c]
mov dword [ebp - 0x4198], eax
mov eax, dword [ebp - 0x4218]
mov dword [ebp - 0x4194], eax
mov eax, dword [ebp - 0x4208]
test eax, eax
je 0x40192a
push dword [ebp - 0x4204]
lea ecx, [ebp - 0x4148]
push eax
call fcn.00403ba0
mov eax, dword [ebp - 0x4200]
test eax, eax
je 0x401946
push dword [ebp - 0x41fc]
lea ecx, [ebp - 0x4130]
push eax
call fcn.00403ba0
mov eax, dword [ebp - 0x41f0]
test eax, eax
je 0x401962
push dword [ebp - 0x41ec]
lea ecx, [ebp - 0x4118]
push eax
call fcn.00403ba0
push 0
push 0
push 0
push 0
push str.WindowsGet_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
test esi, esi
jne 0x4019f2
push eax
push eax
mov dword [ebp - 0x419c], eax
lea eax, [ebp - 0x419c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x3300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 0x419c]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x4198]
call fcn.004028c0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x401893
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401889
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a0
jmp 0x401889
push 4
lea eax, [ebp - 0x41b8]
mov dword [ebp - 0x41b8], 2
push eax
push 0x58
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test eax, eax
jne 0x401a4b
push 0
push 0
lea eax, [ebp - 0x419c]
mov dword [ebp - 0x419c], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x3300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 0x419c]
call edi
push 4
lea eax, [ebp - 0x41b8]
mov dword [ebp - 0x41b8], 1
push eax
push 0x85
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x401a9b
push eax
push eax
mov dword [ebp - 0x419c], eax
lea eax, [ebp - 0x419c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x3300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 0x419c]
call edi
cmp dword [ebp - 0x4164], 8
lea eax, [ebp - 0x4178]
push 0
push dword [ebp - 0x4198]
cmovae eax, dword [ebp - 0x4178]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
jne 0x401acf
push str.Server_unable_to_connect
call edi
jmp 0x40184e
xor edx, edx
mov ecx, 0x800000
cmp dword [ebp - 0x4194], 2
cmove edx, ecx
cmp dword [ebp - 0x414c], 8
push edx
push 0
push 0
push 0
lea ecx, [ebp - 0x4160]
cmovae ecx, dword [ebp - 0x4160]
push ecx
push 0x422104
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
push 0
push 0
test esi, esi
jne 0x401b83
mov dword [ebp - 0x419c], eax
lea eax, [ebp - 0x419c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x3300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 0x419c]
call edi
lea ecx, [ebp - 0x4198]
call fcn.004028c0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x401893
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401889
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a5
jmp 0x401889
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
push 0
test eax, eax
jne 0x401c11
mov dword [ebp - 0x419c], 0
push 0
lea eax, [ebp - 0x419c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x3300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 0x419c]
call edi
lea ecx, [ebp - 0x4198]
call fcn.004028c0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x401893
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401889
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028aa
jmp 0x401889
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
push 0
test eax, eax
je 0x401b98
lea eax, [ebp - 0x41bc]
mov dword [ebp - 0x41d4], 0
push eax
lea eax, [ebp - 0x41d4]
mov dword [ebp - 0x41bc], 4
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x401c62
mov dword [ebp - 0x419c], eax
push eax
jmp 0x401ba2
mov eax, dword [ebp - 0x41d4]
cmp eax, 0xc8
je 0x401c87
cmp eax, 0xc9
je 0x401c87
mov dword [ebp - 0x419c], 0
push 0
jmp 0x401ba2
push 0
lea eax, [ebp - 0x41bc]
mov dword [ebp - 0x41bc], 0x48
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 5
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push 0xa
lea eax, [ebp - 0x41e8]
mov dword [ebp - 0x41e8], 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040fc58
mov edi, eax
mov dword [ebp - 0x41a0], edx
push str..part
lea edx, [ebp + 8]
mov dword [ebp - 0x41b4], edi
lea ecx, [ebp - 0x40d0]
call fcn.00404290
add esp, 0x10
push 0
push 0x80
push 4
push 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40d0]
cmp dword [ebp - 0x40bc], 8
push 1
cmovae ecx, dword [ebp - 0x40d0]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x3ea
push dword [0x65ad20]
xorps xmm0, xmm0
mov dword [ebp - 0x41dc], eax
movlpd qword [ebp - 0x41e4], xmm0
mov dword [ebp - 0x41a8], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x41c4], eax
call fcn.00401370
mov ecx, eax
test ecx, ecx
je 0x4028af
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x41d8], eax
mov edx, dword [ebp - 0x41a0]
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0041bab0
mulsd xmm0, qword [0x423480]
lea eax, [ebp - 0x41d8]
sub esp, 8
movsd qword [esp], xmm0
push str._0.2f
push eax
call fcn.004041b0
add esp, 0x10
lea ecx, [ebp - 0x419c]
push 0x422124
call fcn.00403a50
lea eax, [ebp - 0x419c]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x41d8]
lea ecx, [ebp - 0x41a4]
call fcn.00403910
add esp, 4
push dword [eax]
push 0x3eb
push dword [0x65ad20]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 0x41a4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401e00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x419c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401e22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x41a0]
mov ecx, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
shrd ecx, eax, 0xe
shr eax, 0xe
mov dword [ebp - 0x41d0], eax
mov dword [ebp - 0x41cc], ecx
lea eax, [ecx + ecx]
movzx eax, ax
shl eax, 0x10
push eax
push 0
push 0x401
push dword [ebp - 0x41c4]
call edi
push 0
push 1
push 0x404
push dword [ebp - 0x41c4]
call edi
mov eax, dword [ebp - 0x41e4]
xor ecx, ecx
mov edi, dword [ebp - 0x41e0]
mov dword [ebp - 0x41c0], eax
lea eax, [ebp - 0x41a8]
inc ecx
push eax
push esi
mov dword [ebp - 0x41a4], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x402094
mov eax, dword [ebp - 0x41c0]
add eax, dword [ebp - 0x41a8]
mov dword [ebp - 0x41c0], eax
adc edi, 0
cmp dword [ebp - 0x41a0], 0
mov dword [ebp - 0x41b0], edi
ja 0x401ecf
cmp dword [ebp - 0x41b4], 0
jbe 0x402011
call fcn.00401370
mov ecx, eax
test ecx, ecx
je 0x4028af
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x419c], eax
push dword [ebp - 0x41a0]
mov ecx, 0x64
mov byte [ebp - 4], 5
push dword [ebp - 0x41b4]
mov eax, edi
mul ecx
mov edx, 0x64
mov ecx, eax
mov eax, dword [ebp - 0x41c0]
mul edx
add ecx, edx
push ecx
push eax
call fcn.0041b580
push edx
push eax
lea eax, [ebp - 0x419c]
push 0x422128
push eax
call fcn.004041b0
add esp, 0x10
lea ecx, [ebp - 0x41ac]
push 0x422130
call fcn.00403a50
lea eax, [ebp - 0x41ac]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x419c]
lea ecx, [ebp - 0x41c8]
call fcn.00403910
add esp, 4
push dword [eax]
push 0x3ec
push dword [0x65ad20]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 0x41c8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401f95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x41ac]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401fb7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x41cc]
mov ecx, dword [ebp - 0x41d0]
mov eax, dword [ebp - 0x41a4]
shld ecx, edi, 1
cdq
add edi, edi
cmp edx, ecx
ja 0x401fef
jb 0x401fda
cmp eax, edi
jae 0x401fef
push 0
push 0
push 0x405
push dword [ebp - 0x41c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x419c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402011
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x41a8]
test edi, edi
je 0x402094
nop dword [eax + eax]
lea eax, [ebp - 0x419c]
mov dword [ebp - 0x419c], 0
push eax
mov eax, 0x4000
cmp edi, eax
cmovb eax, edi
push eax
lea eax, [ebp - 0x4058]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x40207a
sub edi, dword [ebp - 0x419c]
lea eax, [ebp - 0x41e0]
push 0
push eax
push dword [ebp - 0x41a8]
lea eax, [ebp - 0x4058]
push eax
push dword [ebp - 0x41dc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test edi, edi
jne 0x402020
cmp dword [ebp - 0x41a8], 0
jbe 0x402094
mov ecx, dword [ebp - 0x41a4]
mov edi, dword [ebp - 0x41b0]
jmp 0x401e81
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x4070]
call fcn.00403d50
mov byte [ebp - 4], 7
mov dword [ebp - 0x41a0], 1
cmp dword [ebp - 0x405c], 8
lea eax, [ebp - 0x4070]
cmovae eax, dword [ebp - 0x4070]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402788
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
mov edi, dword [ebp + 0x18]
cmovae edx, dword [ebp + 8]
test edi, edi
je 0x402113
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea esi, [edx + ecx*2]
je 0x40210d
nop dword [eax + eax]
cmp esi, edx
je 0x402113
sub esi, 2
cmp word [esi], 0x2e
jne 0x402100
sub esi, edx
sar esi, 1
jmp 0x402116
or esi, 0xffffffff
mov dword [ebp - 0x41ac], esi
cmp esi, 0xffffffff
je 0x402528
xor eax, eax
mov dword [ebp - 0x4088], 0
cmp edi, esi
mov word [ebp - 0x4088], ax
mov ecx, esi
mov dword [ebp - 0x4078], 0
cmovb ecx, edi
mov dword [ebp - 0x4074], 7
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x4088]
push eax
call fcn.00403ba0
push 0x422134
lea edx, [ebp - 0x4088]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40a0]
call fcn.004041d0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x4070]
cmp eax, edi
je 0x402219
mov edx, dword [ebp - 0x405c]
cmp edx, 8
jb 0x4021d8
mov ecx, dword [ebp - 0x4070]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4021ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a0
push edx
push ecx
call fcn.0040671e
add esp, 8
mov dword [ebp - 0x4060], 0
xor eax, eax
mov dword [ebp - 0x405c], 7
mov word [ebp - 0x4070], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x4070], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x4060], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x408c]
cmp edx, 8
jb 0x402259
mov ecx, dword [ebp - 0x40a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40224f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a0
push edx
push ecx
call fcn.0040671e
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4074]
mov dword [ebp - 0x4090], 0
mov dword [ebp - 0x408c], 7
mov word [ebp - 0x40a0], ax
cmp edx, 8
jb 0x4022ba
mov ecx, dword [ebp - 0x4088]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4022b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a0
push edx
push ecx
call fcn.0040671e
add esp, 8
mov edx, dword [ebp - 0x41a0]
lea ecx, [ebp - 0x40b8]
call fcn.00401610
mov byte [ebp - 4], 9
mov ecx, eax
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x41a4], eax
jb 0x4022e5
mov ecx, dword [eax]
mov dword [ebp - 0x41a4], ecx
mov edx, dword [eax + 0x10]
mov edi, dword [ebp - 0x4060]
mov eax, dword [ebp - 0x405c]
sub eax, edi
mov dword [ebp - 0x41b0], edi
cmp edx, eax
ja 0x402346
mov eax, dword [ebp - 0x41b0]
lea esi, [ebp - 0x4070]
add edi, edx
cmp dword [ebp - 0x405c], 8
mov dword [ebp - 0x4060], edi
cmovae esi, dword [ebp - 0x4070]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x41a4]
push ecx
call fcn.004079a0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x41ac]
jmp 0x402361
push edx
push ecx
mov byte [ebp - 0x41d0], 0
lea ecx, [ebp - 0x4070]
push dword [ebp - 0x41d0]
push edx
call fcn.004045d0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x40a4]
cmp edx, 8
jb 0x4023a5
mov ecx, dword [ebp - 0x40b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40239b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a0
push edx
push ecx
call fcn.0040671e
add esp, 8
mov edi, dword [ebp - 0x405c]
mov eax, edi
mov edx, dword [ebp - 0x4060]
sub eax, edx
cmp eax, 1
jb 0x4023e4
cmp edi, 8
lea eax, [ebp - 0x4070]
lea ecx, [edx + 1]
mov edi, 0x29
cmovae eax, dword [ebp - 0x4070]
mov dword [ebp - 0x4060], ecx
mov word [eax + edx*2], di
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x402405
push 1
push 0x422138
mov byte [ebp - 0x41cc], 0
lea ecx, [ebp - 0x4070]
push dword [ebp - 0x41cc]
push 1
call fcn.004045d0
xor eax, eax
mov dword [ebp - 0x4088], 0
mov word [ebp - 0x4088], ax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4078], 0
mov dword [ebp - 0x4074], 7
cmp eax, esi
jb 0x4028b9
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x4088]
lea eax, [eax + esi*2]
push eax
call fcn.00403ba0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4088]
cmp dword [ebp - 0x4074], 8
mov eax, dword [ebp - 0x4088]
mov esi, dword [ebp - 0x4060]
cmovae ecx, eax
mov edx, dword [ebp - 0x4078]
mov dword [ebp - 0x41a4], eax
mov eax, dword [ebp - 0x405c]
sub eax, esi
mov dword [ebp - 0x41c8], ecx
mov dword [ebp - 0x41b0], esi
cmp edx, eax
ja 0x4024e8
cmp dword [ebp - 0x405c], 8
lea edi, [esi + edx]
mov eax, dword [ebp - 0x41b0]
lea esi, [ebp - 0x4070]
cmovae esi, dword [ebp - 0x4070]
mov dword [ebp - 0x4060], edi
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x41c8]
push ecx
call fcn.004079a0
mov ecx, dword [ebp - 0x41a4]
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x402509
push edx
push ecx
mov byte [ebp - 0x41b4], 0
lea ecx, [ebp - 0x4070]
push dword [ebp - 0x41b4]
push edx
call fcn.004045d0
mov ecx, dword [ebp - 0x4088]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x4074]
cmp eax, 8
jb 0x40277d
lea edx, [eax*2 + 2]
jmp 0x402755
mov edx, dword [ebp - 0x41a0]
lea ecx, [ebp - 0x4100]
call fcn.00401610
mov esi, eax
push 0x422134
lea edx, [ebp + 8]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40b8]
call fcn.00404290
add esp, 4
push esi
push eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4088]
push dword [ebp - 0x41e0]
call fcn.004048b0
push 0x422138
lea edx, [ebp - 0x4088]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40a0]
call fcn.004041d0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x4070]
cmp eax, esi
je 0x40261a
mov edx, dword [ebp - 0x405c]
cmp edx, 8
jb 0x4025d9
mov ecx, dword [ebp - 0x4070]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4025cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a0
push edx
push ecx
call fcn.0040671e
add esp, 8
mov dword [ebp - 0x4060], 0
xor eax, eax
mov dword [ebp - 0x405c], 7
mov word [ebp - 0x4070], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x4070], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x4060], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x408c]
cmp edx, 8
jb 0x40265a
mov ecx, dword [ebp - 0x40a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402650
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a0
push edx
push ecx
call fcn.0040671e
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x4074]
mov dword [ebp - 0x4090], 0
mov dword [ebp - 0x408c], 7
mov word [ebp - 0x40a0], ax
cmp edx, 8
jb 0x4026bb
mov ecx, dword [ebp - 0x4088]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4026b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a0
push edx
push ecx
call fcn.0040671e
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x40a4]
mov dword [ebp - 0x4078], 0
mov dword [ebp - 0x4074], 7
mov word [ebp - 0x4088], ax
cmp edx, 8
jb 0x40271c
mov ecx, dword [ebp - 0x40b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402712
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a0
push edx
push ecx
call fcn.0040671e
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x40ec]
mov dword [ebp - 0x40a8], 0
mov dword [ebp - 0x40a4], 7
mov word [ebp - 0x40b8], ax
cmp edx, 8
jb 0x40277d
mov ecx, dword [ebp - 0x4100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402773
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a0
push edx
push ecx
call fcn.0040671e
add esp, 8
inc dword [ebp - 0x41a0]
jmp 0x4020b1
push dword [ebp - 0x41dc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x405c], 8
lea ecx, [ebp - 0x4070]
push 2
cmovae ecx, dword [ebp - 0x4070]
lea eax, [ebp - 0x40d0]
cmp dword [ebp - 0x40bc], 8
push ecx
cmovae eax, dword [ebp - 0x40d0]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov ecx, eax
cmp ecx, 0x409
jne 0x4027da
xor eax, eax
jmp 0x4027f4
cmp ecx, 0x404
jne 0x4027e9
mov eax, 2
jmp 0x4027f4
xor eax, eax
cmp ecx, 0x804
sete al
mov ecx, str.Download_Finished._n_Do_you_want_to_install_now__
mov dword [ebp - 0x40e8], 0
cmp eax, 1
mov dword [ebp - 0x40d8], 0
mov edx, 0x42213c
mov dword [ebp - 0x40d4], 7
cmovne edx, ecx
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402827
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40e8]
call fcn.00403ba0
cmp dword [ebp - 0x40d4], 8
lea eax, [ebp - 0x40e8]
push 3
cmovae eax, dword [ebp - 0x40e8]
push str.Message
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
cmp eax, 6
jne 0x40289b
push dword [0x65ad20]
call dword [sym.imp.USER32.dll_EndDialog]
push 0xa
push 0
push 0
lea ecx, [ebp - 0x4070]
call fcn.00403b90
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call fcn.0040994d
call fcn.0040fed9
call fcn.0040fed9
call fcn.0040fed9
push 0x80004005
call fcn.004011e0
call fcn.004040d0
int3