joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41092cd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp dword [rcx + 0x58], 0
movzx esi, r8w
mov rbx, rcx
jne 0x41092d0e
mov rcx, qword [rcx + 0x160]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
jne 0x41092d0e
mov dx, 0x5d
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.410848f0
mov rcx, qword [rbx + 0x270]
mov edx, 0x20
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x41092db0
cmp qword [rbx + 0x28], 8
jb 0x41092d34
mov rcx, qword [rbx + 0x10]
jmp 0x41092d38
lea rcx, [rbx + 0x10]
call fcn.41051270
test eax, eax
je 0x41092da2
cmp dword [rbx + 0x208], 0
je 0x41092d65
cmp dword [rbx + 0xf8], 0
jne 0x41092cf8
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.41082ca0
mov dx, 0x5d
mov rcx, rbx
mov dword [rbx + 0xf0], 1
call fcn.4107e910
cmp dword [rbx + 0x258], 0
je 0x41092f54
mov rcx, rbx
call fcn.410819f0
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.4107cf40
cmp dword [rbx + 0xf8], 0
je 0x41092d53
jmp 0x41092cf8
mov rcx, qword [rbx + 0x270]
mov edx, 0x24
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x41092ee8
cmp qword [rbx + 0x28], 8
jb 0x41092dd6
mov rcx, qword [rbx + 0x10]
jmp 0x41092dda
lea rcx, [rbx + 0x10]
call fcn.41051270
test eax, eax
je 0x41092e5b
cmp dword [rbx + 0x208], 0
mov dword [rbx + 0xf0], 1
jne 0x41092e21
mov dx, 0x5d
mov rcx, rbx
call fcn.4107e910
cmp dword [rbx + 0x258], 0
jne 0x41092d88
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.4108a880
mov rcx, qword [rbx + 0x160]
mov rax, qword [rcx]
call qword [rax + 0x60]
test eax, eax
jle 0x41092f48
add eax, 0x30
cmp eax, 0x5d
jl 0x41092f48
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x2d]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.4108dfd0
cmp dword [rbx + 0xf8], 0
jne 0x41092cf8
cmp dword [rbx + 0x254], 3
jl 0x41092ed4
mov qword [rsp + 0x30], rdi
xor edi, edi
mov rcx, rbx
mov dword [rbx + 0x254], edi
call fcn.4108f640
cmp si, 0xbe
jne 0x41092ead
cmp dword [rbx + 0xe4], edi
sete dil
mov dword [rbx + 0xe4], edi
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
cmp si, 0xbc
jne 0x41092e97
cmp dword [rbx + 0xe8], edi
sete dil
mov dword [rbx + 0xe8], edi
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
xor edx, edx
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.4108cd00
cmp qword [rbx + 0x28], 8
jb 0x41092ef5
mov rcx, qword [rbx + 0x10]
jmp 0x41092ef9
lea rcx, [rbx + 0x10]
call fcn.41051270
test eax, eax
je 0x41092cf8
cmp dword [rbx + 0x208], 0
mov dword [rbx + 0xf0], 1
jne 0x41092e21
mov dx, 0x5d
mov rcx, rbx
call fcn.4107e910
cmp dword [rbx + 0x258], 0
jne 0x41092d88
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.4108a880
mov dx, 0x5d
mov rcx, rbx
call fcn.4107e910
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.4108a880
Function at 0x41097fe0
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x413609a8]
test rax, rax
jne 0x41098020
mov ecx, 0x1a8
call fcn.41211580
mov qword [rsp + 0x48], rax
test rax, rax
je 0x41098017
mov rcx, rax
call fcn.4109bc80
jmp 0x41098019
xor eax, eax
mov qword [0x413609a8], rax
mov rcx, rax
add rsp, 0x38
jmp 0x41099de0
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, 0x9f
mov rcx, rbx
call fcn.41098360
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x70], 0
mov edi, eax
call fcn.412121c0
xor eax, eax
lea rdx, [0x412cafe4]
lea rcx, [rsp + 0x58]
mov r8d, edi
mov word [rsp + 0x58], 0
mov qword [rsp + 0x5a], rax
mov qword [rsp + 0x62], rax
mov word [rsp + 0x6a], ax
mov word [rsp + 0x40], ax
mov qword [rsp + 0x42], rax
mov qword [rsp + 0x4a], rax
mov word [rsp + 0x52], ax
call fcn.412122b0
movzx r11d, word [rsp + 0x36]
movzx r9d, word [rsp + 0x32]
movzx r8d, word [rsp + 0x30]
lea rdx, str._.4d_.2d_.2d
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x20], r11d
call fcn.412122b0
cmp qword [rbx + 0x1a0], 8
jb 0x41099eb0
mov r9, qword [rbx + 0x188]
jmp 0x41099eb7
lea r9, [rbx + 0x188]
lea rdx, str.LastUseDay
lea rcx, str.Setting
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [rsp + 0x32]
movzx edx, word [rsp + 0x30]
imul edx, edx, 0x64
add edx, ecx
movzx ecx, word [rsp + 0x36]
imul edx, edx, 0x64
add edx, ecx
cmp eax, edx
je 0x41099fb5
test edi, edi
jle 0x41099fb5
cmp qword [rbx + 0x1a0], 8
jb 0x41099f0a
mov r9, qword [rbx + 0x188]
jmp 0x41099f11
lea r9, [rbx + 0x188]
lea r8, [rsp + 0x40]
lea rdx, str.LastUseDay
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea r8, [rsp + 0x58]
lea rdx, str.UseDayTotal_s
lea rcx, [rsp + 0x70]
call fcn.412122b0
cmp qword [rbx + 0x1a0], 8
jb 0x41099f53
mov r9, qword [rbx + 0x188]
jmp 0x41099f5a
lea r9, [rbx + 0x188]
lea rdx, [rsp + 0x70]
lea rcx, str.Setting
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, [0x412cafe4]
lea rcx, [rsp + 0x40]
lea r8d, [rax + 1]
call fcn.412122b0
cmp qword [rbx + 0x1a0], 8
jb 0x41099f97
mov r9, qword [rbx + 0x188]
jmp 0x41099f9e
lea r9, [rbx + 0x188]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x290
pop rdi
ret
Function at 0x410980b0
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x178], 8
mov rbx, rcx
jb 0x410980cc
mov r9, qword [rcx + 0x160]
jmp 0x410980d3
lea r9, [rcx + 0x160]
lea r8, [0x4129af84]
lea rdx, str.ModifySetConfig
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x178], 8
jb 0x41098101
mov r9, qword [rbx + 0x160]
jmp 0x41098108
lea r9, [rbx + 0x160]
lea r8, [0x4129af84]
lea rdx, str.ModifySetConfig64
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x178], 8
jb 0x41098136
mov r9, qword [rbx + 0x160]
jmp 0x4109813d
lea r9, [rbx + 0x160]
lea r8, [0x4129af84]
lea rdx, str.TempModifySetConfig
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x178], 8
jb 0x4109816b
mov r9, qword [rbx + 0x160]
jmp 0x41098172
lea r9, [rbx + 0x160]
lea r8, [0x4129af84]
lea rdx, str.TempModifySetConfig64
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x150], 8
jb 0x410981a0
mov rdx, qword [rbx + 0x138]
jmp 0x410981a7
lea rdx, [rbx + 0x138]
cmp qword [rbx + 0x128], 8
jb 0x410981c7
mov rcx, qword [rbx + 0x110]
xor r8d, r8d
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rbx + 0x110]
xor r8d, r8d
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_CopyFileW]
Function at 0x41099de0
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x413609a8]
test rax, rax
jne 0x41098020
mov ecx, 0x1a8
call fcn.41211580
mov qword [rsp + 0x48], rax
test rax, rax
je 0x41098017
mov rcx, rax
call fcn.4109bc80
jmp 0x41098019
xor eax, eax
mov qword [0x413609a8], rax
mov rcx, rax
add rsp, 0x38
jmp 0x41099de0
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, 0x9f
mov rcx, rbx
call fcn.41098360
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x70], 0
mov edi, eax
call fcn.412121c0
xor eax, eax
lea rdx, [0x412cafe4]
lea rcx, [rsp + 0x58]
mov r8d, edi
mov word [rsp + 0x58], 0
mov qword [rsp + 0x5a], rax
mov qword [rsp + 0x62], rax
mov word [rsp + 0x6a], ax
mov word [rsp + 0x40], ax
mov qword [rsp + 0x42], rax
mov qword [rsp + 0x4a], rax
mov word [rsp + 0x52], ax
call fcn.412122b0
movzx r11d, word [rsp + 0x36]
movzx r9d, word [rsp + 0x32]
movzx r8d, word [rsp + 0x30]
lea rdx, str._.4d_.2d_.2d
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x20], r11d
call fcn.412122b0
cmp qword [rbx + 0x1a0], 8
jb 0x41099eb0
mov r9, qword [rbx + 0x188]
jmp 0x41099eb7
lea r9, [rbx + 0x188]
lea rdx, str.LastUseDay
lea rcx, str.Setting
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [rsp + 0x32]
movzx edx, word [rsp + 0x30]
imul edx, edx, 0x64
add edx, ecx
movzx ecx, word [rsp + 0x36]
imul edx, edx, 0x64
add edx, ecx
cmp eax, edx
je 0x41099fb5
test edi, edi
jle 0x41099fb5
cmp qword [rbx + 0x1a0], 8
jb 0x41099f0a
mov r9, qword [rbx + 0x188]
jmp 0x41099f11
lea r9, [rbx + 0x188]
lea r8, [rsp + 0x40]
lea rdx, str.LastUseDay
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea r8, [rsp + 0x58]
lea rdx, str.UseDayTotal_s
lea rcx, [rsp + 0x70]
call fcn.412122b0
cmp qword [rbx + 0x1a0], 8
jb 0x41099f53
mov r9, qword [rbx + 0x188]
jmp 0x41099f5a
lea r9, [rbx + 0x188]
lea rdx, [rsp + 0x70]
lea rcx, str.Setting
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, [0x412cafe4]
lea rcx, [rsp + 0x40]
lea r8d, [rax + 1]
call fcn.412122b0
cmp qword [rbx + 0x1a0], 8
jb 0x41099f97
mov r9, qword [rbx + 0x188]
jmp 0x41099f9e
lea r9, [rbx + 0x188]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x290
pop rdi
ret
Function at 0x4109a450
Capabilities:
Read .ini file

