joyce8/EMBER2024-capa huggingface dataset:
Function at 0x110130d08
Capabilities:
Get geographical location

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x110190928]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, qword [rsp + 0x130]
mov ebp, r9d
mov qword [rsp + 0x30], rcx
mov r14d, r8d
mov r12, rcx
cmp edx, 1
jne 0x110130e6c
xor r15d, r15d
lea r9, [rsp + 0x40]
and dword [rsp + 0x28], r15d
lea rsi, [rsp + 0x40]
mov r8d, ebp
mov dword [rsp + 0x20], 0x80
mov edx, r14d
call fcn.11013445c
mov r13d, eax
test eax, eax
jne 0x110130de4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x7a
jne 0x110130e0c
and dword [rsp + 0x28], r15d
xor r9d, r9d
and dword [rsp + 0x20], r15d
mov r8d, ebp
mov edx, r14d
mov rcx, r12
call fcn.11013445c
movsxd r12, eax
test eax, eax
je 0x110130e0c
lea r15d, [r13 + 1]
mov rcx, r12
mov edx, r15d
call fcn.110119e8c
mov rsi, rax
test rax, rax
je 0x110130e0c
and dword [rsp + 0x28], r13d
mov r9, rax
mov rcx, qword [rsp + 0x30]
mov r8d, ebp
mov edx, r14d
mov dword [rsp + 0x20], r12d
call fcn.11013445c
mov r13d, eax
test eax, eax
je 0x110130e04
movsxd rbp, r13d
mov edx, 1
mov rcx, rbp
call fcn.110119e8c
mov qword [rdi], rax
mov rcx, rax
test rax, rax
jne 0x110130e32
test r15d, r15d
je 0x110130e0c
mov rcx, rsi
call sym.msvcrt.dll_free
or eax, 0xffffffff
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1101303f0
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea eax, [r13 - 1]
mov r8, rsi
movsxd r9, eax
mov rdx, rbp
call sym.msvcrt.dll_strncpy_s
test eax, eax
je 0x110130e5d
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.11012bbfc
test r15d, r15d
je 0x110130ebb
mov rcx, rsi
call sym.msvcrt.dll_free
jmp 0x110130ebb
mov r15d, 2
cmp edx, r15d
jne 0x110130ed3
and qword [rdi], 0
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
movsxd rsi, eax
test eax, eax
je 0x110130ec2
mov rcx, rsi
mov edx, r15d
call fcn.110119e8c
mov qword [rdi], rax
test rax, rax
je 0x110130ec2
mov r9d, esi
mov r8, rax
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x110130ec2
xor eax, eax
jmp 0x110130e0f
mov rcx, qword [rdi]
call sym.msvcrt.dll_free
and qword [rdi], 0
jmp 0x110130e0c
test edx, edx
jne 0x110130e0c
and dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
bts ebp, 0x1d
mov r9d, r15d
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x110130e0c
mov al, byte [rsp + 0x30]
mov byte [rdi], al
jmp 0x110130ebb
Function at 0x11013318c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x110190928]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov ebx, ecx
mov r9d, 0x78
and ecx, 0x3ff
mov rsi, r8
mov edi, edx
lea r8, [rsp + 0x20]
bts ecx, 0xa
lea edx, [r9 - 0x77]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoA]
test eax, eax
je 0x11013322c
lea rcx, [rsp + 0x20]
call fcn.110133080
cmp ebx, eax
je 0x110133225
test edi, edi
je 0x110133225
mov r9, qword [rsi]
xor r8d, r8d
mov dl, byte [r9]
lea rcx, [r9 + 1]
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x110133208
sub dl, 0x61
cmp dl, 0x19
ja 0x110133212
mov dl, byte [rcx]
inc r8d
inc rcx
jmp 0x1101331f9
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [r9 + rcx], 0
jne 0x110133216
cmp r8d, ecx
je 0x11013322c
mov eax, 1
jmp 0x11013322e
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1101303f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x110133588
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x110190928]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r12, rdx
mov r15, rcx
call fcn.11013a830
xor esi, esi
mov rbx, rax
cmp qword [0x110194c70], rsi
jne 0x11013369b
xor r8d, r8d
lea rcx, str.USER32.DLL
xor edx, edx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x110133786
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test rax, rax
je 0x110133786
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov qword [0x110194c70], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov qword [0x110194c78], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov qword [0x110194c80], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
mov qword [0x110194c90], rax
mov rcx, rax
test rax, rax
je 0x110133692
lea rdx, str.GetProcessWindowStation
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
mov qword [0x110194c88], rax
jmp 0x1101336a2
mov rax, qword [0x110194c88]
jmp 0x1101336a9
mov rax, qword [0x110194c88]
mov rcx, qword [0x110194c90]
cmp rax, rbx
je 0x11013371b
cmp rcx, rbx
je 0x11013371b
mov rcx, rax
call fcn.11013a810
mov rcx, qword [0x110194c90]
mov rdi, rax
call fcn.11013a810
mov r14, rax
test rdi, rdi
je 0x11013371b
test rax, rax
je 0x11013371b
mov rax, rdi
call qword [0x110177470]
test rax, rax
je 0x110133715
mov r9d, 0xc
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x38]
mov rcx, rax
mov rax, r14
lea edx, [r9 - 0xb]
call qword [0x110177470]
test eax, eax
je 0x110133715
test byte [rsp + 0x40], 1
jne 0x11013371b
bts ebp, 0x15
jmp 0x110133761
mov rcx, qword [0x110194c78]
cmp rcx, rbx
je 0x110133761
call fcn.11013a810
test rax, rax
je 0x110133761
call qword [0x110177470]
mov rsi, rax
test rax, rax
je 0x110133761
mov rcx, qword [0x110194c80]
cmp rcx, rbx
je 0x110133761
call fcn.11013a810
test rax, rax
je 0x110133761
mov rcx, rsi
call qword [0x110177470]
mov rsi, rax
mov rcx, qword [0x110194c70]
call fcn.11013a810
test rax, rax
je 0x110133786
mov r9d, ebp
mov r8, r12
mov rdx, r15
mov rcx, rsi
call qword [0x110177470]
jmp 0x110133788
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1101303f0
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x110133fd4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x110190928]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r12, rdx
mov r15, rcx
call fcn.11013a830
xor esi, esi
mov rbx, rax
cmp qword [0x110194c98], rsi
jne 0x1101340e7
xor r8d, r8d
lea rcx, str.USER32.DLL
xor edx, edx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1101341d2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test rax, rax
je 0x1101341d2
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov qword [0x110194c98], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov qword [0x110194ca0], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
lea rdx, str.GetUserObjectInformationW
mov qword [0x110194ca8], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
mov qword [0x110194cb8], rax
mov rcx, rax
test rax, rax
je 0x1101340de
lea rdx, str.GetProcessWindowStation
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, rax
call sub.api_ms_win_core_util_l1_1_0.dll_EncodePointer
mov qword [0x110194cb0], rax
jmp 0x1101340ee
mov rax, qword [0x110194cb0]
jmp 0x1101340f5
mov rax, qword [0x110194cb0]
mov rcx, qword [0x110194cb8]
cmp rax, rbx
je 0x110134167
cmp rcx, rbx
je 0x110134167
mov rcx, rax
call fcn.11013a810
mov rcx, qword [0x110194cb8]
mov rdi, rax
call fcn.11013a810
mov r14, rax
test rdi, rdi
je 0x110134167
test rax, rax
je 0x110134167
mov rax, rdi
call qword [0x110177470]
test rax, rax
je 0x110134161
mov r9d, 0xc
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x38]
mov rcx, rax
mov rax, r14
lea edx, [r9 - 0xb]
call qword [0x110177470]
test eax, eax
je 0x110134161
test byte [rsp + 0x40], 1
jne 0x110134167
bts ebp, 0x15
jmp 0x1101341ad
mov rcx, qword [0x110194ca0]
cmp rcx, rbx
je 0x1101341ad
call fcn.11013a810
test rax, rax
je 0x1101341ad
call qword [0x110177470]
mov rsi, rax
test rax, rax
je 0x1101341ad
mov rcx, qword [0x110194ca8]
cmp rcx, rbx
je 0x1101341ad
call fcn.11013a810
test rax, rax
je 0x1101341ad
mov rcx, rsi
call qword [0x110177470]
mov rsi, rax
mov rcx, qword [0x110194c98]
call fcn.11013a810
test rax, rax
je 0x1101341d2
mov r9d, ebp
mov r8, r12
mov rdx, r15
mov rcx, rsi
call qword [0x110177470]
jmp 0x1101341d4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1101303f0
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1101342e8
Capabilities:
Get geographical location

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x110190928]
xor rax, rbp
mov qword [rbp], rax
mov r14d, dword [rbp + 0x68]
xor ebx, ebx
mov r13, r9
mov r15d, r8d
mov r12d, edx
test r14d, r14d
jne 0x110134330
mov rax, qword [rcx]
mov r14d, dword [rax + 4]
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov ecx, r12d
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
movsxd rsi, eax
test eax, eax
je 0x11013442e
jle 0x1101343c2
xor edx, edx
lea rax, [rdx - 0x20]
div rsi
cmp rax, 2
jb 0x1101343c2
lea rax, [rsi + rsi]
lea rcx, [rax + 0x10]
cmp rcx, rax
jbe 0x1101343c2
cmp rcx, 0x400
ja 0x1101343ad
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x110134387
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.110172f20
sub rsp, rax
lea rdi, [rsp + 0x40]
test rdi, rdi
je 0x11013442e
mov dword [rdi], 0xcccc
add rdi, 0x10
jmp 0x1101343c5
call sym.msvcrt.dll_malloc
mov rdi, rax
test rax, rax
je 0x1101343c5
mov dword [rax], 0xdddd
jmp 0x1101343a7
mov rdi, rbx
test rdi, rdi
je 0x11013442e
mov r9d, esi
mov r8, rdi
mov edx, r15d
mov ecx, r12d
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x110134419
mov eax, dword [rbp + 0x60]
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov r8, rdi
mov ecx, r14d
test eax, eax
jne 0x110134408
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
jmp 0x110134411
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
mov ebx, eax
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x11013442a
call sym.msvcrt.dll_free
mov eax, ebx
jmp 0x110134430
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1101303f0
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x11013a5e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x11013a645
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x11013a645
mov eax, 0x10b
cmp word [rcx + 0x18], ax
je 0x11013a635
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x11013a645
cmp dword [rcx + 0x84], 0xe
jbe 0x11013a645
xor eax, eax
cmp dword [rcx + 0xf8], eax
setne al
jmp 0x11013a647
cmp dword [rcx + 0x74], 0xe
jbe 0x11013a645
xor eax, eax
cmp dword [rcx + 0xe8], eax
jmp 0x11013a630
xor eax, eax
add rsp, 0x28
ret
Function at 0x11013ac20
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov r14d, edx
mov rbp, r8
mov rsi, rcx
test rcx, rcx
jne 0x11013ac66
call sym.msvcrt.dll__errno
and qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], 0x16
call sym.msvcrt.dll__invalid_parameter
jmp 0x11013acf2
call sym.msvcrt.dll__CrtDbgReport
mov edx, 0x2d8
mov ecx, 1
call fcn.110119e8c
mov rdi, rax
test rax, rax
je 0x11013acdf
call fcn.11013a9e0
mov rcx, rdi
mov rdx, qword [rax + 0xc0]
call fcn.11013aa90
lea rax, [rsp + 0x50]
mov qword [rdi + 0x90], rsi
mov qword [rsp + 0x28], rax
lea r8, [0x11013ada0]
mov rdx, r14
mov dword [rsp + 0x20], 4
mov r9, rdi
mov qword [rdi + 0x98], rbp
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 8], rax
mov rbx, rax
test rax, rax
jne 0x11013ad09
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call sym.msvcrt.dll_free
test ebx, ebx
je 0x11013acf2
mov ecx, ebx
call fcn.110107d08
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x11013acd7
mov rax, rbx
jmp 0x11013acf6

