joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bd9b0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov rax, qword [0x140282140]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0xa8], 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0xb0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x1400bda57
cmp qword [rsp + 0xa0], 0xffffffffffffffff
jne 0x1400bdaae
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
jmp 0x1400bdbc6
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400bdb4d
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
add rax, 8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
jmp 0x1400bdbc6
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
add rax, 8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140225770
add rsp, 0x2d8
ret
Function at 0x1400f65c0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x22a0
call fcn.140226700
sub rsp, rax
mov rax, qword [0x140282140]
xor rax, rsp
mov qword [rsp + 0x2290], rax
mov dword [rsp + 0x24], 0
mov rdi, qword [rsp + 0x22b0]
xor eax, eax
mov ecx, Ordinal_27
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x22b0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rax], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x22b0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x22b0]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x70]
mov r8d, 0x2000
lea rdx, [rsp + 0x80]
mov rcx, rax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x1400f6719
mov dword [rsp + 0x20], 0
jmp 0x1400f669d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x70]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
jae 0x1400f6719
mov eax, dword [rsp + 0x20]
mov r8d, 0x104
lea rdx, [rsp + 0x2080]
mov rcx, qword [rsp + rax*8 + 0x80]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400f6714
lea rdx, [rsp + 0x2080]
lea rcx, [rsp + 0x50]
call fcn.1400b0860
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x22b0]
call fcn.1400ba1d0
nop
lea rcx, [rsp + 0x50]
call fcn.1400b0d88
jmp 0x1400f6693
mov rax, qword [rsp + 0x22b0]
mov rcx, qword [rsp + 0x2290]
xor rcx, rsp
call fcn.140225770
add rsp, 0x22a0
pop rdi
ret

Function at 0x1400f6740
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x140282140]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1400f67c9
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x1400f67c9
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400f67c7
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1400f67d6
jmp 0x1400f678b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140225770
add rsp, 0x288
ret
Function at 0x14012f060
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140282140]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x14012f09f
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jne 0x14012f0cf
mov dword [rsp + 0x20], 1
jmp 0x14012f0d7
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140225770
add rsp, 0x48
ret
Function at 0x1401858b0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x208
mov rax, qword [0x140282140]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0x1e0]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_27
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov qword [rsp + 0x50], rax
lea rdx, str.Cheat_Engine_7.5
lea rcx, [rsp + 0xb0]
call fcn.1400b0860
nop
lea rdx, [0x1402366ac]
lea rcx, [rsp + 0xd0]
call fcn.1400b0860
nop
lea rdx, [0x1402366b8]
lea rcx, [rsp + 0xf0]
call fcn.1400b0860
nop
lea rdx, str.x64dbg
lea rcx, [rsp + 0x110]
call fcn.1400b0860
nop
lea rdx, str.FileGrab
lea rcx, [rsp + 0x130]
call fcn.1400b0860
nop
lea rdx, str.Nigger
lea rcx, [rsp + 0x150]
call fcn.1400b0860
nop
lea rdx, str.Beammer
lea rcx, [rsp + 0x170]
call fcn.1400b0860
nop
lea rdx, str.Process_Hacker
lea rcx, [rsp + 0x190]
call fcn.1400b0860
nop
lea rdx, str.dexzunpacker
lea rcx, [rsp + 0x1b0]
call fcn.1400b0860
nop
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x90]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x1e0]
call fcn.1400bc1d0
nop
lea r9, [fcn.1400b0824]
mov r8d, 9
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0xb0]
call fcn.1402258fc
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
jmp 0x140185a6d
mov rax, qword [rsp + 0x28]
add rax, 0x20
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
je 0x140185b31
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 7
jbe 0x140185ab1
mov dword [rsp + 0x24], 1
jmp 0x140185ab9
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140185ae2
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.14012f190
movzx eax, al
test eax, eax
je 0x140185b2c
mov rcx, qword [rsp + 0x48]
call fcn.1400b0814
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x88], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x140185a5f
lea rcx, [rsp + 0x1e0]
call fcn.1401864d0
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.140225770
add rsp, 0x208
pop rdi
pop rsi
ret
Function at 0x140188690
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x6c8
mov rax, qword [0x140282140]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
movzx eax, byte [section..data]
test eax, eax
je 0x1401887bf
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1401886dd
xor al, al
jmp 0x1401887bf
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14018870a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1401887bf
mov edx, dword [rsp + 0x38]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x14018879b
mov dword [rsp + 0x270], 0x438
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x140188790
mov rdx, qword [rsp + 0x6d0]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
jne 0x14018877a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1401887bf
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x140188746
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14018870a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.140225770
add rsp, 0x6c8
ret
Function at 0x1401893d0
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x54]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14022d7ec
mov dword [rsp + 0x20], 0
jmp 0x140189442
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x14018952c
cmp dword [rsp + 0x70], 1
jne 0x1401894be
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 0xc]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
mov r8, qword [rsp + 0x28]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rsp + 0x60]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x38], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x38]
mov rcx, rax
call fcn.14022d7ec
cmp dword [rsp + 0x70], 0
jne 0x140189527
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 0x10]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
mov r8, qword [rsp + 0x28]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rsp + 0x60]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x40], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, rax
call fcn.14022d7ec
jmp 0x140189438
add rsp, 0x58
ret

