joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ef450
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jg 0x1400ef475
xor eax, eax
jmp 0x1400ef63b
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x1400ef49e
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x1400ef63b
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x1400ef53d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140071f60
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140076830
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x1400ef62b
mov rcx, qword [rsp + 0x70]
call fcn.1400db0c0
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x1400ef5de
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x1400ef5dc
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x1400ef63b
jmp 0x1400ef563
cmp qword [rsp + 0x20], 0
jbe 0x1400ef62b
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret
Function at 0x1400ef670
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x1400ef6a9
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400ef797
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1400ef73f
cmp qword [rsp + 0x20], 0
jle 0x1400ef73f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1400ef6e9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140076830
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x1400ef787
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1400ef787
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x1400f90a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rdx, [0x140233ad0]
mov rcx, qword [rsp + 0x90]
call fcn.1400c5e80
movzx eax, al
test eax, eax
je 0x1400f9172
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
call fcn.1400beb90
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400eb520
lea rdx, [0x140233ad8]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400f9162
mov rcx, qword [rsp + 0x98]
call fcn.1400cd310
cdqe
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x98]
call fcn.1400b82a0
mov qword [rsp + 0x40], rax
mov r9, qword [rsp + 0x20]
mov r8, qword [rsp + 0x38]
mov edx, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400f9246
lea rdx, [0x14022896f]
mov rcx, qword [rsp + 0x98]
call fcn.1400c5e80
movzx eax, al
test eax, eax
je 0x1400f91e3
lea rdx, [0x14022897e]
mov rcx, qword [rsp + 0xa0]
call fcn.1400c5e80
movzx eax, al
test eax, eax
je 0x1400f91e3
mov rcx, qword [rsp + 0xa8]
call fcn.1400b82a0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400b82a0
mov qword [rsp + 0x50], rax
mov r9, qword [rsp + 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x1400f9246
mov rcx, qword [rsp + 0xa8]
call fcn.1400b82a0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xa0]
call fcn.1400b82a0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x98]
call fcn.1400b82a0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400b82a0
mov qword [rsp + 0x70], rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
mov rcx, qword [rsp + 0x90]
call fcn.1400c39e0
nop
mov rcx, qword [rsp + 0x98]
call fcn.1400c39e0
nop
mov rcx, qword [rsp + 0xa0]
call fcn.1400c39e0
nop
mov rcx, qword [rsp + 0xa8]
call fcn.1400c39e0
add rsp, 0x88
ret

Function at 0x1400fab50
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140071ff0
nop
lea rcx, [rsp + 0x40]
call fcn.1400fed70
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x40]
call fcn.1400722f0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400fab8c
jmp 0x1400fabeb
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1400faba4
jmp 0x1400fabeb
mov r8, qword [rsp + 0x70]
lea rdx, [0x14022f978]
lea rcx, [0x1404c8558]
call fcn.1400cc890
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [0x1404c8558]
mov rcx, qword [rsp + 0x28]
call fcn.1400beb90
mov qword [rsp + 0x30], rax
mov edx, 0x3b4
mov rcx, qword [rsp + 0x30]
call fcn.14014b1d0
mov al, 1
add rsp, 0x68
ret
Function at 0x1400fb520
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rcx, qword [rsp + 0x80]
call fcn.1400dc640
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.1400e4360
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x30]
lea rdx, [0x14022e918]
mov rcx, qword [rsp + 0x38]
call fcn.1400c6b80
mov qword [rsp + 0x40], rax
mov edx, 0x360
mov rcx, qword [rsp + 0x40]
call fcn.14014b1d0
nop
lea rcx, [rsp + 0x48]
call fcn.1400c39e0
cmp dword [rsp + 0x20], 0
je 0x1400fb5d9
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rdx, [0x14022e950]
mov rcx, qword [rsp + 0x50]
call fcn.1400becb0
mov qword [rsp + 0x58], rax
mov edx, 0x363
mov rcx, qword [rsp + 0x58]
call fcn.14014b1d0
xor al, al
jmp 0x1400fb5db
mov al, 1
add rsp, 0x78
ret

Function at 0x1400fb870
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
cmp eax, 0x804
jne 0x1400fb88f
mov al, 1
jmp 0x1400fb8c1
movzx eax, word [rsp + 0x20]
cmp eax, 0x404
jne 0x1400fb89f
mov al, 1
jmp 0x1400fb8c1
movzx eax, word [rsp + 0x20]
cmp eax, 0xc04
jne 0x1400fb8af
mov al, 1
jmp 0x1400fb8c1
movzx eax, word [rsp + 0x20]
cmp eax, 0x1004
jne 0x1400fb8bf
mov al, 1
jmp 0x1400fb8c1
xor al, al
add rsp, 0x38
ret

