Function at 0x140001800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x170]
cmp qword [rax + 0x10], 0
je 0x140001849
mov rcx, qword [rsp + 0x170]
call fcn.140001e40
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x178]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x170]
mov ecx, dword [rsp + 0x188]
mov dword [rax], ecx
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x180]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x170]
movzx eax, word [rax]
mov r8d, 5
mov edx, eax
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x80]
call fcn.1400014a0
cmp dword [rsp + 0xc0], 0
jl 0x14000190b
cmp dword [rsp + 0xc0], 0x7fff
jle 0x14000192e
mov eax, dword [rsp + 0xc0]
neg eax
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0xc0]
and eax, 0xffff
mov dword [rsp + 0xc0], eax
cvtsi2sd xmm0, dword [rsp + 0xc0]
mulsd xmm0, qword [rsp + 0x190]
divsd xmm0, qword [0x1400113f0]
addsd xmm0, qword [0x1400113d8]
cvttsd2si eax, xmm0
neg eax
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov ecx, dword [rsp + 0xcc]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0xc8]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, eax
call qword [sym.imp.GDI32.dll_CreateFontW]
mov rcx, qword [rsp + 0x170]
mov qword [rcx + 0x18], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x170]
mov qword [rcx + 0x20], rax
mov r9d, 1
mov rax, qword [rsp + 0x170]
mov r8, qword [rax + 0x18]
mov edx, 0x30
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rsp + 0x100]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_BeginPaint]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x170]
add rax, 0x18
lea r8, [rsp + 0xd8]
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.1400013c0
lea rdx, [rsp + 0x100]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_EndPaint]
cvtsi2sd xmm0, dword [rsp + 0xd8]
movsd qword [rsp + 0xa8], xmm0
movsd xmm0, qword [0x1400113e0]
movsd qword [rsp + 0xb0], xmm0
cvtsi2sd xmm0, dword [rsp + 0xdc]
movsd qword [rsp + 0x98], xmm0
movsd xmm0, qword [0x1400113e8]
movsd qword [rsp + 0xa0], xmm0
lea rdx, [rsp + 0xf0]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rax, qword [rsp + 0x80]
movsx eax, word [rax + 0x16]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [rsp + 0xa8]
divsd xmm0, qword [rsp + 0xb0]
addsd xmm0, qword [0x1400113d8]
cvttsd2si eax, xmm0
mov ecx, dword [rsp + 0xf0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0x80]
movsx eax, word [rax + 0x18]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [rsp + 0x98]
divsd xmm0, qword [rsp + 0xa0]
addsd xmm0, qword [0x1400113d8]
cvttsd2si eax, xmm0
mov ecx, dword [rsp + 0xf4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xfc], eax
lea rdx, [rsp + 0xf0]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_ClientToScreen]
lea rax, [rsp + 0xf8]
mov rdx, rax
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rax, qword [rsp + 0x80]
mov r9d, dword [rax + 8]
mov r8d, dword [rsp + 0xc4]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [rsp + 0xf4]
mov ecx, dword [rsp + 0xfc]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xf0]
mov edx, dword [rsp + 0xf8]
sub edx, ecx
mov ecx, edx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, dword [rsp + 0xf4]
mov edx, dword [rsp + 0xf0]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rsp + 0x80]
call fcn.140001150
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x70], 0
jmp 0x140001c40
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x80]
call fcn.140001110
movzx eax, word [rax]
cmp dword [rsp + 0x70], eax
jge 0x140001e02
cmp dword [rsp + 0x70], 0
jne 0x140001c7f
mov edx, 5
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x78], rax
jmp 0x140001c94
mov edx, 2
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x140001ccb
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov rcx, qword [rsp + 0x88]
cmp eax, dword [rcx + 0x14]
je 0x140001ccb
mov edx, 2
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x78], rax
jmp 0x140001c94
cmp qword [rsp + 0x78], 0
jne 0x140001cd8
jmp 0x140001e02
mov rax, qword [rsp + 0x88]
movsx eax, word [rax + 0x12]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [rsp + 0x98]
divsd xmm0, qword [rsp + 0xa0]
addsd xmm0, qword [0x1400113d8]
cvttsd2si eax, xmm0
mov rcx, qword [rsp + 0x88]
movsx ecx, word [rcx + 0x10]
cvtsi2sd xmm0, ecx
mulsd xmm0, qword [rsp + 0xa8]
divsd xmm0, qword [rsp + 0xb0]
addsd xmm0, qword [0x1400113d8]
cvttsd2si ecx, xmm0
mov rdx, qword [rsp + 0x88]
movsx edx, word [rdx + 0xe]
cvtsi2sd xmm0, edx
mulsd xmm0, qword [rsp + 0x98]
divsd xmm0, qword [rsp + 0xa0]
addsd xmm0, qword [0x1400113d8]
cvttsd2si edx, xmm0
mov r8, qword [rsp + 0x88]
movsx r8d, word [r8 + 0xc]
cvtsi2sd xmm0, r8d
mulsd xmm0, qword [rsp + 0xa8]
divsd xmm0, qword [rsp + 0xb0]
addsd xmm0, qword [0x1400113d8]
cvttsd2si r8d, xmm0
mov dword [rsp + 0x90], r8d
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, edx
mov eax, dword [rsp + 0x90]
mov edx, eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_MoveWindow]
mov r9d, 1
mov rax, qword [rsp + 0x170]
mov r8, qword [rax + 0x18]
mov edx, 0x30
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1400012b0
mov qword [rsp + 0x88], rax
jmp 0x140001c36
mov rcx, qword [rsp + 0xb8]
call fcn.140002020
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000ac90
add rsp, 0x168
ret