Function at 0x14018b820
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x30], 0
jne 0x14018b85c
mov rax, qword gs:[0x30]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp], rax
jmp 0x14018b869
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov qword [rsp], rax
mov rax, qword [rsp]
add rax, 0x10
mov rcx, qword [rsp]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x10]
mov ecx, 0x68
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14018b8b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x78], 0xffff
ja 0x14018b99c
mov rax, qword [rsp + 0x78]
and rax, 0xffff
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x10]
movzx ecx, word [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx + 0x14]
jae 0x14018b997
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x14018ba24
jmp 0x14018ba22
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x24], 0
jmp 0x14018b9c8
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jae 0x14018ba22
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.1401c1630
test eax, eax
jne 0x14018ba20
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x14018ba24
jmp 0x14018b9be
xor eax, eax
add rsp, 0x68
ret

Function at 0x14018ba30
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword gs:[0x30]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov qword [rsp], rax
jmp 0x14018ba69
mov rax, qword [rsp]
mov rax, qword [rax]
mov qword [rsp], rax
cmp qword [rsp], 0
je 0x14018baa8
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x20]
cmp qword [rax + 0x30], rcx
jne 0x14018baa6
mov rax, qword [rsp]
mov rax, qword [rax + 8]
mov rcx, qword [rsp]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rsp]
mov rax, qword [rax]
mov rcx, qword [rsp]
mov rcx, qword [rcx + 8]
mov qword [rax + 8], rcx
jmp 0x14018baa8
jmp 0x14018ba5e
add rsp, 0x18
ret
Function at 0x140198ee0
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rax, qword [0x140282140]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0
jmp 0x140198f31
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.14018b820
test rax, rax
je 0x140199093
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0xf8], 0
jne 0x14019903d
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x140198fa4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x14019903d
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140199038
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 8]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x38], rax
ja 0x140199038
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0xf0], rax
jae 0x140199038
mov rax, qword [rsp + 0x28]
jmp 0x140199095
jmp 0x140198f9a
cmp dword [rsp + 0xf8], 1
jne 0x14019908e
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x50]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x38], rax
ja 0x14019908e
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0xf0], rax
jae 0x14019908e
mov rax, qword [rsp + 0x28]
jmp 0x140199095
jmp 0x140198f27
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140225770
add rsp, 0xe0
pop rdi
ret

Function at 0x1401990b0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp + 4], 0
mov dword [rsp], 0
jmp 0x1401990d7
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x140199112
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x28]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x140199110
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
jmp 0x1401990cf
mov eax, dword [rsp]
cmp dword [rsp + 4], eax
jne 0x140199125
mov dword [rsp + 8], 1
jmp 0x14019912d
mov dword [rsp + 8], 0
mov eax, dword [rsp + 8]
add rsp, 0x18
ret
Function at 0x140199140
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140282140]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1401991a6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x140199227
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
xor r9d, r9d
mov r8d, Ordinal_50
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14018c180
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov r9d, 4
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x38]
xor ecx, ecx
call fcn.14018c180
mov rax, qword [rsp + 0x40]
shr rax, 0x16
and rax, 1
test rax, rax
jne 0x140199222
xor eax, eax
jmp 0x14019922c
jmp 0x14019919c
mov eax, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140225770
add rsp, 0x88
ret

Function at 0x140199470
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1401996c0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x14019958a
mov rax, qword [0x140282008]
cmp qword [rsp + 0x20], rax
jb 0x1401994d4
mov rax, qword [0x140282010]
cmp qword [rsp + 0x20], rax
ja 0x1401994d4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x140199496
mov r8d, Ordinal_50
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_50
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x140199505
jmp 0x14019958a
cmp dword [rsp + 0x50], 0x10000
jne 0x14019956d
cmp qword [rsp + 0x48], 0x10000
jb 0x14019956d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14019954b
mov rax, qword [rsp + 0x28]
jmp 0x14019958c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x14019955b
xor eax, eax
jmp 0x14019958c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x140199585
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1401996c0
mov qword [rsp + 0x20], rax
jmp 0x140199496
xor eax, eax
add rsp, 0x68
ret
Function at 0x1401995a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.140199700
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1401996b6
mov rax, qword [0x140282008]
cmp qword [rsp + 0x20], rax
jb 0x1401995fb
mov rax, qword [0x140282010]
cmp qword [rsp + 0x20], rax
ja 0x1401995fb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1401995bd
mov r8d, Ordinal_50
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_50
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x14019962c
jmp 0x1401996b6
cmp dword [rsp + 0x50], 0x10000
jne 0x140199694
cmp qword [rsp + 0x48], 0x10000
jb 0x140199694
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140199672
mov rax, qword [rsp + 0x28]
jmp 0x1401996b8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x140199682
xor eax, eax
jmp 0x1401996b8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1401996b1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140199700
mov qword [rsp + 0x20], rax
jmp 0x1401995bd
xor eax, eax
add rsp, 0x68
ret