Function at 0x401db0
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 [0x44a0d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
lea ecx, [ebp - 0x60]
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
lea ebx, [ebp - 0x54]
push ebx
call dword [sym.imp.KERNEL32.DLL_GetSystemTime]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [ebp - 0x70], eax
movzx eax, word [ebx + 0xe]
mov dword [ebp - 0x78], eax
movzx eax, word [ebx + 0xc]
mov dword [ebp - 0x80], eax
movzx edi, word [ebx]
mov esi, edi
shr esi, 2
imul esi, esi, 0x147b
shr esi, 0x11
imul esi, esi, 0x64
sub edi, esi
movzx esi, word [ebx + 0xa]
movzx edi, di
movzx eax, word [ebx + 8]
movzx ecx, word [ebx + 6]
movzx edx, word [ebx + 2]
mov ebx, dword [ebp - 0x74]
push dword [ebp - 0x70]
push dword [ebp - 0x78]
push dword [ebp - 0x80]
push esi
push eax
push ecx
push edx
push edi
lea edi, [ebp - 0x60]
push str._02d_02d_02d_02d_02d_02d_03d_d
push 0x1a
lea esi, [ebp - 0x44]
push esi
call fcn.0040217d
add esp, 0x2c
mov ecx, edi
push esi
call fcn.004180ee
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], eax
movzx eax, byte [ebx + 0xb]
test al, al
js 0x401e79
push str.Opera_installer_
mov esi, eax
call fcn.0042ae94
add esp, 4
mov ecx, esi
mov esi, eax
add esi, ecx
jmp 0x401e91
mov esi, dword [ebx + 4]
push str.Opera_installer_
call fcn.0042ae94
add esp, 4
mov ecx, esi
mov esi, eax
add esi, ecx
mov ebx, dword [ebx]
cmp esi, 0x7ffffff0
jae 0x402124
cmp esi, 4
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], eax
ja 0x401eb0
lea ebx, [ebp - 0x6c]
mov byte [ebx + 0xb], cl
jmp 0x401edf
mov dword [ebp - 0x78], ecx
add esi, 8
and esi, 0xfffffff8
js 0x40212c
lea eax, [esi + esi]
push eax
call fcn.004192b8
add esp, 4
mov ebx, eax
mov dword [ebp - 0x6c], eax
or esi, 0x80000000
mov dword [ebp - 0x64], esi
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x68], ecx
test ecx, ecx
je 0x401ef7
mov esi, ecx
lea eax, [ecx + ecx]
push eax
push dword [ebp - 0x74]
push ebx
call fcn.0041d200
mov ecx, esi
add esp, 0xc
mov word [ebx + ecx*2], 0
lea esi, [ebp - 0x6c]
mov ecx, esi
push dword [ebp - 0x70]
push str.Opera_installer_
call fcn.00417db2
movzx eax, byte [ebp - 0x55]
test al, al
cmovs eax, dword [ebp - 0x5c]
cmovs edi, dword [ebp - 0x60]
mov ecx, esi
push eax
push edi
call fcn.00417db2
mov ecx, dword [eax + 8]
lea esi, [ebp - 0x44]
mov dword [esi + 8], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov dword [esi], ecx
xor ebx, ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov ecx, esi
push 0x43c2a0
call fcn.00417f72
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov dword [eax + 8], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
cmp byte [esi + 0xb], bl
jns 0x401f78
push dword [ebp - 0x44]
call fcn.004192e8
add esp, 4
cmp byte [ebp - 0x61], 0
jns 0x401f89
push dword [ebp - 0x6c]
call fcn.004192e8
add esp, 4
cmp byte [ebp - 0x49], 0
lea eax, [ebp - 0x54]
jns 0x401f95
mov eax, dword [ebp - 0x54]
xor edi, edi
mov esi, 2
push edi
push 0x80
push esi
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x74], eax
mov ebx, eax
inc ebx
cmp ebx, esi
jae 0x402003
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea esi, [ebp - 0x44]
mov dword [esi], 0xc7
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov ecx, dword [ebp + 0x10]
mov edx, esi
call fcn.004016d4
cmp byte [esi + 0x13], 0
jns 0x401ff1
push dword [ebp - 0x3c]
call fcn.004192e8
add esp, 4
xor eax, eax
mov esi, dword [ebp - 0x7c]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi], eax
jmp 0x4020e0
mov dword [ebp - 0x70], ebx
mov esi, dword [ebp + 8]
test esi, esi
je 0x402039
xor ebx, ebx
mov edi, dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, esi
sub eax, ebx
push 0
lea ecx, [ebp - 0x6c]
push ecx
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x74]
call edi
test eax, eax
je 0x40207e
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x40207e
add ebx, eax
cmp ebx, esi
jne 0x402015
mov esi, esp
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
push eax
sub esp, 8
mov ecx, esp
lea eax, [ebp - 0x54]
push eax
call fcn.00417ad6
lea edi, [ebp - 0x44]
mov ecx, edi
call fcn.00402150
mov esp, esi
mov esi, dword [ebp - 0x7c]
mov ecx, esi
push edi
call fcn.00417ad6
cmp byte [ebp - 0x39], 0
js 0x4020c6
mov word [ebp - 0x44], 0
mov byte [ebp - 0x39], 0
jmp 0x4020d5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea esi, [ebp - 0x44]
mov dword [esi], 0xd0
mov dword [esi + 4], eax
xor edi, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov ecx, dword [ebp + 0x10]
mov edx, esi
call fcn.004016d4
cmp byte [esi + 0x13], 0
mov ebx, dword [ebp - 0x70]
jns 0x4020b9
push dword [ebp - 0x3c]
call fcn.004192e8
add esp, 4
mov esi, dword [ebp - 0x7c]
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi], edi
jmp 0x4020e0
mov eax, dword [ebp - 0x44]
mov word [eax], 0
mov dword [ebp - 0x40], 0
mov ebx, dword [ebp - 0x70]
lea ecx, [ebp - 0x44]
call fcn.00402132
cmp ebx, 2
jb 0x4020ee
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [ebp - 0x49], 0
jns 0x4020ff
push dword [ebp - 0x54]
call fcn.004192e8
add esp, 4
cmp byte [ebp - 0x55], 0
jns 0x402110
push dword [ebp - 0x60]
call fcn.004192e8
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419315
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [ebp - 0x6c]
call fcn.004175c8
call fcn.00429a0e
int3