Function at 0x1400ff880
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x1400ff938
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.eQ_tc
mov rcx, qword [rsp + 0x28]
call fcn.1400becb0
mov qword [rsp + 0x30], rax
mov edx, 0x63b
mov rcx, qword [rsp + 0x30]
call fcn.14014b1d0
mov dword [rsp + 0x20], 0
jmp 0x1400ff8de
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x64
jge 0x1400ff934
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x1400ff927
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str._tc9_w
mov rcx, qword [rsp + 0x38]
call fcn.1400becb0
mov qword [rsp + 0x40], rax
mov edx, 0x63f
mov rcx, qword [rsp + 0x40]
call fcn.14014b1d0
mov al, 1
jmp 0x1400ff93a
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400ff8d4
mov al, 1
jmp 0x1400ff93a
xor al, al
add rsp, 0x68
ret
Function at 0x140104ba0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140104bfd
lea rax, [rsp + 0x80]
mov qword [rsp + 0x50], rax
lea rdx, [0x14023c040]
mov rcx, qword [rsp + 0x50]
call fcn.1400becb0
mov qword [rsp + 0x58], rax
mov edx, 0x26d
mov rcx, qword [rsp + 0x58]
call fcn.14014b1d0
nop
mov rcx, qword [rsp + 0xb0]
call fcn.1400c39e0
jmp 0x140104d1e
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call fcn.1400beb90
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400eb520
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
inc qword [rsp + 0x28]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
cmp byte [rax + rcx], 0
jne 0x140104c49
mov rax, qword [rsp + 0x28]
inc rax
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140104d0a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x20]
mov byte [rax], cl
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
cmp byte [rsp + 0x20], 0
jne 0x140104cb6
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rsp + 0x38]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov rcx, qword [rsp + 0xb0]
call fcn.1400c39e0
add rsp, 0xa8
ret
Function at 0x140104d30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140104d79
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [0x14023bfb8]
mov rcx, qword [rsp + 0x30]
call fcn.1400becb0
mov qword [rsp + 0x38], rax
mov edx, 0x250
mov rcx, qword [rsp + 0x38]
call fcn.14014b1d0
jmp 0x140104e18
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, qword [rsp + 0x70]
call fcn.14006ec40
lea rax, [rax + rax + 2]
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140104e12
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140104e12
mov rcx, qword [rsp + 0x70]
call fcn.140076810
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call fcn.14006ec40
inc rax
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
add rsp, 0x68
ret
Function at 0x1401084c0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x200f8
call fcn.1401c7190
sub rsp, rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.1400bedb0
nop
mov dword [rsp + 0x68], 0x10000
mov rcx, qword [rsp + 0x20108]
call fcn.1400b82a0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xd0]
call fcn.1400c16c0
nop
mov r8, qword [rsp + 0x70]
mov edx, 0x10000
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jle 0x140108707
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
test eax, eax
je 0x1401085be
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1400becb0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xd0]
call fcn.1400ea980
nop
lea rcx, [rsp + 0x50]
call fcn.1400c39e0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x140108592
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x28], rax
jmp 0x140108546
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400b82a0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x58]
call fcn.14004d020
mov qword [rsp + 0x80], rax
jmp 0x1401085fc
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x40], rax
je 0x140108690
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rdx, [0x1402313bc]
lea rcx, [rsp + 0x60]
call fcn.1400bebf0
nop
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.1400c6a00
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x30]
call fcn.1400c7a30
nop
lea rcx, [rsp + 0xa0]
call fcn.1400c39e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400c39e0
jmp 0x1401085ee
lea rax, [rsp + 0xe8]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xa8]
call fcn.1400beb90
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0xc8]
call fcn.1400f5550
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x30]
call fcn.1400c5710
nop
lea rcx, [rsp + 0xc8]
call fcn.1400c39e0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20100]
call fcn.1400beb90
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xd0]
call fcn.1400c4c20
nop
lea rcx, [rsp + 0x30]
call fcn.1400c39e0
nop
mov rcx, qword [rsp + 0x20108]
call fcn.1400c39e0
mov rax, qword [rsp + 0x20100]
add rsp, 0x200f8
ret
Function at 0x140108760
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x918
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
call fcn.1400bedb0
nop
mov dword [rsp + 0x78], 0x400
mov rcx, qword [rsp + 0x930]
call fcn.1400b82a0
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x928]
call fcn.1400b82a0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0xe8]
call fcn.1400c16c0
nop
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x110]
lea r8, [0x14022886b]
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jle 0x1401089e0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
test eax, eax
je 0x140108897
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1400becb0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xe8]
call fcn.1400ea980
nop
lea rcx, [rsp + 0x60]
call fcn.1400c39e0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x140108868
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x38], rax
jmp 0x140108819
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400b82a0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x68]
call fcn.14004d020
mov qword [rsp + 0x98], rax
jmp 0x1401088d5
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x50], rax
je 0x140108969
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
lea rdx, [0x1402314e0]
lea rcx, [rsp + 0x70]
call fcn.1400bebf0
nop
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xb8]
call fcn.1400c6a00
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call fcn.1400c7a30
nop
lea rcx, [rsp + 0xb8]
call fcn.1400c39e0
nop
lea rcx, [rsp + 0x70]
call fcn.1400c39e0
jmp 0x1401088c7
lea rax, [rsp + 0x100]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
call fcn.1400beb90
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0xe0]
call fcn.1400f5550
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x40]
call fcn.1400c5710
nop
lea rcx, [rsp + 0xe0]
call fcn.1400c39e0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x920]
call fcn.1400beb90
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xe8]
call fcn.1400c4c20
nop
lea rcx, [rsp + 0x40]
call fcn.1400c39e0
nop
mov rcx, qword [rsp + 0x928]
call fcn.1400c39e0
nop
mov rcx, qword [rsp + 0x930]
call fcn.1400c39e0
mov rax, qword [rsp + 0x920]
add rsp, 0x918
ret
Function at 0x140114220
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.140076810
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, [0x14022fd68]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x40]
call fcn.1400c4860
add rsp, 0x38
ret