Disassembly:
push rbx
push rdi
push r13
push r14
sub rsp, 0x468
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov r13, rcx
lea rcx, [rsp + 0x242]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x240], 0
call fcn.412121c0
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], 0
call fcn.412121c0
mov r14, qword [r13 + 0x40]
mov qword [rsp + 0x498], rbp
mov rax, qword [r14 + 8]
mov qword [rsp + 0x4a0], rsi
mov qword [rsp + 0x460], r12
mov rbx, qword [rax]
nop
mov rax, qword [r13 + 0x40]
cmp r14, rax
mov rdi, qword [rax + 8]
je 0x4109a4e2
call fcn.41211d60
cmp rbx, rdi
je 0x4109a69b
cmp rbx, qword [r14 + 8]
jne 0x4109a4f6
call fcn.41211d60
mov r12, qword [rbx + 0x20]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [r12 + 0x18]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
jle 0x4109a634
lea r8, [r12 + 0x18]
lea rdx, str.Is_s
lea rcx, [rsp + 0x240]
call fcn.412122b0
cmp qword [r13 + 0x128], 8
jb 0x4109a543
mov rax, qword [r13 + 0x110]
jmp 0x4109a54a
lea rax, [r13 + 0x110]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x4129a828]
lea rdx, [rsp + 0x240]
lea rcx, str.HotKey
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rsi, [rsp + 0x30]
lea rdi, [0x4129a828]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x4109a59f
lea rcx, [rsp + 0x30]
call fcn.41214380
mov rcx, qword [r12 + 8]
mov byte [rcx], al
lea r8, [r12 + 0x18]
lea rdx, str.Use_s
lea rcx, [rsp + 0x240]
call fcn.412122b0
cmp qword [r13 + 0x128], 8
jb 0x4109a5cb
mov rax, qword [r13 + 0x110]
jmp 0x4109a5d2
lea rax, [r13 + 0x110]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, str.nothing
lea rdx, [rsp + 0x240]
lea rcx, str.HotKey
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rsi, [rsp + 0x30]
lea rdi, str.nothing
mov ecx, 8
repe cmpsw word [rsi], word [rdi]
je 0x4109a634
mov rdx, qword [r12 + 0x10]
lea rcx, [rsp + 0x30]
movzx eax, word [rcx]
add rdx, 2
add rcx, 2
test ax, ax
mov word [rdx - 2], ax
jne 0x4109a620
cmp byte [rbx + 0x29], 0
je 0x4109a644
call fcn.41211d60
jmp 0x4109a4d0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x29], 0
jne 0x4109a671
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x29], 0
jne 0x4109a4d0
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x29], 0
je 0x4109a660
jmp 0x4109a4d0
mov rax, qword [rbx + 8]
cmp byte [rax + 0x29], 0
jne 0x4109a693
nop
nop
cmp rbx, qword [rax + 0x10]
jne 0x4109a693
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x29], 0
je 0x4109a680
mov rbx, rax
jmp 0x4109a4d0
mov r12, qword [rsp + 0x460]
mov rsi, qword [rsp + 0x4a0]
mov rbp, qword [rsp + 0x498]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.41211b80
add rsp, 0x468
pop r14
pop r13
pop rdi
pop rbx
ret
Function at 0x410a9a20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rbx, rcx
mov rdi, rdx
lea r8, [rsp + 0x60]
lea rcx, [0x412a9d10]
xor esi, esi
xor edx, edx
mov qword [rsp + 0x60], rsi
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov rcx, qword [rsp + 0x60]
movss xmm1, dword [0x412aca68]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x90]
lea r9d, [rsi + 2]
xor r8d, r8d
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x20], rax
call sub.gdiplus.dll_GdipCreateFont
lea rdx, [rsp + 0xa0]
mov ecx, 0xfe000000
mov qword [rsp + 0xa0], rsi
call sub.gdiplus.dll_GdipCreateSolidFill
lea rdx, [rsp + 0xa8]
mov ecx, 0xfeffffff
mov qword [rsp + 0xa8], rsi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [rbx + 4]
mov r11d, dword [rbx]
cvtsi2ss xmm0, r11d
cvtsi2ss xmm1, ecx
mov eax, dword [rbx + 8]
lea r8, [rsp + 0x40]
xor edx, edx
sub eax, r11d
mov qword [rsp + 0x40], rsi
movss dword [rsp + 0x50], xmm0
cvtsi2ss xmm0, eax
movss dword [rsp + 0x54], xmm1
mov eax, dword [rbx + 0xc]
sub eax, ecx
xor ecx, ecx
movss dword [rsp + 0x58], xmm0
cvtsi2ss xmm0, eax
movss dword [rsp + 0x5c], xmm0
call sub.gdiplus.dll_GdipCreateStringFormat
mov rcx, qword [rsp + 0x40]
lea edx, [rsi + 1]
mov dword [rsp + 0x48], eax
call sub.gdiplus.dll_GdipSetStringFormatAlign
mov ecx, dword [rsp + 0x48]
test eax, eax
lea edx, [rsi + 1]
cmovne ecx, eax
mov dword [rsp + 0x48], ecx
mov rcx, qword [rsp + 0x40]
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
mov ecx, dword [rsp + 0x48]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
test eax, eax
cmovne ecx, eax
cmp byte [rbx + 0x31], 0
mov dword [rsp + 0x48], ecx
jne 0x410a9b8a
cmp byte [rbx + 0x30], 0
jne 0x410a9b8a
cmp word [rbx + 0x70], 0x14
jne 0x410a9b69
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
cmp al, 1
je 0x410a9b8a
cmp qword [rbx + 0x68], 8
mov rcx, qword [rbx + 0x60]
jb 0x410a9b7f
mov rdx, qword [rbx + 0x50]
mov qword [rsp + 0x30], rsi
jmp 0x410a9ba4
lea rdx, [rbx + 0x50]
mov qword [rsp + 0x30], rsi
jmp 0x410a9ba4
cmp qword [rbx + 0x68], 8
mov rcx, qword [rbx + 0x60]
jb 0x410a9b9b
mov rdx, qword [rbx + 0x50]
jmp 0x410a9b9f
lea rdx, [rbx + 0x50]
mov qword [rsp + 0x30], rbp
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x90]
mov r8d, ecx
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov r9, rbx
mov qword [rsp + 0x20], rax
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x410a9bd5
mov dword [rdi + 8], eax
mov rcx, qword [rsp + 0x40]
call sub.gdiplus.dll_GdipDeleteStringFormat
mov rcx, rbp
call sub.gdiplus.dll_GdipDeleteBrush
mov rcx, rsi
call sub.gdiplus.dll_GdipDeleteBrush
mov rcx, rbx
call sub.gdiplus.dll_GdipDeleteFont
mov rcx, qword [rsp + 0x60]
call sub.gdiplus.dll_GdipDeleteFontFamily
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x410d5dd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, r8
mov rbx, rdx
mov rbp, rcx
mov rdx, rax
mov rcx, rbx
mov r8, r9
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov rdi, rax
je 0x410d5f51
mov rdx, rax
mov rcx, rbx
mov qword [rsp + 0x48], rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, 0x42
mov edx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call fcn.41217500
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rsi, qword [rsp + 0x20]
mov ecx, 0x18
call sub.gdiplus.dll_GdipAlloc
test rax, rax
mov rbx, rax
je 0x410d5f4a
lea rax, [0x412ae830]
lea rdx, [rsp + 0x28]
xor edi, edi
mov rcx, rsi
mov qword [rbx], rax
mov qword [rsp + 0x28], rdi
call sub.gdiplus.dll_GdipCreateBitmapFromStream
lea rdx, [rsp + 0x28]
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x28]
mov dword [rsp + 0x28], edi
mov rcx, rax
mov qword [rbx + 8], rax
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x410d5ed6
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x28]
lea rdx, [rsp + 0x28]
mov dword [rsp + 0x28], edi
mov dword [rbp], eax
mov rcx, qword [rbx + 8]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x410d5ef6
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x28]
mov qword [rbp + 0x10], rbx
lea rdx, [rsp + 0x28]
mov dword [rbp + 4], eax
mov rcx, qword [rbx + 8]
call sub.gdiplus.dll_GdipGetImageRawFormat
test eax, eax
je 0x410d5f16
mov dword [rbx + 0x10], eax
lea rax, [rsp + 0x28]
lea rcx, [0x412c3360]
mov rdx, qword [rax]
cmp rdx, qword [rcx]
jne 0x410d5f34
mov rdx, qword [rax + 8]
cmp rdx, qword [rcx + 8]
je 0x410d5f3b
sbb ecx, ecx
sbb ecx, 0xffffffff
mov edi, ecx
test edi, edi
mov eax, 1
sete cl
mov byte [rbp + 8], cl
jmp 0x410d5f4c
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.41211b80
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x410dfc90
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov rsi, qword [rcx + 0x50]
mov r12, rdx
mov rbp, rcx
cmp qword [rcx + 0x48], rsi
jbe 0x410dfcb7
call fcn.41211d60
mov rbx, qword [rbp + 0x48]
cmp rbx, qword [rbp + 0x50]
jbe 0x410dfcc6
call fcn.41211d60
cmp rbx, rsi
je 0x410dfd06
movzx r9d, byte [rsp + 0x50]
mov rdx, qword [rbp + 0x50]
xor eax, eax
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x50]
mov r8, rbx
mov rcx, rsi
mov byte [rsp + 0x20], al
call fcn.410decf0
mov r8, qword [rbp + 0x50]
lea rcx, [rbp + 0x40]
mov rdx, rax
mov rbx, rax
call fcn.410df360
mov qword [rbp + 0x50], rbx
xor edx, edx
mov rcx, r12
mov dword [rbp + 0xcc], 0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
jmp qword [sym.imp.USER32.dll_ShowWindow]

