Function at 0x401760
Capabilities:
Delete file
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov eax, dword [0x455014]
xor eax, ebp
mov dword [esp + 0x198], eax
lea esi, [esp + 0x84]
push 0x110
push 0
push esi
call fcn.00410b20
add esp, 0xc
mov dword [esi - 0xc], 0x11c
sub esp, 0x10
movdqa xmm0, xmmword [0x44f110]
movdqu xmmword [esp], xmm0
mov ebx, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
call ebx
mov edi, 3
xor ecx, ecx
inc ecx
push edi
push ecx
push edx
push eax
call ebx
push edi
push 0x20
push edx
push eax
call ebx
mov dword [esi - 8], 6
xor ecx, ecx
inc ecx
mov dword [esi - 4], ecx
mov word [esi + 0x108], 0
lea esi, [esp + 0x78]
push edx
push eax
push 0x23
push esi
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x4018ee
xor esi, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
lea eax, [esp + 0x34]
pcmpeqd xmm0, xmm0
movdqa xmmword [eax - 4], xmm0
push 0xa
push 0x7d1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x401923
mov ebx, eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401963
mov edi, eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x401975
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
pxor xmm0, xmm0
movdqu xmmword [esp + 0x60], xmm0
lea esi, [esp + 0x48]
lea ecx, [esp + 0x78]
xor edx, edx
push esi
mov dword [esp + 0x14], eax
push eax
push ebx
call fcn.00402640
add esp, 0xc
mov eax, dword [esp + 0x60]
test eax, eax
je 0x401887
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edi, [esp + 0x64]
lea esi, [esp + 0x7c]
mov eax, dword [esi - 4]
mov dword [edi - 4], eax
mov dword [esi - 4], 0
cmp byte [edi + 0xb], 0
movzx eax, byte [esi + 0xb]
js 0x402107
test al, al
jns 0x4019c8
mov ecx, edi
push dword [esp + 0x80]
push dword [esp + 0x80]
call fcn.0040bac0
cmp byte [esp + 0x87], 0
jns 0x4019d6
mov eax, dword [esp + 0x7c]
mov word [eax], 0
mov dword [esp + 0x80], 0
jmp 0x4019e5
mov dword [esp + 0x78], 8
mov dword [esp + 0x7c], 0x4000
push esi
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor eax, eax
push eax
push 0x44f0a8
push str.This_Opera_installer_works_only_on_Windows_7_or_higher._r_nVisit_____www.opera.com_____to_download_compatible_version.
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, 3
jmp 0x401cfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x78]
mov dword [edi], 0x110
mov dword [edi + 4], eax
mov dword [edi + 0xc], esi
mov dword [edi + 8], esi
mov dword [edi + 0x10], esi
lea ecx, [esp + 0x48]
mov edx, edi
call fcn.00402470
cmp byte [edi + 0x13], 0
jns 0x40195f
push dword [esp + 0x80]
call fcn.0040d7e0
add esp, 4
xor esi, esi
jmp 0x4019b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x78]
mov dword [edi], 0x116
jmp 0x401985
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x78]
mov dword [edi], 0x11c
mov dword [edi + 4], eax
xor esi, esi
mov dword [edi + 0xc], esi
mov dword [edi + 8], esi
mov dword [edi + 0x10], esi
lea ecx, [esp + 0x48]
mov edx, edi
call fcn.00402470
cmp byte [edi + 0x13], 0
jns 0x4019b3
push dword [esp + 0x80]
call fcn.0040d7e0
add esp, 4
mov dword [esp + 0x30], esi
lea edi, [esp + 0x34]
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
jmp 0x401c3f
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
movq xmm0, qword [esi]
movq qword [edi], xmm0
mov word [esp + 0x7c], 0
mov byte [esp + 0x87], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4019f4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x78], 0
cmp byte [esp + 0x87], 0
js 0x401a0a
jne 0x401a18
jmp 0x401a53
cmp dword [esp + 0x80], 0
je 0x401a47
mov esi, dword [esp + 0x7c]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x87], 0
jns 0x401a53
mov eax, dword [esp + 0x7c]
mov word [eax], 0
mov dword [esp + 0x80], 0
cmp byte [esp + 0x87], 0
jns 0x401a53
push dword [esp + 0x7c]
call fcn.0040d7e0
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
mov dword [esp + 0xc], edi
jne 0x401bb5
movdqa xmm0, xmmword [0x44f120]
lea edi, [esp + 0x78]
movdqu xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea esi, [esp + 0x48]
mov ecx, esi
mov edx, edi
call fcn.00402470
cmp byte [edi + 0x13], 0
jns 0x401a9c
push dword [esp + 0x80]
call fcn.0040d7e0
add esp, 4
lea ecx, [esp + 0x78]
xor edx, edx
inc edx
push esi
push dword [esp + 0x14]
push ebx
call fcn.00402640
add esp, 0xc
mov eax, dword [esp + 0x60]
test eax, eax
je 0x401ac0
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esi, [esp + 0x7c]
mov eax, dword [esi - 4]
mov dword [esp + 0x60], eax
mov dword [esi - 4], 0
cmp byte [esp + 0x6f], 0
movzx eax, byte [esi + 0xb]
lea edi, [esp + 0x64]
js 0x40212b
test al, al
jns 0x401b1e
mov ecx, edi
push dword [esp + 0x80]
push dword [esp + 0x80]
call fcn.0040bac0
cmp byte [esp + 0x87], 0
jns 0x401b2c
mov eax, dword [esp + 0x7c]
mov word [eax], 0
mov dword [esp + 0x80], 0
jmp 0x401b3b
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
movq xmm0, qword [esi]
movq qword [edi], xmm0
mov word [esp + 0x7c], 0
mov byte [esp + 0x87], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x401b4a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x78], 0
cmp byte [esp + 0x87], 0
js 0x401b60
jne 0x401b6e
jmp 0x401ba9
cmp dword [esp + 0x80], 0
je 0x401b9d
mov esi, dword [esp + 0x7c]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x87], 0
jns 0x401ba9
mov eax, dword [esp + 0x7c]
mov word [eax], 0
mov dword [esp + 0x80], 0
cmp byte [esp + 0x87], 0
jns 0x401ba9
push dword [esp + 0x7c]
call fcn.0040d7e0
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
je 0x402057
mov dword [esp + 0x30], eax
cmp byte [esp + 0x6f], 0
js 0x4020b8
mov eax, dword [edi + 8]
mov ecx, edi
lea edi, [esp + 0x34]
mov dword [edi + 8], eax
movq xmm0, qword [ecx]
movq qword [edi], xmm0
mov word [esp + 0x64], 0
mov byte [esp + 0x6f], 0
mov dword [esp + 0x60], 0
cmp byte [esp + 0x6f], 0
js 0x401bf7
jne 0x401c06
jmp 0x401c3b
cmp dword [esp + 0x68], 0
je 0x401c2f
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x6f], 0
jns 0x401c3b
mov eax, dword [esp + 0x64]
mov word [eax], 0
mov dword [esp + 0x68], 0
cmp byte [esp + 0x6f], 0
jns 0x401c3b
push dword [esp + 0x64]
call fcn.0040d7e0
add esp, 4
mov esi, dword [esp + 0x30]
push 0x44f65f
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401d15
mov ecx, eax
call dword [section..00cfg]
call ecx
mov ebx, eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x401c6e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x30], 0
cmp byte [esp + 0x3f], 0
js 0x401c81
jne 0x401c8c
jmp 0x401cbe
cmp dword [esp + 0x38], 0
je 0x401cb2
mov edi, dword [esp + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x3f], 0
jns 0x401cbe
mov eax, dword [esp + 0x34]
mov word [eax], 0
mov dword [esp + 0x38], 0
cmp byte [esp + 0x3f], 0
jns 0x401cbe
push dword [esp + 0x34]
call fcn.0040d7e0
add esp, 4
mov esi, dword [esp + 0x48]
test esi, esi
je 0x401cfd
mov edi, ebx
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x401cf2
mov ebx, eax
add ebx, 0xffffffec
je 0x4020ec
cmp byte [eax - 1], 0
jns 0x401cec
push dword [eax - 0xc]
call fcn.0040d7e0
add esp, 4
mov eax, ebx
cmp ebx, esi
jne 0x401cd2
push esi
call fcn.0040d7e0
add esp, 4
mov ebx, edi
mov ecx, dword [esp + 0x198]
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 esi, [esp + 0x78]
mov dword [esi], 0xa9
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
lea ecx, [esp + 0x48]
mov edx, esi
call fcn.00402470
cmp byte [esi + 0x13], 0
jns 0x401d53
push dword [esp + 0x80]
call fcn.0040d7e0
add esp, 4
xor eax, eax
dec eax
lea ecx, [esp + 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push str.Fatal_error_upon_loading_installer_executable:_r_n
call fcn.00432310
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
cmp edi, eax
je 0x402009
add edi, 8
lea ebx, [esp + 0x54]
xor eax, eax
dec eax
mov dword [esp + 0x72], eax
mov dword [esp + 0x6e], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
push 0xa
push 0xb
lea esi, [esp + 0x68]
push esi
push dword [edi - 8]
call fcn.0041d0db
add esp, 0x10
lea ecx, [esp + 0x24]
push 8
push str.In_line
call fcn.0040b750
mov ecx, ebx
push esi
call fcn.00432310
mov ecx, ebx
push 1
push 0x44f2ce
call fcn.0040b750
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], ecx
movq xmm0, qword [eax]
movq qword [esp + 0x78], xmm0
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
movzx eax, byte [esp + 0x83]
mov edx, eax
and edx, 0x7f
test al, al
cmovs edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
lea esi, [esp + 0x78]
cmovns eax, esi
lea ecx, [esp + 0x24]
push edx
push eax
call fcn.0040b750
cmp byte [esp + 0x83], 0
jns 0x401e34
push dword [esp + 0x78]
call fcn.0040d7e0
add esp, 4
mov dword [esp + 0x10], edi
lea eax, [edi - 8]
mov dword [esp + 0xc], eax
cmp byte [esp + 0x5f], 0
jns 0x401e52
push dword [esp + 0x54]
call fcn.0040d7e0
add esp, 4
xor edi, edi
dec edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 4]
mov eax, 0x100
push eax
push 0xff
push esi
call fcn.00410b20
add esp, 0xc
xor eax, eax
push eax
mov ecx, 0x100
push ecx
push esi
push 0x409
push ebx
push eax
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x401eb7
lea ecx, [esp + 0x18]
push str._Error_cannot_be_retrieved_
call fcn.004323f0
mov edi, dword [esp + 0x10]
lea ebx, [esp + 0x54]
jmp 0x401f4f
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
lea ebx, [esp + 0x54]
mov ecx, ebx
push esi
call fcn.004323f0
movzx ecx, byte [esp + 0x5f]
mov edx, ecx
and edx, 0x7e
test cl, cl
mov eax, dword [esp + 0x58]
cmovs edx, eax
cmp edx, 2
jb 0x401f0c
mov edx, ecx
and edx, 0x7f
test cl, cl
cmovs edx, eax
add edx, 0xfffffffe
lea ecx, [esp + 0x18]
lea eax, [esp + 0x60]
push eax
push edx
push 0
push ebx
call fcn.0040b0b0
mov edi, dword [esp + 0x10]
jmp 0x401f3c
test cl, cl
mov edi, dword [esp + 0x10]
jns 0x401f24
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x58]
call fcn.0040ae70
jmp 0x401f38
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
movq xmm0, qword [esp + 0x54]
movq qword [esp + 0x18], xmm0
lea ebx, [esp + 0x54]
cmp byte [esp + 0x5f], 0
jns 0x401f4f
push dword [esp + 0x54]
call fcn.0040d7e0
add esp, 4
movzx eax, byte [esp + 0x23]
test al, al
jns 0x401f62
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x401f69
and eax, 0x7f
lea edx, [esp + 0x18]
add eax, edx
lea ecx, [esp + 0x24]
push eax
push edx
call fcn.00402150
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + 0x13]
test al, al
jns 0x401f85
mov eax, dword [edi + 4]
test eax, eax
je 0x401fd2
push edi
push 0x44f2ce
push esi
call fcn.00402340
add esp, 0xc
movzx eax, byte [esp + 0x83]
test al, al
jns 0x401fae
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
jmp 0x401fb1
and eax, 0x7f
lea ecx, [esp + 0x24]
push eax
push esi
call fcn.0040b750
cmp byte [esp + 0x83], 0
jns 0x401fd2
push dword [esp + 0x78]
call fcn.0040d7e0
add esp, 4
lea ecx, [esp + 0x24]
push 2
push 0x44f2d2
call fcn.0040b750
cmp byte [esp + 0x23], 0
jns 0x401ff5
push dword [esp + 0x18]
call fcn.0040d7e0
add esp, 4
add edi, 0x14
mov eax, dword [esp + 0xc]
add eax, 0x14
cmp eax, dword [esp + 0x14]
jne 0x401d87
lea esi, [esp + 0x24]
mov ecx, esi
push 0x4e
push 0x44f2d8
call fcn.0040b750
cmp byte [esp + 0x2f], 0
jns 0x402026
mov esi, dword [esp + 0x24]
xor eax, eax
push eax
push 0x44f0a8
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [esp + 0x2f], 0
lea edi, [esp + 0x34]
jns 0x40204d
push dword [esp + 0x24]
call fcn.0040d7e0
add esp, 4
mov ebx, 2
jmp 0x401c5f
movdqa xmm0, xmmword [0x44f130]
lea edi, [esp + 0x78]
movdqu xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea ecx, [esp + 0x48]
mov edx, edi
call fcn.00402470
cmp byte [edi + 0x13], 0
jns 0x40208e
push dword [esp + 0x80]
call fcn.0040d7e0
add esp, 4
xor eax, eax
mov dword [esp + 0x30], eax
lea edi, [esp + 0x34]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x401be4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x401be4
lea edi, [esp + 0x34]
mov ecx, edi
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.0040b580
cmp byte [esp + 0x6f], 0
jns 0x401bd8
mov eax, dword [esp + 0x64]
mov word [eax], 0
mov dword [esp + 0x68], 0
jmp 0x401be4
push 0x44f418
push 0x44f439
push 0x3f
push 0x44f3af
push 0x44f3f9
call fcn.00445940
test al, al
jns 0x402118
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
jmp 0x40211d
and eax, 0x7f
mov edx, esi
mov ecx, edi
push eax
push edx
call fcn.0040b9f0
jmp 0x4018c7
test al, al
jns 0x40213c
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
jmp 0x402141
and eax, 0x7f
mov edx, esi
mov ecx, edi
push eax
push edx
call fcn.0040b9f0
jmp 0x401afe