Function at 0x1400fd720
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 [0x14029e8b8]
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.1400df320
nop
lea r8d, [r12 + 5]
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x2b0]
call fcn.1400e0b60
nop
mov rcx, rax
call fcn.1400592e0
mov rdx, rax
lea rcx, str..ico
call fcn.1401b6550
mov edi, eax
lea rcx, [rbp + 0x3d0]
call fcn.140028e30
xor esi, esi
lea r15d, [r12 + 2]
test edi, edi
jne 0x1400fda17
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.1401afc90
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x920]
call fcn.1401afc90
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x720]
call fcn.1401afc90
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.1401cd5e0
lea rdx, str..ico
lea rcx, [rbp + 0x720]
call fcn.1401b6550
test eax, eax
jne 0x1400fda17
lea rcx, [rbp + 0x220]
call fcn.1400df350
nop
movzx eax, word [rbp + 0x710]
cmp ax, word [0x1401f8430]
jne 0x1400fd8bd
call fcn.1400e34c0
mov rdx, rax
lea rcx, [rbp + 0x220]
call fcn.1400df5f0
mov rdx, rbx
lea rcx, [rbp + 0x220]
call fcn.1400df750
lea rcx, [rbp + 0x220]
call fcn.1400592e0
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 0x1400fda0b
mov ecx, IUnknown_GetWindow
call fcn.1401606ac
mov rbx, rax
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400fd922
lea rcx, [rax + 0x18]
call fcn.1400df350
jmp 0x1400fd925
mov rbx, rsi
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x1400fd9e7
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 0x1400fd9e7
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.140028e30
jmp 0x1400fe3b1
lea rcx, [rbp + 0x220]
call fcn.140028e30
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x54], esi
test r14, r14
jne 0x1400fdce2
call fcn.1400e34c0
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.1400df2f0
nop
call fcn.1400e34e0
mov rcx, rax
call fcn.1400e02a0
test al, al
je 0x1400fdb45
mov rdx, rbx
lea rcx, [rbp + 0x190]
call fcn.1400df750
lea rcx, [rbp + 0x190]
call fcn.1400592e0
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 0x1400fdab1
lea rcx, [rbp + 0x190]
call fcn.140028e30
jmp 0x1400fdd69
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x54], eax
test eax, eax
jne 0x1400fdadf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x190]
call fcn.140028e30
jmp 0x1400fdd69
mov dword [rbp - 0x60], esi
mov ecx, eax
lea rdx, [0x1402b83a0]
call fcn.140160c44
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 0x1400fdaa0
mov rcx, qword [rsp + 0x68]
call fcn.1401606e8
mov qword [rsp + 0x68], rsi
lea rcx, [rbp + 0x190]
call fcn.140028e30
jmp 0x1400fdd69
call fcn.1400e34e0
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.1400df730
call fcn.1400e36b0
test al, al
je 0x1400fdca8
call fcn.1400e34f0
mov rdi, rax
test rax, rax
jne 0x1400fdb84
lea rcx, [rbp + 0x190]
call fcn.140028e30
jmp 0x1400fdd69
movdqa xmm0, xmmword [0x1401f5800]
movdqu xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x170], si
mov r8, r12
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400fdba0
mov rdx, rbx
lea rcx, [rbp + 0x170]
call fcn.14000d810
nop
lea r9, [rbp + 0x4f0]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x170]
mov rcx, rdi
call fcn.1401209a0
test eax, eax
sete r14b
mov rdx, qword [rbp + 0x188]
cmp rdx, 8
jb 0x1400fdc21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fdc1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fe928
call fcn.1401606e8
test r14b, r14b
je 0x1400fdc37
lea rcx, [rbp + 0x190]
call fcn.140028e30
jmp 0x1400fdd69
mov eax, dword [rbp + 0x704]
mov dword [rsp + 0x54], eax
test eax, eax
jne 0x1400fdc56
lea rcx, [rbp + 0x190]
call fcn.140028e30
jmp 0x1400fdd69
mov rcx, rax
lea rdx, [0x1402b83a0]
call fcn.140160c44
mov qword [rsp + 0x68], rax
mov r9d, dword [rsp + 0x54]
mov r8, rax
mov edx, dword [rbp + 0x10]
mov rcx, rdi
call fcn.1401207b0
test eax, eax
jne 0x1400fdaa0
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call fcn.1401606e8
mov qword [rsp + 0x68], rsi
lea rcx, [rbp + 0x190]
call fcn.140028e30
jmp 0x1400fdd69
lea rcx, [rbp + 0x190]
call fcn.1400592e0
mov rcx, rax
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x68]
mov rdx, rbx
call fcn.140125380
test eax, eax
jns 0x1400fdaa0
lea rcx, [rbp + 0x190]
call fcn.140028e30
jmp 0x1400fdd69
call fcn.1400e3490
mov rcx, rax
mov r8, r14
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x1400fdd69
call fcn.1400e3490
mov rcx, rax
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
je 0x1400fdd60
call fcn.1400e3490
mov rcx, rax
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x54], eax
test eax, eax
je 0x1400fdd69
mov ecx, eax
lea rdx, [0x1402b83a0]
call fcn.140160c44
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.1401b00b0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r15d, 1
cmp qword [rsp + 0x68], 0
jne 0x1400fde32
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 0x1400fddc9
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x54], eax
test eax, eax
jne 0x1400fddd9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x68], 0
jne 0x1400fde32
mov rbx, rsi
jmp 0x1400fe3b1
mov dword [rbp - 0x5c], esi
mov ecx, eax
lea rdx, [0x1402b83a0]
call fcn.140160c44
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 0x1400fddc9
mov rcx, qword [rsp + 0x68]
call fcn.1401606e8
mov qword [rsp + 0x68], rsi
mov rbx, rsi
jmp 0x1400fe3b1
mov rdi, rsi
lea rcx, [rbp - 0x58]
call fcn.14018a1f0
nop
mov byte [rsp + 0x58], 1
mov r8d, 4
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x2b0]
call fcn.1400e0b60
nop
mov rcx, rax
call fcn.1400592e0
mov rdx, rax
lea rcx, str..svg
call fcn.1401b6550
mov ebx, eax
lea rcx, [rbp + 0x460]
call fcn.140028e30
test ebx, ebx
jne 0x1400fdff7
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp + 0x60]
call fcn.14018a4f0
nop
mov r14, qword [rbp + 0x60]
test r14, r14
je 0x1400fdfdb
mov rcx, r14
call fcn.14018a4e0
cvttsd2si ebx, xmm0
mov rcx, r13
call fcn.1400e2a80
mov rcx, rax
mov edx, ebx
call fcn.1400e12c0
mov edi, eax
mov rcx, r14
call fcn.14018aa50
cvttsd2si ebx, xmm0
mov rcx, r13
call fcn.1400e2a80
mov rcx, rax
mov edx, ebx
call fcn.1400e12c0
mov r8d, eax
mov dword [rsp + 0x20], esi
mov r9d, edi
lea rdx, [rbp + 0xe0]
mov rcx, r14
call fcn.14018a7c0
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 0x1400fdf54
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400fdf54
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400fdf54
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp + 0xe8]
test rbx, rbx
je 0x1400fdf8b
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400fdf8b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400fdf8b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x58]
call fcn.14018aa40
mov dword [rsp + 0x5c], eax
lea rcx, [rbp - 0x58]
call fcn.14018a4d0
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.14018a340
lea rcx, [rbp - 0x58]
call fcn.14018a4b0
mov rdi, rax
mov byte [rsp + 0x58], 0
mov r14, qword [rbp + 0x60]
test r14, r14
je 0x1400fe023
mov rcx, r14
call fcn.14018a200
mov edx, 8
mov rcx, r14
call fcn.1401606e8
jmp 0x1400fe023
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.140131180
mov rdi, rax
mov rcx, qword [rsp + 0x68]
call fcn.1401606e8
test rdi, rdi
je 0x1400fe376
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 0x1400fe376
mov r11d, esi
mov ecx, dword [rsp + 0x60]
imul ecx, dword [rsp + 0x5c]
test ecx, ecx
jle 0x1400fe1ee
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 0x1400fe173
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 0x1400fe199
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 0x1400fe1c7
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 0x1400fe0f0
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 0x1400fe201
mov rcx, rdi
call fcn.140131170
mov ebx, 0x64
xor r8d, r8d
lea rdx, [0x140218f48]
lea rcx, [rbp + 0x2b0]
call fcn.1400dfb10
cmp eax, 0xffffffff
je 0x1400fe25e
lea r8d, [rax + 3]
mov r9d, r12d
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x2b0]
call fcn.1400e0360
nop
lea rcx, [rbp + 0x340]
call fcn.1400592e0
mov rcx, rax
call fcn.1401b7cc4
mov ebx, eax
lea rcx, [rbp + 0x340]
call fcn.140028e30
mov rcx, r13
call fcn.1400e2a80
mov rcx, rax
call fcn.1400e1040
mov edi, eax
cmp ebx, eax
je 0x1400fe8df
test r14b, r14b
je 0x1400fe8df
mov rcx, r13
call fcn.1400e2a80
mov rcx, rax
call fcn.1400e1040
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.1401cd754
cvttss2si ebx, xmm0
mov dword [rsp + 0x5c], ebx
movaps xmm0, xmm6
call fcn.1401cd754
cvttss2si eax, xmm0
mov dword [rsp + 0x60], eax
cmp edi, 0xc8
jle 0x1400fe6bb
cmp byte [rsp + 0x70], 0
je 0x1400fe6bb
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 0x1400fe376
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
test rax, rax
jne 0x1400fe3f2
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rbx, rsi
mov rdi, qword [rbp - 0x50]
test rdi, rdi
je 0x1400fe3b1
mov rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400fe3b1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400fe3b1
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x2b0]
call fcn.140028e30
mov rax, rbx
mov rcx, qword [rbp + 0xd20]
xor rcx, rsp
call fcn.140160a40
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.1400fc310
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.1400f55d0
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.1400fc310
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 0x1400fe5aa
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x68]
mov rax, qword [rbp - 0x68]
call qword [rax + ILCombine]
lea rcx, [rbp - 0x68]
mov rax, qword [rbp - 0x68]
call qword [rax + ILClone]
test eax, eax
je 0x1400fe598
cmp eax, 1
jne 0x1400fe5aa
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 0x1400fe5aa
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 0x1400fe58a
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 0x1400fe560
mov r8d, dword [rbp + 0x34]
inc r14d
add r12, 8
cmp r14d, r8d
jl 0x1400fe550
jmp 0x1400fe5aa
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.1400f4bc0
lea rax, vtable.FCEffectPremultipleAlpha.0
mov qword [rbp - 0x70], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x70]
call qword [0x140218ec8]
test al, al
je 0x1400fe68a
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + ILCombine]
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + ILClone]
test eax, eax
je 0x1400fe678
cmp eax, 1
jne 0x1400fe68a
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 0x1400fe68a
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 0x1400fe66a
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 0x1400fe640
mov r8d, dword [rbp + 0x34]
inc r14d
add r12, 8
cmp r14d, r8d
jl 0x1400fe630
jmp 0x1400fe68a
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.1400f5550
mov r15, rax
lea rax, vtable.FCImageEffect.0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea rcx, [rbp + 0x20]
call fcn.1400f40e0
nop
lea rcx, [rbp + 0x80]
jmp 0x1400fe8da
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.1400fc310
xor r9d, r9d
mov r8d, dword [rsp + 0x60]
mov edx, dword [rsp + 0x5c]
lea rcx, [rbp - 0x30]
call fcn.1400febe0
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 0x1400fe7de
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x78]
mov rax, qword [rsp + 0x78]
call qword [rax + ILCombine]
lea rcx, [rsp + 0x78]
mov rax, qword [rsp + 0x78]
call qword [rax + ILClone]
test eax, eax
je 0x1400fe7ca
cmp eax, 1
jne 0x1400fe7de
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 0x1400fe7de
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 0x1400fe7bc
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 0x1400fe790
mov r8d, dword [rbp - 0x1c]
inc r14d
add r12, 8
cmp r14d, r8d
jl 0x1400fe782
jmp 0x1400fe7de
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.1400f4bc0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
mov rax, qword [rbp - 0x78]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1400fe8ba
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
mov rax, qword [rbp - 0x78]
call qword [rax + ILCombine]
lea rcx, [rbp - 0x78]
mov rax, qword [rbp - 0x78]
call qword [rax + ILClone]
test eax, eax
je 0x1400fe8a8
cmp eax, 1
jne 0x1400fe8ba
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 0x1400fe8ba
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 0x1400fe89a
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 0x1400fe870
mov r8d, dword [rbp - 0x1c]
inc r14d
add r12, 8
cmp r14d, r8d
jl 0x1400fe860
jmp 0x1400fe8ba
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.1400f5550
mov r15, rax
lea rax, vtable.FCImageEffect.0
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x30]
call fcn.1400f40e0
lea rdx, [0x1402b83a0]
mov ecx, IUnknown_GetWindow
call fcn.140160c1c
mov rbx, rax
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400fe907
lea rcx, [rax + 0x18]
call fcn.1400df350
jmp 0x1400fe90a
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 0x1400fe379
call fcn.1401b3260
int3