Function at 0x410dfd30
Capabilities:
Hide graphical window

Disassembly:
push rbp
push r12
push r13
sub rsp, 0x30
mov rbp, rcx
lea rcx, [rsp + 0x58]
mov r12, rdx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov r13, qword [r12]
cmp rax, r13
je 0x410dfe09
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rbp + 0x50]
cmp qword [rbp + 0x48], rsi
mov qword [rsp + 0x68], rdi
jbe 0x410dfd81
call fcn.41211d60
mov rbx, qword [rbp + 0x48]
cmp rbx, qword [rbp + 0x50]
jbe 0x410dfd90
call fcn.41211d60
cmp rbx, rsi
je 0x410dfdd0
movzx r9d, byte [rsp + 0x58]
mov rdx, qword [rbp + 0x50]
xor eax, eax
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x58]
mov r8, rbx
mov rcx, rsi
mov byte [rsp + 0x20], al
call fcn.410decf0
mov r8, qword [rbp + 0x50]
lea rcx, [rbp + 0x40]
mov rdx, rax
mov rbx, rax
call fcn.410df360
mov qword [rbp + 0x50], rbx
xor edx, edx
mov rcx, r13
mov dword [rbp + 0xcc], 0
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [r12]
mov edx, 6
call qword [sym.imp.USER32.dll_KillTimer]
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r13
pop r12
pop rbp
ret
Function at 0x410e0730
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov r12, rdx
mov rbp, rcx
lea rdx, [rsp + 0x30]
mov rcx, r12
mov rbx, r9
call qword [sym.imp.USER32.dll_GetWindowRect]
movsx edi, bx
shr rbx, 0x10
lea rdx, [rsp + 0x78]
movsx ebx, bx
mov rcx, r12
mov dword [rsp + 0x7c], ebx
mov dword [rsp + 0x78], edi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x410e0825
mov dword [rbp + 0x60], 0xffffffff
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, r12
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rsi, qword [rbp + 0x50]
cmp qword [rbp + 0x48], rsi
jbe 0x410e07bc
call fcn.41211d60
mov rbx, qword [rbp + 0x48]
cmp rbx, qword [rbp + 0x50]
jbe 0x410e07cb
call fcn.41211d60
cmp rbx, rsi
je 0x410e080b
movzx r9d, byte [rsp + 0x78]
mov rdx, qword [rbp + 0x50]
xor eax, eax
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x78]
mov r8, rbx
mov rcx, rsi
mov byte [rsp + 0x20], al
call fcn.410decf0
mov r8, qword [rbp + 0x50]
lea rcx, [rbp + 0x40]
mov rdx, rax
mov rbx, rax
call fcn.410df360
mov qword [rbp + 0x50], rbx
xor edx, edx
mov rcx, r12
mov dword [rbp + 0xcc], 0
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x410e08f0
mov dword [rsp + 0x78], edi
lea rdi, [rbp + 0x20]
mov dword [rsp + 0x7c], ebx
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
jbe 0x410e0840
call fcn.41211d60
mov rsi, qword [rdi + 0x10]
cmp qword [rdi + 8], rsi
jbe 0x410e084f
call fcn.41211d60
cmp rdi, rdi
je 0x410e0859
call fcn.41211d60
cmp rbx, rsi
je 0x410e08f0
cmp rbx, qword [rdi + 0x10]
jb 0x410e086d
call fcn.41211d60
cmp dword [rbx + 0x24], 0
jne 0x410e08ca
mov eax, dword [rbx + 4]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x30]
mov dword [rcx], eax
mov eax, dword [rbx + 8]
mov dword [rcx + 4], eax
mov eax, dword [rbx + 0xc]
mov dword [rcx + 8], eax
mov eax, dword [rbx + 0x10]
mov dword [rcx + 0xc], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x410e08ca
xor ecx, ecx
cmp dword [rbx], 5
mov edx, 0x7f00
je 0x410e08b4
mov edx, 0x7f89
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [rbx]
cmp dword [rbp + 0x60], eax
jne 0x410e08de
cmp rbx, qword [rdi + 0x10]
jb 0x410e08d5
call fcn.41211d60
add rbx, 0x78
jmp 0x410e0840
xor edx, edx
mov rcx, r12
mov dword [rbp + 0x60], eax
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret