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 - 0x70], edx
mov dword [ebp - 0x74], ecx
mov eax, dword [0x455010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
lea ecx, [ebp - 0x60]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
pcmpeqd xmm0, xmm0
lea ebx, [ebp - 0x54]
movdqu xmmword [ebx], xmm0
push ebx
call dword [sym.imp.KERNEL32.DLL_GetSystemTime]
lea eax, [ebp - 0x44]
pcmpeqd xmm0, xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x30], 0xffffffff
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [ebp - 0x80], eax
movzx eax, word [ebx + 0xe]
mov dword [ebp - 0x7c], eax
movzx eax, word [ebx + 0xc]
mov dword [ebp - 0x78], eax
movzx esi, word [ebx]
mov edi, esi
shr edi, 2
imul edi, edi, 0x147b
shr edi, 0x11
imul edi, edi, 0x64
sub esi, edi
movzx edi, word [ebx + 0xa]
movzx esi, si
movzx eax, word [ebx + 8]
movzx ecx, word [ebx + 6]
movzx edx, word [ebx + 2]
push dword [ebp - 0x80]
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push edi
push eax
push ecx
push edx
push esi
push str._02d_02d_02d_02d_02d_02d_03d_d
push 0x1a
lea esi, [ebp - 0x44]
push esi
call fcn.00402f30
add esp, 0x2c
push esi
call fcn.00421629
add esp, 4
lea edi, [ebp - 0x60]
mov ecx, edi
push eax
push esi
call fcn.0040b2e0
lea esi, [ebp - 0x6c]
push str.Opera_installer_
push dword [ebp - 0x70]
push esi
call fcn.00402d80
add esp, 0xc
movzx eax, byte [edi + 0xb]
test al, al
jns 0x402b9c
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x60]
mov ecx, esi
push eax
push edi
call fcn.0040b3d0
mov ecx, dword [eax + 8]
lea esi, [ebp - 0x44]
mov dword [esi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esi], xmm0
xor edi, edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov ecx, esi
push 4
push 0x44f738
call fcn.0040b3d0
mov ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x54], xmm0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], edi
cmp byte [esi + 0xb], 0
jns 0x402bf6
push dword [ebp - 0x44]
call fcn.0040e020
add esp, 4
cmp byte [ebp - 0x61], 0
jns 0x402c07
push dword [ebp - 0x6c]
call fcn.0040e020
add esp, 4
cmp byte [ebp - 0x49], 0
jns 0x402c10
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp + 0x10]
sub esp, 0x1c
movaps xmm0, xmmword [0x44f1c0]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
inc eax
mov dword [ebp - 0x70], eax
cmp eax, 2
jae 0x402c8c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, esi
lea esi, [ebp - 0x44]
mov dword [esi], 0xbe
mov dword [esi + 4], eax
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov edx, esi
call fcn.00402310
cmp byte [esi + 0x13], 0
jns 0x402c7d
push dword [ebp - 0x3c]
call fcn.0040e020
add esp, 4
mov eax, dword [ebp - 0x74]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov ebx, eax
jmp 0x402d01
mov esi, dword [ebp + 8]
test esi, esi
je 0x402cca
xor ebx, ebx
mov dword [ebp - 0x6c], 0xffffffff
mov eax, esi
sub eax, ebx
push 0
lea ecx, [ebp - 0x6c]
push ecx
push eax
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x402d44
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x402d44
add ebx, eax
cmp ebx, esi
jne 0x402c95
mov esi, esp
xor eax, eax
mov ebx, dword [ebp - 0x74]
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
push eax
sub esp, 8
mov ecx, esp
cmp byte [ebp - 0x49], 0
js 0x402d69
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x54]
movsd qword [ecx], xmm0
mov ecx, ebx
call fcn.00402e90
mov esp, esi
cmp dword [ebp - 0x70], 2
jb 0x402d0e
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [ebp - 0x49], 0
jns 0x402d1f
push dword [ebp - 0x54]
call fcn.0040e020
add esp, 4
cmp byte [ebp - 0x55], 0
jns 0x402d30
push dword [ebp - 0x60]
call fcn.0040e020
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e959
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea esi, [ebp - 0x44]
mov dword [esi], 0xc7
mov dword [esi + 4], eax
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov ecx, dword [ebp + 0x10]
jmp 0x402c65
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call fcn.0040b200
jmp 0x402cf8