Function at 0x140118a80
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rcx, [rsp + 0x40]
call fcn.1400c3730
nop
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call fcn.1400c5a70
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x60]
call fcn.1400c5a70
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x80]
call fcn.1400c5a70
mov qword [0x140271370], 0
lea rdx, [0x14022917a]
lea rcx, [0x1404c8830]
call fcn.1400c5740
lea rdx, [rsp + 0x40]
lea rcx, [0x140121f90]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x140118b47
cmp qword [0x140271370], 0
jne 0x140118b47
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [0x140240038]
mov rcx, qword [rsp + 0x20]
call fcn.1400becb0
mov qword [rsp + 0x28], rax
mov edx, 0x146b
mov rcx, qword [rsp + 0x28]
call fcn.14014b1d0
mov rax, qword [0x140271370]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.1400c54d0
nop
mov rcx, qword [rsp + 0xb0]
call fcn.1400c4860
nop
mov rcx, qword [rsp + 0xb8]
call fcn.1400c4860
nop
mov rcx, qword [rsp + 0xc0]
call fcn.1400c4860
mov rax, qword [rsp + 0x30]
add rsp, 0xa8
ret

Function at 0x140118ba0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [0x140271370], 0
lea rdx, [0x14022917b]
lea rcx, [0x1404c8830]
call fcn.1400c5740
lea rdx, [0x14024005c]
mov rcx, qword [rsp + 0x60]
call fcn.1400b2dc0
movzx eax, al
test eax, eax
je 0x140118be7
mov dword [rsp + 0x20], 0
lea rdx, [0x140240064]
mov rcx, qword [rsp + 0x60]
call fcn.1400b2dc0
movzx eax, al
test eax, eax
je 0x140118c07
mov dword [rsp + 0x20], 1
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1400cbc70]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x140118c59
cmp qword [0x140271370], 0
jne 0x140118c59
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [0x140240070]
mov rcx, qword [rsp + 0x28]
call fcn.1400becb0
mov qword [rsp + 0x30], rax
mov edx, 0x1476
mov rcx, qword [rsp + 0x30]
call fcn.14014b1d0
mov rax, qword [0x140271370]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400722f0
mov rax, qword [rsp + 0x38]
add rsp, 0x58
ret
Function at 0x14011c810
Capabilities:
Create thread

Disassembly:
sub rsp, 0x78
mov dword [rsp + 0x30], 0
jmp 0x14011c828
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x14
jge 0x14011c8b3
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x140272120]
cmp qword [rcx + rax*8], 0
jne 0x14011c8ae
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.1400e4360
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x40]
lea rdx, [0x14022dec8]
mov rcx, qword [rsp + 0x48]
call fcn.1400c6b80
mov qword [rsp + 0x50], rax
mov edx, 0x1834
mov rcx, qword [rsp + 0x50]
call fcn.14014b1d0
nop
lea rcx, [rsp + 0x58]
call fcn.1400c39e0
mov eax, dword [rsp + 0x30]
mov dword [0x1402712d8], eax
jmp 0x14011c8b3
jmp 0x14011c81e
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400e4f60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x60], rax
movsxd rax, dword [0x1402712d8]
lea rcx, [0x140271380]
mov rdx, qword [rsp + 0x60]
mov qword [rcx + rax*8], rdx
add rsp, 0x78
ret