Function at 0x11013ae30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r14d, edx
mov rbp, r9
mov rsi, r8
mov r15, rcx
test r8, r8
jne 0x11013ae83
call sym.msvcrt.dll__errno
and qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], 0x16
call sym.msvcrt.dll__invalid_parameter
or rax, 0xffffffffffffffff
jmp 0x11013af1c
call sym.msvcrt.dll__CrtDbgReport
mov edx, 0x2d8
mov ecx, 1
call fcn.110119e8c
mov rdi, rax
test rax, rax
je 0x11013af07
call fcn.11013a9e0
mov rcx, rdi
mov rdx, qword [rax + 0xc0]
call fcn.11013aa90
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x60]
or qword [rdi + 8], 0xffffffffffffffff
mov rdx, r14
mov eax, dword [rsp + 0x70]
test rcx, rcx
mov r9, rdi
mov qword [rdi + 0x90], rsi
cmovne r8, rcx
mov qword [rdi + 0x98], rbp
mov qword [rsp + 0x28], r8
mov rcx, r15
lea r8, [0x11013afb0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
jne 0x11013af1c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call sym.msvcrt.dll_free
test ebx, ebx
je 0x11013af1a
mov ecx, ebx
call fcn.110107d08
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x11013c304
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
lea r14, [0x110176c30]
mov edi, ecx
mov rax, r14
xor ebx, ebx
cmp edi, dword [rax]
je 0x11013c336
inc ebx
add rax, 0x10
cmp ebx, 0x17
jb 0x11013c327
cmp ebx, 0x17
jae 0x11013c4b2
mov ebp, 3
mov ecx, ebp
call sym.msvcrt.dll__set_error_mode
cmp eax, 1
je 0x11013c470
mov ecx, ebp
call sym.msvcrt.dll__set_error_mode
test eax, eax
jne 0x11013c36c
cmp dword [0x1101945c4], 1
je 0x11013c470
cmp edi, 0xfc
je 0x11013c4b2
mov ebp, 0x314
lea rdi, [0x110195380]
mov edx, ebp
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rdi
call sym.msvcrt.dll_strcpy_s
test eax, eax
je 0x11013c3ae
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.11012bbfc
mov r8d, 0x104
mov byte [0x11019549d], 0
lea rdx, [0x110195399]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameA]
test eax, eax
jne 0x11013c3ff
lea r8, [0x11017b0b8]
mov edx, 0x2fb
lea rcx, [0x110195399]
call sym.msvcrt.dll_strcpy_s
test eax, eax
je 0x11013c3ff
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.11012bbfc
lea r8, [0x11017b08c]
mov rdx, rbp
mov rcx, rdi
call sym.msvcrt.dll_strcat_s
test eax, eax
je 0x11013c42a
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.11012bbfc
movsxd r8, ebx
mov rdx, rbp
add r8, r8
mov rcx, rdi
mov r8, qword [r14 + r8*8 + 8]
call sym.msvcrt.dll_strcat_s
test eax, eax
je 0x11013c459
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.11012bbfc
mov r8d, 0x12010
lea rdx, [0x11017b1a0]
mov rcx, rdi
call fcn.110133588
jmp 0x11013c4b2
mov ecx, 0xfffffff4
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x11013c4b2
movsxd rcx, ebx
add rcx, rcx
or r8, 0xffffffffffffffff
mov rdx, qword [r14 + rcx*8 + 8]
inc r8
cmp byte [rdx + r8], 0
jne 0x11013c494
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x11013c620
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x11013c68e
mov rax, qword [0x1101956b0]
test rax, rax
jne 0x11013c650
mov ecx, 0x244
call fcn.110119f14
mov qword [0x1101956b0], rax
test rax, rax
je 0x11013c68a
mov rcx, qword [0x1101956a8]
test rcx, rcx
je 0x11013c671
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
and qword [0x1101956a8], 0
mov rax, qword [0x1101956b0]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileA]
mov qword [0x1101956a8], rax
cmp rax, 0xffffffffffffffff
jne 0x11013c6bd
xor eax, eax
jmp 0x11013c6c8
mov rdx, qword [0x1101956b0]
mov rcx, qword [0x1101956a8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileA]
test eax, eax
jne 0x11013c6bd
mov rcx, qword [0x1101956a8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
and qword [0x1101956a8], 0
jmp 0x11013c68a
mov rax, qword [0x1101956b0]
add rax, 0x2c
add rsp, 0x20
pop rbx
ret

Function at 0x11013cad0
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x11013cb3e
mov rax, qword [0x1101956d0]
test rax, rax
jne 0x11013cb00
mov ecx, 0x354
call fcn.110119f14
mov qword [0x1101956d0], rax
test rax, rax
je 0x11013cb3a
mov rcx, qword [0x1101956c8]
test rcx, rcx
je 0x11013cb21
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
and qword [0x1101956c8], 0
mov rax, qword [0x1101956d0]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov qword [0x1101956c8], rax
cmp rax, 0xffffffffffffffff
jne 0x11013cb6d
xor eax, eax
jmp 0x11013cb78
mov rdx, qword [0x1101956d0]
mov rcx, qword [0x1101956c8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x11013cb6d
mov rcx, qword [0x1101956c8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
and qword [0x1101956c8], 0
jmp 0x11013cb3a
mov rax, qword [0x1101956d0]
add rax, 0x2c
add rsp, 0x20
pop rbx
ret
Function at 0x1101446c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, qword [rsp + 0x80]
mov eax, ecx
and al, 8
mov rsi, r9
neg al
mov r14, r8
mov r13, rdx
mov ebx, ecx
mov rbp, qword [rdi]
sbb eax, eax
dec dword [r9]
mov dword [rsp + 0x80], eax
mov eax, 0xffff
cmp ax, word [r8]
je 0x11014471c
movzx ecx, word [r8]
call fcn.11011ce98
mov r12d, dword [rsp + 0x88]
mov r15d, ebx
and r15d, 1
xor ecx, ecx
test r15d, r15d
je 0x110144740
mov eax, r12d
dec r12d
test eax, eax
je 0x11014482a
inc dword [rsi]
call fcn.11011ce04
mov word [r14], ax
movzx r9d, ax
test bl, 0x10
jne 0x1101447a2
test bl, 0x20
je 0x11014476a
lea eax, [r9 - 9]
cmp ax, 4
jbe 0x11014476a
cmp r9w, 0x20
jne 0x1101447a2
test bl, 0x40
je 0x110144812
movzx eax, r9w
movzx ecx, r9w
shr ax, 3
cmp r9w, ax
jb 0x110144812
and ecx, 7
movzx eax, ax
mov edx, ecx
movsx ecx, byte [rax + r13]
xor ecx, dword [rsp + 0x80]
bt ecx, edx
jae 0x110144812
test bl, 4
jne 0x110144809
mov rdx, qword [rdi]
test bl, 2
je 0x1101447bc
mov word [rdx], r9w
add qword [rdi], 2
jmp 0x11014472b
and dword [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
mov r8d, 5
call sym.msvcrt.dll_wctomb_s
xor ecx, ecx
test eax, eax
je 0x1101447fc
cmp eax, 0x16
je 0x1101447e5
cmp eax, 0x22
jne 0x11014472d
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
xor edx, edx
call fcn.11012bbfc
jmp 0x11014472b
movsxd rax, dword [rsp + 0x60]
add qword [rdi], rax
jmp 0x11014472d
add rbp, 2
jmp 0x11014472b
dec dword [rsi]
mov eax, 0xffff
cmp ax, word [r14]
je 0x110144828
movzx ecx, word [r14]
call fcn.11011ce98
xor ecx, ecx
cmp rbp, qword [rdi]
je 0x110144856
test bl, 4
jne 0x110144852
mov rax, qword [rsp + 0x98]
inc dword [rax]
test bl, 0x10
jne 0x110144852
mov rax, qword [rdi]
test bl, 2
je 0x110144850
mov word [rax], cx
jmp 0x110144852
mov byte [rax], cl
xor eax, eax
jmp 0x110144859
or eax, 0xffffffff
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x110145908
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, qword [rsp + 0x80]
mov eax, ecx
and al, 8
mov rbp, r9
neg al
mov r13, r8
mov rbx, rdx
mov edi, ecx
mov r14, qword [rsi]
sbb eax, eax
dec dword [r9]
mov dword [rsp + 0x70], eax
mov eax, 0xffff
cmp ax, word [r8]
je 0x11014595a
movzx ecx, word [r8]
call fcn.11011ce98
mov rax, qword [rsp + 0x90]
xor r8d, r8d
mov r12d, edi
mov ecx, edi
and r12d, 0x10
lea r15, [rax - 1]
cmovne r15, rax
and ecx, 1
mov dword [rsp + 0x60], ecx
test ecx, ecx
je 0x11014599b
mov ecx, dword [rsp + 0x88]
mov eax, ecx
dec ecx
mov dword [rsp + 0x88], ecx
test eax, eax
je 0x110145aa2
inc dword [rbp]
call fcn.11011ce04
xor r8d, r8d
mov word [r13], ax
movzx r9d, ax
test r12d, r12d
jne 0x110145a04
test dil, 0x20
je 0x1101459cb
lea eax, [r9 - 9]
cmp ax, 4
jbe 0x1101459cb
cmp r9w, 0x20
jne 0x110145a04
test dil, 0x40
je 0x110145a86
movzx eax, r9w
movzx ecx, r9w
shr ax, 3
cmp r9w, ax
jb 0x110145a86
and ecx, 7
movzx eax, ax
mov edx, ecx
movsx ecx, byte [rax + rbx]
xor ecx, dword [rsp + 0x70]
bt ecx, edx
jae 0x110145a86
test dil, 4
jne 0x110145a79
mov ebx, edi
and ebx, 2
test r15, r15
je 0x110145ad2
mov rdx, qword [rsi]
test ebx, ebx
je 0x110145a38
mov ecx, dword [rsp + 0x60]
mov word [rdx], r9w
add qword [rsi], 2
dec r15
mov rbx, qword [rsp + 0x68]
jmp 0x11014597d
mov dword [rsp + 0x80], r8d
lea rcx, [rsp + 0x80]
mov r8, r15
call sym.msvcrt.dll_wctomb_s
cmp eax, 0x22
je 0x110145ad2
movsxd rax, dword [rsp + 0x80]
xor r8d, r8d
mov ecx, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
test eax, eax
jle 0x11014597d
add qword [rsi], rax
sub r15, rax
jmp 0x110145a2e
mov ecx, dword [rsp + 0x60]
add r14, 2
jmp 0x11014597d
dec dword [rbp]
mov eax, 0xffff
cmp ax, word [r13]
je 0x110145aa2
movzx ecx, word [r13]
call fcn.11011ce98
xor r8d, r8d
cmp r14, qword [rsi]
je 0x110145aec
test dil, 4
jne 0x110145ace
mov rax, qword [rsp + 0xa0]
inc dword [rax]
test r12d, r12d
jne 0x110145ace
mov rax, qword [rsi]
test dil, 2
je 0x110145acb
mov word [rax], r8w
jmp 0x110145ace
mov byte [rax], r8b
xor eax, eax
jmp 0x110145aef
call sym.msvcrt.dll__errno
mov dword [rax], 0xc
xor eax, eax
test ebx, ebx
je 0x110145ae9
mov word [r14], ax
jmp 0x110145aec
mov byte [r14], al
or eax, 0xffffffff
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret