Function at 0x140128740
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd78]
sub rsp, 0xe40
mov qword [rbp + 0xd0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0xd20], rax
mov r14, r9
mov rbx, r8
mov r13, rdx
mov qword [rbp - 0x40], rdx
mov byte [rsp + 0x70], cl
mov r12, 0xffffffffffffffff
mov r8d, r12d
mov rdx, rbx
lea rcx, [rbp + 0x2b0]
call fcn.1400ec9b0
nop
lea r8d, [r12 + 5]
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x2b0]
call fcn.1400ee1e0
nop
mov rcx, rax
call fcn.14009af50
mov rdx, rax
lea rcx, str..ico
call fcn.140299718
mov edi, eax
lea rcx, [rbp + 0x3d0]
call fcn.140067dc0
xor esi, esi
lea r15d, [r12 + 2]
test edi, edi
jne 0x140128a37
xor eax, eax
mov dword [rbp + 0x710], eax
mov word [rbp + 0x714], ax
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xb20]
call fcn.140289490
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x920]
call fcn.140289490
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x720]
call fcn.140289490
mov qword [rsp + 0x40], 0x100
lea rax, [rbp + 0x720]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x100
lea rax, [rbp + 0x920]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x100
lea r9, [rbp + 0xb20]
lea r8d, [r12 + 4]
lea rdx, [rbp + 0x710]
mov rcx, rbx
call fcn.1402a7e08
lea rdx, str..ico
lea rcx, [rbp + 0x720]
call fcn.140299718
test eax, eax
jne 0x140128a37
lea rcx, [rbp + 0x220]
call fcn.1400ec9e0
nop
movzx eax, word [rbp + 0x710]
cmp ax, word [0x1402ec198]
jne 0x1401288dd
call fcn.1400f0340
mov rdx, rax
lea rcx, [rbp + 0x220]
call fcn.1400ecc70
mov rdx, rbx
lea rcx, [rbp + 0x220]
call fcn.1400ece00
lea rcx, [rbp + 0x220]
call fcn.14009af50
mov rdx, rax
mov dword [rsp + 0x28], 0x50
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, r15d
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadImageW]
mov rdi, rax
test rax, rax
je 0x140128a2b
mov ecx, 0xa8
call fcn.140171ab4
mov rbx, rax
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140128942
lea rcx, [rax + 0x18]
call fcn.1400ec9e0
jmp 0x140128945
mov rbx, rsi
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x140128a07
mov eax, dword [rbp + 0xf4]
lea r14d, [rax + rax]
mov eax, dword [rbp + 0xf8]
lea r15d, [rax + rax]
mov dword [rbx + 8], r14d
mov dword [rbx + 0xc], r15d
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r12, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x78], rax
mov r8d, r15d
mov edx, r14d
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r13, rax
test rax, rax
je 0x140128a07
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r14d
mov r9, rdi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_DrawIconEx]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyIcon]
mov rsi, r13
mov qword [rbx], rsi
mov byte [rbx + 0x10], 1
mov eax, dword [rbp + 0xda0]
mov dword [rbx + 0xa0], eax
lea rcx, [rbp + 0x220]
call fcn.140067dc0
jmp 0x1401293d1
lea rcx, [rbp + 0x220]
call fcn.140067dc0
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x54], esi
test r14, r14
jne 0x140128d02
call fcn.1400f0340
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.1400ec980
nop
call fcn.1400f0360
mov rcx, rax
call fcn.1400ed920
test al, al
je 0x140128b65
mov rdx, rbx
lea rcx, [rbp + 0x190]
call fcn.1400ece00
lea rcx, [rbp + 0x190]
call fcn.14009af50
mov rcx, rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, r15d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140128ad1
lea rcx, [rbp + 0x190]
call fcn.140067dc0
jmp 0x140128d89
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x54], eax
test eax, eax
jne 0x140128aff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x190]
call fcn.140067dc0
jmp 0x140128d89
mov dword [rbp - 0x60], esi
mov ecx, eax
lea rdx, [0x1403d8608]
call fcn.140172708
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x60]
mov r8d, dword [rsp + 0x54]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x54]
cmp dword [rbp - 0x60], eax
je 0x140128ac0
mov rcx, qword [rsp + 0x68]
call fcn.140171af0
mov qword [rsp + 0x68], rsi
lea rcx, [rbp + 0x190]
call fcn.140067dc0
jmp 0x140128d89
call fcn.1400f0360
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.1400ecde0
call fcn.1400f0520
test al, al
je 0x140128cc8
call fcn.1400f0370
mov rdi, rax
test rax, rax
jne 0x140128ba4
lea rcx, [rbp + 0x190]
call fcn.140067dc0
jmp 0x140128d89
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x170], si
mov r8, r12
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x140128bc0
mov rdx, rbx
lea rcx, [rbp + 0x170]
call fcn.1400810d0
nop
lea r9, [rbp + 0x4f0]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x170]
mov rcx, rdi
call fcn.1401315f0
test eax, eax
sete r14b
mov rdx, qword [rbp + 0x188]
cmp rdx, 8
jb 0x140128c41
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140128c3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140129948
call fcn.140171af0
test r14b, r14b
je 0x140128c57
lea rcx, [rbp + 0x190]
call fcn.140067dc0
jmp 0x140128d89
mov eax, dword [rbp + 0x704]
mov dword [rsp + 0x54], eax
test eax, eax
jne 0x140128c76
lea rcx, [rbp + 0x190]
call fcn.140067dc0
jmp 0x140128d89
mov rcx, rax
lea rdx, [0x1403d8608]
call fcn.140172708
mov qword [rsp + 0x68], rax
mov r9d, dword [rsp + 0x54]
mov r8, rax
mov edx, dword [rbp + 0x10]
mov rcx, rdi
call fcn.140131400
test eax, eax
jne 0x140128ac0
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call fcn.140171af0
mov qword [rsp + 0x68], rsi
lea rcx, [rbp + 0x190]
call fcn.140067dc0
jmp 0x140128d89
lea rcx, [rbp + 0x190]
call fcn.14009af50
mov rcx, rax
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x68]
mov rdx, rbx
call fcn.140136300
test eax, eax
jns 0x140128ac0
lea rcx, [rbp + 0x190]
call fcn.140067dc0
jmp 0x140128d89
call fcn.1400f0310
mov rcx, rax
mov r8, r14
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x140128d89
call fcn.1400f0310
mov rcx, rax
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
je 0x140128d80
call fcn.1400f0310
mov rcx, rax
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x54], eax
test eax, eax
je 0x140128d89
mov ecx, eax
lea rdx, [0x1403d8608]
call fcn.140172708
mov qword [rsp + 0x68], rax
mov edi, dword [rsp + 0x54]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
mov r8d, edi
mov rcx, qword [rsp + 0x68]
call fcn.140289020
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r15d, 1
cmp qword [rsp + 0x68], 0
jne 0x140128e52
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, r15d
mov edx, 0x80000000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140128de9
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x54], eax
test eax, eax
jne 0x140128df9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x68], 0
jne 0x140128e52
mov rbx, rsi
jmp 0x1401293d1
mov dword [rbp - 0x5c], esi
mov ecx, eax
lea rdx, [0x1403d8608]
call fcn.140172708
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x5c]
mov r8d, dword [rsp + 0x54]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x54]
cmp dword [rbp - 0x5c], eax
je 0x140128de9
mov rcx, qword [rsp + 0x68]
call fcn.140171af0
mov qword [rsp + 0x68], rsi
mov rbx, rsi
jmp 0x1401293d1
mov rdi, rsi
lea rcx, [rbp - 0x58]
call fcn.140263540
nop
mov byte [rsp + 0x58], 1
mov r8d, 4
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x2b0]
call fcn.1400ee1e0
nop
mov rcx, rax
call fcn.14009af50
mov rdx, rax
lea rcx, str..svg
call fcn.140299718
mov ebx, eax
lea rcx, [rbp + 0x460]
call fcn.140067dc0
test ebx, ebx
jne 0x140129017
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp + 0x60]
call fcn.140263840
nop
mov r14, qword [rbp + 0x60]
test r14, r14
je 0x140128ffb
mov rcx, r14
call fcn.140263830
cvttsd2si ebx, xmm0
mov rcx, r13
call fcn.1400ef900
mov rcx, rax
mov edx, ebx
call fcn.1400ffea0
mov edi, eax
mov rcx, r14
call fcn.140263da0
cvttsd2si ebx, xmm0
mov rcx, r13
call fcn.1400ef900
mov rcx, rax
mov edx, ebx
call fcn.1400ffea0
mov r8d, eax
mov dword [rsp + 0x20], esi
mov r9d, edi
lea rdx, [rbp + 0xe0]
mov rcx, r14
call fcn.140263b10
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rbp - 0x58], rcx
mov qword [rbp + 0xd8], rdx
mov rbx, qword [rbp - 0x50]
mov qword [rbp - 0x50], rdx
test rbx, rbx
je 0x140128f74
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140128f74
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140128f74
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp + 0xe8]
test rbx, rbx
je 0x140128fab
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140128fab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140128fab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x58]
call fcn.140263d90
mov dword [rsp + 0x5c], eax
lea rcx, [rbp - 0x58]
call fcn.140263820
mov dword [rsp + 0x60], eax
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], 3
mov r9d, 2
mov r8d, r15d
xor edx, edx
lea rcx, [rbp - 0x58]
call fcn.140263690
lea rcx, [rbp - 0x58]
call fcn.140263800
mov rdi, rax
mov byte [rsp + 0x58], 0
mov r14, qword [rbp + 0x60]
test r14, r14
je 0x140129043
mov rcx, r14
call fcn.140263550
mov edx, 8
mov rcx, r14
call fcn.140171af0
jmp 0x140129043
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x5c]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x68]
call fcn.14016a3c0
mov rdi, rax
mov rcx, qword [rsp + 0x68]
call fcn.140171af0
test rdi, rdi
je 0x140129396
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x128], xmm0
mov dword [rbp + 0x138], esi
mov dword [rbp + 0x110], 0x28
mov ecx, dword [rsp + 0x5c]
mov dword [rbp + 0x114], ecx
mov edx, dword [rsp + 0x60]
mov eax, edx
neg eax
mov dword [rbp + 0x118], eax
mov qword [rbp + 0x11c], 0x200001
imul edx, ecx
shl edx, 2
mov dword [rbp + 0x124], edx
mov byte [rsp + 0x50], 0
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rbp + 0x110]
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov r15, rax
mov qword [rbp + 0x78], rax
test rax, rax
je 0x140129396
mov r11d, esi
mov ecx, dword [rsp + 0x60]
imul ecx, dword [rsp + 0x5c]
test ecx, ecx
jle 0x14012920e
lea r8, [rdi + 3]
mov r12, 0xfffffffffffffffe
sub r12, rdi
mov r13, rdi
not r13
mov r15, 0xfffffffffffffffd
sub r15, rdi
mov esi, dword [rbp + 0xda0]
mov r9, r8
sub r9, rdi
movzx ecx, byte [r8]
mov rax, qword [rbp - 0x80]
mov byte [r9 + rax], cl
lea r10, [r8 + r15]
lea rbx, [r12 + r8]
lea r14, [r8 + r13]
cmp cl, 0xff
jae 0x140129193
movzx ecx, byte [r8 - 1]
movzx eax, byte [r8]
imul ecx, eax
mov eax, 0x80808081
mul ecx
shr edx, 7
mov rax, qword [rbp - 0x80]
mov byte [rax + r10], dl
movzx ecx, byte [r8 - 2]
movzx eax, byte [r8]
imul ecx, eax
mov eax, 0x80808081
mul ecx
shr edx, 7
mov rax, qword [rbp - 0x80]
mov byte [rbx + rax], dl
movzx ecx, byte [r8 - 3]
movzx eax, byte [r8]
imul ecx, eax
mov eax, 0x80808081
mul ecx
shr edx, 7
mov rax, qword [rbp - 0x80]
mov byte [r14 + rax], dl
mov byte [rsp + 0x50], 1
jmp 0x1401291b9
movzx ecx, byte [r8 - 1]
mov rax, qword [rbp - 0x80]
mov byte [rax + r10], cl
movzx ecx, byte [r8 - 2]
mov rax, qword [rbp - 0x80]
mov byte [rbx + rax], cl
movzx ecx, byte [r8 - 3]
mov rax, qword [rbp - 0x80]
mov byte [r14 + rax], cl
mov rax, qword [rbp - 0x80]
cmp dword [rax + r10], esi
jne 0x1401291e7
mov byte [rax + r10], 0
mov rax, qword [rbp - 0x80]
mov byte [rbx + rax], 0
mov rax, qword [rbp - 0x80]
mov byte [r14 + rax], 0
mov rax, qword [rbp - 0x80]
mov byte [r9 + rax], 0
mov byte [rsp + 0x50], 1
inc r11d
add r8, 4
mov eax, dword [rsp + 0x60]
imul eax, dword [rsp + 0x5c]
cmp r11d, eax
jl 0x140129110
xor esi, esi
mov r15, qword [rbp + 0x78]
lea r12, [rsi - 1]
mov r13, qword [rbp - 0x40]
movzx r14d, byte [rsp + 0x58]
test r14b, r14b
je 0x140129221
mov rcx, rdi
call fcn.14016a3b0
mov ebx, 0x64
xor r8d, r8d
lea rdx, [0x140318fc0]
lea rcx, [rbp + 0x2b0]
call fcn.1400ed190
cmp eax, 0xffffffff
je 0x14012927e
lea r8d, [rax + 3]
mov r9d, r12d
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x2b0]
call fcn.1400ed9e0
nop
lea rcx, [rbp + 0x340]
call fcn.14009af50
mov rcx, rax
call fcn.140291898
mov ebx, eax
lea rcx, [rbp + 0x340]
call fcn.140067dc0
mov rcx, r13
call fcn.1400ef900
mov rcx, rax
call fcn.1400ffc20
mov edi, eax
cmp ebx, eax
je 0x1401298ff
test r14b, r14b
je 0x1401298ff
mov rcx, r13
call fcn.1400ef900
mov rcx, rax
call fcn.1400ffc20
mov ecx, eax
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, dword [rsp + 0x5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movd xmm6, dword [rsp + 0x60]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm1
call fcn.1402a7e70
cvttss2si ebx, xmm0
mov dword [rsp + 0x5c], ebx
movaps xmm0, xmm6
call fcn.1402a7e70
cvttss2si eax, xmm0
mov dword [rsp + 0x60], eax
cmp edi, 0xc8
jle 0x1401296db
cmp byte [rsp + 0x70], 0
je 0x1401296db
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], rsi
mov dword [rbp + 0x168], esi
mov dword [rbp + 0x140], 0x28
mov dword [rbp + 0x144], ebx
mov dword [rbp + 0x148], eax
mov dword [rbp + 0x14c], 0x200001
mov qword [rbp + 0x68], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x68]
xor r8d, r8d
lea rdx, [rbp + 0x140]
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov r14, rax
cmp qword [rbp + 0x68], 0
je 0x140129396
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
test rax, rax
jne 0x140129412
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rbx, rsi
mov rdi, qword [rbp - 0x50]
test rdi, rdi
je 0x1401293d1
mov rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1401293d1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1401293d1
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x2b0]
call fcn.140067dc0
mov rax, rbx
mov rcx, qword [rbp + 0xd20]
xor rcx, rsp
call fcn.140172190
mov rbx, qword [rsp + 0xe80]
movaps xmm6, xmmword [rsp + 0xe30]
add rsp, 0xe40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov qword [rbp + 0x88], 0
lea r12, vtable.FCObjImage.0
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x90], 0
mov dword [rbp + 0x98], esi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xb0], xmm1
mov rdx, r15
lea rcx, [rbp + 0x80]
call fcn.140127330
mov qword [rbp - 0x40], 0
mov eax, dword [rsp + 0x5c]
mov dword [rbp - 0x38], eax
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x34], eax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0xc0], xmm0
xor r9d, r9d
lea r8, [rbp + 0xc0]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.1401205f0
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x30], 0
mov dword [rbp + 0x38], esi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x50], xmm1
mov rdx, r14
lea rcx, [rbp + 0x20]
call fcn.140127330
lea rax, vtable.FCEffectFlip.0
mov qword [rbp - 0x68], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x68]
call qword [method.FCImageEffect.virtual_8]
test al, al
je 0x1401295ca
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x68]
mov rax, qword [rbp - 0x68]
call qword [rax + SafeArrayCopy]
lea rcx, [rbp - 0x68]
mov rax, qword [rbp - 0x68]
call qword [rax + InitCommonControls]
test eax, eax
je 0x1401295b8
cmp eax, 1
jne 0x1401295ca
mov eax, dword [rbp + 0x38]
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd r13, eax
mov r14d, esi
mov r8d, dword [rbp + 0x34]
test r8d, r8d
jle 0x1401295ca
mov r12, rsi
mov edx, dword [rbp + 0x30]
nop word [rax + rax]
mov rcx, qword [rbp + 0x48]
mov rdi, qword [rcx + r12]
mov ebx, esi
test edx, edx
jle 0x1401295aa
nop
mov qword [rsp + 0x20], rdi
mov r9d, r14d
mov r8d, ebx
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x68]
mov rax, qword [rbp - 0x68]
call qword [rax + 0x20]
add rdi, r13
inc ebx
mov edx, dword [rbp + 0x30]
cmp ebx, edx
jl 0x140129580
mov r8d, dword [rbp + 0x34]
inc r14d
add r12, 8
cmp r14d, r8d
jl 0x140129570
jmp 0x1401295ca
xor r8d, r8d
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x68]
mov rax, qword [rbp - 0x68]
call qword [rax + 0x28]
xor r8d, r8d
lea edx, [r8 + 0x20]
lea rcx, [rbp + 0x20]
call fcn.14011fbe0
lea rax, vtable.FCEffectPremultipleAlpha.0
mov qword [rbp - 0x70], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x70]
call qword [0x140318f40]
test al, al
je 0x1401296aa
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + SafeArrayCopy]
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + InitCommonControls]
test eax, eax
je 0x140129698
cmp eax, 1
jne 0x1401296aa
mov eax, dword [rbp + 0x38]
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd r13, eax
mov r14d, esi
mov r8d, dword [rbp + 0x34]
test r8d, r8d
jle 0x1401296aa
mov r12, rsi
mov edx, dword [rbp + 0x30]
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbp + 0x48]
mov rdi, qword [rcx + r12]
mov ebx, esi
test edx, edx
jle 0x14012968a
nop
mov qword [rsp + 0x20], rdi
mov r9d, r14d
mov r8d, ebx
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + 0x20]
add rdi, r13
inc ebx
mov edx, dword [rbp + 0x30]
cmp ebx, edx
jl 0x140129660
mov r8d, dword [rbp + 0x34]
inc r14d
add r12, 8
cmp r14d, r8d
jl 0x140129650
jmp 0x1401296aa
xor r8d, r8d
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + 0x28]
lea rcx, [rbp + 0x20]
call fcn.140120570
mov r15, rax
lea rax, vtable.FCImageEffect.0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea rcx, [rbp + 0x20]
call fcn.14011f100
nop
lea rcx, [rbp + 0x80]
jmp 0x1401298fa
mov qword [rbp - 0x28], 0
lea r12, vtable.FCObjImage.0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], 0
mov dword [rbp - 0x18], esi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
mov rdx, r15
lea rcx, [rbp - 0x30]
call fcn.140127330
xor r9d, r9d
mov r8d, dword [rsp + 0x60]
mov edx, dword [rsp + 0x5c]
lea rcx, [rbp - 0x30]
call fcn.140129c00
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rax, vtable.FCEffectFlip.0
mov qword [rsp + 0x78], rax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x78]
call qword [method.FCImageEffect.virtual_8]
test al, al
je 0x1401297fe
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x78]
mov rax, qword [rsp + 0x78]
call qword [rax + SafeArrayCopy]
lea rcx, [rsp + 0x78]
mov rax, qword [rsp + 0x78]
call qword [rax + InitCommonControls]
test eax, eax
je 0x1401297ea
cmp eax, 1
jne 0x1401297fe
mov eax, dword [rbp - 0x18]
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd r13, eax
mov r14d, esi
mov r8d, dword [rbp - 0x1c]
test r8d, r8d
jle 0x1401297fe
mov r12, rsi
mov edx, dword [rbp - 0x20]
mov rcx, qword [rbp - 8]
mov rdi, qword [rcx + r12]
mov ebx, esi
test edx, edx
jle 0x1401297dc
mov qword [rsp + 0x20], rdi
mov r9d, r14d
mov r8d, ebx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x78]
mov rax, qword [rsp + 0x78]
call qword [rax + 0x20]
add rdi, r13
inc ebx
mov edx, dword [rbp - 0x20]
cmp ebx, edx
jl 0x1401297b0
mov r8d, dword [rbp - 0x1c]
inc r14d
add r12, 8
cmp r14d, r8d
jl 0x1401297a2
jmp 0x1401297fe
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x78]
mov rax, qword [rsp + 0x78]
call qword [rax + 0x28]
lea rax, vtable.FCEffectPremultipleAlpha.0
mov qword [rbp - 0x78], rax
xor r8d, r8d
lea edx, [r8 + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14011fbe0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
mov rax, qword [rbp - 0x78]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1401298da
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
mov rax, qword [rbp - 0x78]
call qword [rax + SafeArrayCopy]
lea rcx, [rbp - 0x78]
mov rax, qword [rbp - 0x78]
call qword [rax + InitCommonControls]
test eax, eax
je 0x1401298c8
cmp eax, 1
jne 0x1401298da
mov eax, dword [rbp - 0x18]
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd r13, eax
mov r14d, esi
mov r8d, dword [rbp - 0x1c]
test r8d, r8d
jle 0x1401298da
mov r12, rsi
mov edx, dword [rbp - 0x20]
nop dword [rax + rax]
mov rcx, qword [rbp - 8]
mov rdi, qword [rcx + r12]
mov ebx, esi
test edx, edx
jle 0x1401298ba
nop
mov qword [rsp + 0x20], rdi
mov r9d, r14d
mov r8d, ebx
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
mov rax, qword [rbp - 0x78]
call qword [rax + 0x20]
add rdi, r13
inc ebx
mov edx, dword [rbp - 0x20]
cmp ebx, edx
jl 0x140129890
mov r8d, dword [rbp - 0x1c]
inc r14d
add r12, 8
cmp r14d, r8d
jl 0x140129880
jmp 0x1401298da
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
mov rax, qword [rbp - 0x78]
call qword [rax + 0x28]
lea rcx, [rbp - 0x30]
call fcn.140120570
mov r15, rax
lea rax, vtable.FCImageEffect.0
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x30]
call fcn.14011f100
lea rdx, [0x1403d8608]
mov ecx, 0xa8
call fcn.140172710
mov rbx, rax
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140129927
lea rcx, [rax + 0x18]
call fcn.1400ec9e0
jmp 0x14012992a
mov rbx, rsi
mov qword [rbx], r15
mov eax, dword [rsp + 0x5c]
mov dword [rbx + 8], eax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0xc], eax
movzx eax, byte [rsp + 0x50]
mov byte [rbx + 0x10], al
jmp 0x140129399
call fcn.14028c66c
int3