Function at 0x402b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 0x10], ecx
mov eax, dword [0x455014]
xor eax, ebp
mov dword [esi + 0x88], eax
xor eax, eax
lea ecx, [esi + 0x30]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
pcmpeqd xmm0, xmm0
lea edi, [esi + 0x40]
movdqa xmmword [edi], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esi + 0x50]
pcmpeqd xmm0, xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov dword [eax + 0x30], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 0xc], eax
movzx eax, word [edi + 0xe]
mov dword [esi + 0x20], eax
movzx ebx, word [edi]
mov edx, ebx
shr edx, 2
imul edx, edx, 0x147b
shr edx, 0x11
imul edx, edx, 0x64
sub ebx, edx
movzx edx, word [edi + 0xc]
movzx eax, bx
mov dword [esi + 0x1c], eax
movzx eax, word [edi + 0xa]
movzx ecx, word [edi + 8]
movzx ebx, word [edi + 6]
mov dword [esi + 0x14], ebx
movzx ebx, word [edi + 2]
mov dword [esi + 0x18], ebx
push dword [esi + 0xc]
push dword [esi + 0x20]
push edx
push eax
push ecx
push dword [esi + 0x14]
push dword [esi + 0x18]
push dword [esi + 0x1c]
push str._02d_02d_02d_02d_02d_02d_03d_d
push 0x1a
lea ebx, [esi + 0x50]
push ebx
call fcn.00403020
add esp, 0x2c
push ebx
call fcn.004206fb
add esp, 4
lea ebx, [esi + 0x30]
mov ecx, ebx
push eax
lea eax, [esi + 0x50]
push eax
call fcn.0040b660
lea eax, [esi + 0x24]
push str.Opera_installer_
push dword [esi + 8]
push eax
call fcn.00402e60
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x402c76
mov eax, dword [esi + 0x34]
mov ebx, dword [esi + 0x30]
jmp 0x402c79
and eax, 0x7f
lea ecx, [esi + 0x24]
push eax
push ebx
call fcn.0040b750
mov edx, dword [eax + 8]
lea ecx, [esi + 0x50]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
xor ebx, ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
push 4
push 0x44f608
call fcn.0040b750
mov ecx, dword [eax + 8]
mov dword [esi + 0x48], ecx
movsd xmm0, qword [eax]
movsd qword [esi + 0x40], xmm0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], ebx
lea eax, [esi + 0x50]
cmp byte [eax + 0xb], 0
jns 0x402cd5
push dword [esi + 0x50]
call fcn.0040d7e0
add esp, 4
cmp byte [esi + 0x2f], 0
jns 0x402ce6
push dword [esi + 0x24]
call fcn.0040d7e0
add esp, 4
cmp byte [esi + 0x4b], 0
jns 0x402cef
mov edi, dword [esi + 0x40]
mov ebx, dword [ebp + 0x10]
sub esp, 0x1c
movaps xmm0, xmmword [0x44f160]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
inc eax
mov dword [esi + 0xc], eax
cmp eax, 2
jae 0x402d6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esi + 0x50]
mov dword [edi], 0xbe
mov dword [edi + 4], eax
mov ecx, ebx
xor ebx, ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
mov edx, edi
call fcn.00402470
cmp byte [edi + 0x13], 0
jns 0x402d5d
push dword [esi + 0x58]
call fcn.0040d7e0
add esp, 4
mov eax, dword [esi + 0x10]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov ebx, eax
jmp 0x402de3
mov edi, dword [ebp + 8]
test edi, edi
je 0x402dac
xor ebx, ebx
mov dword [esi + 0x24], 0xffffffff
mov eax, edi
sub eax, ebx
push 0
lea ecx, [esi + 0x24]
push ecx
push eax
push dword [ebp + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402e2b
mov eax, dword [esi + 0x24]
test eax, eax
je 0x402e2b
add ebx, eax
cmp ebx, edi
jne 0x402d75
mov edi, esp
xor eax, eax
mov ebx, dword [esi + 0x10]
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
push eax
sub esp, 8
mov ecx, esp
cmp byte [esi + 0x4b], 0
js 0x402e50
mov eax, dword [esi + 0x48]
mov dword [ecx + 8], eax
movsd xmm0, qword [esi + 0x40]
movsd qword [ecx], xmm0
mov ecx, ebx
call fcn.00402f70
mov esp, edi
cmp dword [esi + 0xc], 2
jb 0x402df2
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x4b], 0
jns 0x402e03
push dword [esi + 0x40]
call fcn.0040d7e0
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x402e14
push dword [esi + 0x30]
call fcn.0040d7e0
add esp, 4
mov ecx, dword [esi + 0x88]
xor ecx, ebp
call fcn.0040e119
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esi + 0x50]
mov dword [edi], 0xc7
mov dword [edi + 4], eax
xor ebx, ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
mov ecx, dword [ebp + 0x10]
jmp 0x402d45
push dword [esi + 0x44]
push dword [esi + 0x40]
call fcn.0040b580
jmp 0x402dda