Function at 0x402ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x74
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x7c], ecx
mov eax, dword [0x453010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x54], xmm0
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemTime]
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x24], xmm0
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x14], 0xffffffff
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [ebp - 0x70], eax
movzx eax, word [ebp - 0x46]
mov dword [ebp - 0x78], eax
movzx eax, word [ebp - 0x48]
mov dword [ebp - 0x80], eax
movzx esi, word [ebp - 0x54]
mov ebx, esi
shr ebx, 2
imul ebx, ebx, 0x147b
shr ebx, 0x11
imul ebx, ebx, 0x64
sub esi, ebx
movzx edi, word [ebp - 0x4a]
movzx esi, si
movzx eax, word [ebp - 0x4c]
movzx ecx, word [ebp - 0x4e]
movzx edx, word [ebp - 0x52]
lea ebx, [ebp - 0x44]
push dword [ebp - 0x70]
push dword [ebp - 0x78]
push dword [ebp - 0x80]
push edi
push eax
push ecx
push edx
push esi
push str._02d_02d_02d_02d_02d_02d_03d_d
push 0x1a
push ebx
call fcn.00402e20
add esp, 0x2c
push ebx
call fcn.00419f73
add esp, 4
lea esi, [ebp - 0x60]
mov ecx, esi
push eax
push ebx
call fcn.00443b90
lea eax, [ebp - 0x6c]
push str.Opera_installer_
push dword [ebp - 0x74]
push eax
call fcn.0042c200
add esp, 0xc
movzx eax, byte [ebp - 0x55]
test al, al
js 0x402ba3
and eax, 0x7f
jmp 0x402ba9
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x6c]
push eax
push esi
call fcn.00405770
movsd xmm0, qword [eax]
movsd qword [ebp - 0x44], xmm0
mov ecx, dword [eax + 8]
mov dword [ebp - 0x3c], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [ebp - 0x44]
push 4
push 0x44d448
call fcn.00405770
movsd xmm0, qword [eax]
movsd qword [ebp - 0x54], xmm0
mov ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
cmp byte [ebp - 0x39], 0
jns 0x402c19
push dword [ebp - 0x44]
call fcn.00405d0c
add esp, 4
cmp byte [ebp - 0x61], 0
mov esi, dword [ebp - 0x7c]
jns 0x402c2d
push dword [ebp - 0x6c]
call fcn.00405d0c
add esp, 4
cmp byte [ebp - 0x49], 0
lea eax, [ebp - 0x54]
jns 0x402c39
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp + 0x10]
sub esp, 0x1c
movaps xmm0, xmmword [0x44cfa0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x74], eax
mov edi, eax
inc edi
cmp edi, 2
jae 0x402cb8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x44], 0xbe
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x44]
mov ecx, ebx
call fcn.00402200
cmp byte [ebp - 0x31], 0
jns 0x402da1
push dword [ebp - 0x3c]
call fcn.00405d0c
add esp, 4
jmp 0x402da1
mov dword [ebp - 0x70], edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x402cfb
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.DLL_WriteFile]
nop word [eax + eax]
mov dword [ebp - 0x6c], 0xffffffff
mov eax, esi
sub eax, edi
push 0
lea ecx, [ebp - 0x6c]
push ecx
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x74]
call ebx
test eax, eax
je 0x402d5a
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x402d5a
add edi, eax
cmp edi, esi
jne 0x402cd0
mov dword [ebp - 0x78], esp
mov esi, dword [ebp - 0x7c]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push eax
sub esp, 8
mov ebx, esp
cmp byte [ebp - 0x49], 0
jns 0x402e07
mov ecx, ebx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call fcn.00405680
mov ecx, esi
push ebx
call fcn.0042c360
cmp byte [ebx + 0xb], 0
mov edi, dword [ebp - 0x70]
jns 0x402d4d
push dword [ebx]
call fcn.00405d0c
add esp, 4
mov esp, dword [ebp - 0x78]
cmp edi, 2
jb 0x402dba
jmp 0x402de5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x44], 0xc7
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x44]
mov ecx, dword [ebp + 0x10]
call fcn.00402200
cmp byte [ebp - 0x31], 0
mov edi, dword [ebp - 0x70]
jns 0x402d9e
push dword [ebp - 0x3c]
call fcn.00405d0c
add esp, 4
mov esi, dword [ebp - 0x7c]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
cmp edi, 2
jae 0x402de5
cmp byte [ebp - 0x49], 0
js 0x402df4
cmp byte [ebp - 0x55], 0
jns 0x402dd1
push dword [ebp - 0x60]
call fcn.00405d0c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406639
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [ebp - 0x49], 0
jns 0x402dc0
push dword [ebp - 0x54]
call fcn.00405d0c
add esp, 4
cmp byte [ebp - 0x55], 0
jns 0x402dd1
jmp 0x402dc6
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x54]
movsd qword [ebx], xmm0
jmp 0x402d32