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

Disassembly:
push rbp
push rbx
sub rsp, 0x1d8
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov word [rbp + 0x56], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x48]
call fcn.0040fee0
movzx rax, word [rbp + 0x56]
cmp word [0x005469c8], ax
ja 0x4155e6
movzx rax, word [rbp + 0x56]
cmp ax, word [0x00546dc8]
mov word [rbp + 0x56], ax
ja 0x4155e6
mov eax, 0x40
xor ecx, ecx
cmp eax, ecx
jb 0x4155e5
mov edx, eax
add edx, ecx
shr edx, 1
mov r8d, edx
lea r9, [0x005469c8]
mov r10, r8
add r10, r10
movzx r11, word [rbp + 0x56]
cmp word [r9 + r10*8], r11w
jbe 0x4155a4
mov eax, edx
sub eax, 1
jmp 0x4155e1
lea rcx, [0x005469c8]
mov r9, r8
add r9, r9
movzx r10, word [rbp + 0x56]
cmp word [rcx + r9*8], r10w
jae 0x4155c4
mov ecx, edx
add ecx, 1
jmp 0x4155e1
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea rax, [0x005469d0]
add r8, r8
mov r8, qword [rax + r8*8]
call fcn.004153c0
jmp 0x4155e5
cmp eax, ecx
jae 0x41557a
nop
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0
jne 0x4156bb
movzx rcx, word [rbp + 0x56]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4156bb
movzx rbx, word [rbp + 0x56]
movzx ebx, bx
mov ecx, ebx
mov edx, 0x59
lea r8, [rbp + 0x126]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
mov ecx, ebx
mov edx, 0x5a
lea r8, [rbp + 0x7c]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00411350
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.00411350
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00411350
mov rcx, qword [rbp + 0x48]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x00415708]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x00415718]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.004117b0
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040ffc0
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rbp
ret
Function at 0x415910
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov word [rbp + 0x36], dx
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
nop
lea rcx, [0x0056aef8]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x0056af20], ax
jne 0x41597a
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0056af22]
mov r8d, 0x55
call fcn.00411350
lea rcx, [0x0056aef8]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x415a83
lea rcx, [0x0056aef8]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.0040fee0
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x415a3e
cmp byte [0x0056aef0], 0
je 0x4159d2
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.004157b0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.00410570
jmp 0x415a3e
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.00415510
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00410570
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x415a3e
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x415a1d
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00415ac8]
call fcn.004115c0
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.00415510
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.004115c0
lea rcx, [0x0056aef8]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x0056af20], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.00411290
lea rcx, [0x0056af22]
mov edx, 0xaa
mov r8, rax
call fcn.00415300
lea rcx, [0x0056aef8]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0040ffc0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x416430
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x70], r8
mov rcx, qword [rbp + 0x70]
call fcn.004100b0
nop
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx ecx, ax
mov edx, 3
lea r8, [rbp + 0x48]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00411350
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.00411680
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00416280
test al, al
jne 0x4164fa
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00411350
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.00411680
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00416280
test al, al
jne 0x4164fa
mov rcx, qword [rbp + 0x28]
call fcn.0040fee0
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040ffc0
lea rcx, [rbp + 0x70]
call fcn.0040fee0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x416550
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x88]
call fcn.004100b0
mov rcx, qword [rbp + 0x90]
call fcn.004100b0
nop
mov rcx, qword [rbp + 0x28]
call fcn.0040fee0
cmp qword [rbp + 0x90], 0
je 0x41670f
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.00410600
xor eax, eax
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x4165fb
mov eax, dword [rcx - 4]
cmp eax, 1
jl 0x416634
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x41662d
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.00411840
jmp 0x416634
sub eax, 1
test eax, eax
jne 0x416600
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.00416180
cmp qword [rbp + 0x68], 0
je 0x416672
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.00416310
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.00410570
jmp 0x41670e
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.00415910
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.00416310
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.00410570
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x4166e7
cmp byte [0x0056aef0], 0
jne 0x4166e7
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.00415910
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.00416310
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00410570
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x41670e
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.00416430
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.00410570
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.0040ffc0
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040ffc0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x418e20
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x418e40
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call sub.kernel32.dll_GetVersion
mov ecx, eax
and ecx, 0xff
and eax, 0xff00
shr eax, 8
cmp ecx, 5
jne 0x418e63
cmp eax, 1
jae 0x418e68
cmp ecx, 5
jbe 0x418e74
mov dword [0x00566a28], 0x7f
jmp 0x418e7e
mov dword [0x00566a28], 0x409
add rsp, 0x28
ret
Function at 0x41a0c0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.0041a0b0
mov ebx, eax
test ebx, ebx
je 0x41a109
cmp dword [0x0054784c], 0xffffffff
jne 0x41a0e3
mov ecx, 0xe2
call fcn.0040fbe0
mov ecx, ebx
call fcn.0041a090
test rax, rax
jne 0x41a0fb
mov ecx, 0xe2
call fcn.0040fbe0
jmp 0x41a109
mov ecx, dword [0x0054784c]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x41a170
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x0056c2c0], 0
je 0x41a1ab
mov ecx, dword [0x0054784c]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x41a1be
call fcn.0041a0c0
mov ecx, dword [0x0054784c]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x41a1be
mov rax, qword [0x0056c2b8]
jmp 0x41a1be
mov rax, qword gs:[0x58]
mov ecx, dword [0x0054784c]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret

Function at 0x430800
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, rbx
call fcn.00411290
mov r13, rax
mov rcx, r13
call sub.kernel32.dll_DeleteFileW
test eax, eax
setne sil
test sil, sil
jne 0x43086e
call sub.kernel32.dll_GetLastError
mov edi, eax
mov rcx, r13
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x430867
mov ecx, eax
test ecx, 0x400
je 0x430867
test eax, 0x10
je 0x430867
mov rcx, rbx
call fcn.00411290
mov rcx, rax
call sub.kernel32.dll_RemoveDirectoryW
test eax, eax
setne sil
jmp 0x43086e
mov ecx, edi
call sub.kernel32.dll_SetLastError
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x432e70
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push rbx
sub rsp, 0x30
movdqa xmmword [rsp + 0x20], xmm6
mov rbx, rdx
movapd xmm6, xmm2
mov rcx, rbx
mov edx, 0xa
xor r8, r8
call fcn.0040b750
movsd xmm0, qword [0x00432f78]
ucomisd xmm0, xmm6
jbe 0x432ea4
mov byte [rbx + 9], 0x80
movapd xmm0, xmm6
pand xmm0, xmmword [0x00432f80]
call fcn.0040af40
mov rcx, rax
xor r8, r8
jmp 0x432f57
Function at 0x43a740
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x8e0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea r8, [rbp + 0x60]
mov r9d, 0x400
call fcn.0043a500
mov ebx, eax
mov rax, qword [0x00565188]
cmp byte [rax], 0
je 0x43a86f
mov rcx, qword [0x00564dd0]
call fcn.0040b680
call fcn.00409500
mov ecx, 1
xor edx, edx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte
mov esi, eax
lea rcx, [rbp + 0x58]
mov rdx, qword [0x0043a700]
mov r8d, 1
movsxd r9, esi
call fcn.004143c0
mov ecx, 1
xor edx, edx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
mov rdx, qword [rbp + 0x58]
mov r8d, esi
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x0043a8fc]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x43a8b2
mov rcx, qword [0x0056c288]
call fcn.00414fa0
mov rcx, rax
mov rax, qword [0x00564d48]
mov edx, dword [rax + 8]
lea r8, [rbp + 0x860]
mov r9d, 0x40
call sub.user32.dll_LoadStringW
xor ecx, ecx
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x860]
mov r9d, 0x2010
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x0043a700]
call fcn.00414590
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret

Function at 0x43de50
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.00410770
mov r13d, eax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.00418e00
mov esi, eax
cmp esi, 0x104
jbe 0x43deab
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.004091c0
mov rdi, rax
jmp 0x43deaf
lea rdi, [rbp + 0x38]
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call fcn.00418e00
mov rcx, rdi
call sub.user32.dll_CharUpperW
xor ebx, ebx
xor ecx, ecx
mov edx, esi
sub edx, 1
mov eax, ecx
cmp eax, edx
jg 0x43df05
sub edx, ecx
add edx, 1
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movsxd rcx, eax
movzx ecx, word [rdi + rcx*2]
xor ebx, ecx
add eax, 1
sub edx, 1
test edx, edx
jne 0x43dee6
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x43df17
mov rcx, rdi
call fcn.004091f0
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x459600
Capabilities:
Encode data using xor

Disassembly:
mov al, 0xb5
mov r8, rcx
xor edx, edx
mov ecx, edx
and ecx, 0x3f
mov r9, r8
shr r9, cl
and r9b, 0xff
xor al, r9b
add edx, 1
cmp edx, 8
jne 0x459607
nop
ret
Function at 0x460230
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, r8d
mov edx, edx
lea rdx, [rcx + rdx]
cmp rcx, rdx
jae 0x460254
movzx r8, byte [rcx]
xor eax, r8d
imul eax, eax, 0x1000193
add rcx, 1
cmp rcx, rdx
jb 0x46023e
nop
ret

Function at 0x47c930
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov byte [rbp + 0x88], dl
cmp byte [rbp + 0x88], 0
je 0x47c96e
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.0040d610
mov qword [rbp + 0x80], rax
nop
mov rcx, qword [0x00474210]
mov dl, 1
call fcn.004aa970
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rcx, qword [0x0047b1e8]
mov dl, 1
call fcn.004afae0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x10], rax
mov rcx, qword [0x0047b1e8]
mov dl, 1
call fcn.004afae0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x18], rax
lea rcx, [rbp + 0x30]
call sub.kernel32.dll_GetSystemInfo
mov rax, qword [rbp + 0x80]
mov ecx, dword [rbp + 0x34]
mov dword [rax + 0x20], ecx
cmp byte [rbp + 0x88], 0
je 0x47ca2b
mov rcx, qword [rbp + 0x80]
call fcn.0040d650
mov qword [rbp + 0x80], rax
jmp 0x47ca2b
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret

Function at 0x4fef70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov qword [rbp + 0x60], r8
movzx rax, byte [rbp + 0x70]
mov byte [rbp + 0x70], al
mov rcx, rsi
mov rdx, qword [rbp + 0x60]
mov r8, r9
call sub.kernel32.dll_FindResourceW
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x20], 0
jne 0x4fefaf
mov rcx, rbp
call fcn.004fee90
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_LoadResource
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x28], 0
jne 0x4fefce
mov rcx, rbp
call fcn.004fee90
mov rcx, qword [rbx + 0x28]
call sub.kernel32.dll_LockResource
mov rdi, rax
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_SizeofResource
mov rcx, rbx
mov rdx, rdi
mov r8d, eax
call fcn.004fe810
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x511ba0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
movzx rax, byte [rcx + 0x19]
or al, dl
test al, al
je 0x511bf0
cmp byte [rcx + 0x1d], 0
jne 0x511bf0
cmp byte [rcx + 0x40], 0
jne 0x511bf0
mov byte [rcx + 0x1b], 0
mov byte [rcx + 0x19], 0
mov rcx, qword [rcx + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x511c0d
mov rcx, qword [0x004d0f18]
mov dl, 1
mov r8, qword [0x005650e8]
call fcn.0043aba0
mov rcx, rax
call fcn.0040f180
jmp 0x511c0d
mov rcx, qword [0x004d0f18]
mov dl, 1
mov r8, qword [0x005650e8]
call fcn.0043aba0
mov rcx, rax
call fcn.0040f180
add rsp, 0x28
ret
Function at 0x5128a0
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.00511a30
jmp 0x5128fb
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x512920
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.00511a30
cmp esi, 1
jne 0x51294a
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x53cd60
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], rbp
mov rax, qword [0x00565188]
mov byte [rax], 1
nop
lea rcx, [0x0053d168]
call fcn.0041a950
nop
nop
call fcn.0053cbf0
test al, al
je 0x53cdc8
lea rcx, [0x005726e0]
lea rdx, [0x0053d0dc]
call fcn.00410570
jmp 0x53cddb
lea rcx, [0x005726e0]
lea rdx, [0x0053d0fc]
call fcn.00410570
lea rcx, [rbp + 0x70]
call fcn.0053cc90
lea rcx, [0x005726e8]
mov rdx, qword [rbp + 0x70]
lea r8, [0x0053d11c]
call fcn.00411680
mov rcx, qword [0x004cc918]
mov dl, 1
mov r8, qword [0x0056c288]
mov r9, qword [0x005726e0]
mov qword [rsp + 0x20], 0xa
call fcn.004fece0
mov qword [0x005726f8], rax
mov rcx, qword [0x004cbd08]
mov dl, 1
mov r8, qword [0x005726e8]
mov r9w, 0xff00
call fcn.004fe450
mov qword [0x00572700], rax
mov rcx, qword [0x00572700]
mov rdx, qword [0x005726f8]
xor r8, r8
mov r9d, 0x100000
call fcn.004fd6e0
mov rcx, qword [0x005726f8]
mov rax, qword [0x005726f8]
mov rax, qword [rax]
call qword [rax + 0x18]
mov rcx, qword [0x00572700]
mov rdx, qword [0x005726f8]
lea rdx, [rdx + 8]
mov r8, rax
mov rax, qword [0x00572700]
mov rax, qword [rax]
call qword [rax + 0x48]
mov rcx, qword [0x00572700]
call fcn.0040cc70
mov rcx, qword [0x005726f8]
call fcn.0040cc70
lea rcx, [0x005726f0]
mov edx, 3
lea r8, [0x0053d140]
mov r9, qword [0x005726e8]
lea rax, [0x0053d140]
mov qword [rsp + 0x20], rax
call fcn.004117b0
call fcn.00409cf0
mov ecx, 1
mov ebx, eax
mov dword [0x00572708], ecx
cmp dword [0x00572708], ebx
jg 0x53cf41
sub ebx, ecx
add ebx, 1
lea rcx, [rbp + 0x68]
mov edx, dword [0x00572708]
call fcn.00409d70
lea rcx, [0x005726f0]
mov edx, 3
mov r8, qword [0x005726f0]
lea r9, [0x0053d150]
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.004117b0
add dword [0x00572708], 1
sub ebx, 1
test ebx, ebx
jne 0x53cefc
nop
lea rcx, [0x00572710]
call sub.kernel32.dll_GetStartupInfoW
mov rcx, qword [0x005726e8]
call fcn.00411290
mov rbx, rax
mov rcx, qword [0x005726f0]
call fcn.00411290
mov rsi, rax
lea rcx, [rbp + 0x60]
call fcn.00430a10
mov rcx, qword [rbp + 0x60]
call fcn.00411290
mov rcx, rbx
mov rdx, rsi
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
lea rax, [0x00572710]
mov qword [rsp + 0x40], rax
lea rax, [0x00572778]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x53cfe0
mov rax, qword [0x00572778]
test rax, rax
je 0x53cfe0
mov rcx, rax
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [0x005726e8]
call fcn.00430800
jmp 0x53d051
nop
lea rcx, [rbp + 0x58]
mov edx, 4
call fcn.0040ffc0
call fcn.0040fa30
jmp 0x53d06f
lea rsp, [rbp + 0x90]
pop rbx
pop rsi
pop rbp
ret
Function at 0x180001254
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rdx, qword [rcx]
mov r10d, dword [rcx + 0x68]
mov r12d, 1
movzx eax, word [rdx + 0x14]
mov rsi, qword [rdx + 0x30]
sub r10, r12
lea r8, [rax + rdx + 0x18]
movabs rax, 0xffffffff00000000
not r10
mov r11d, dword [r8 + 8]
and rsi, rax
mov eax, dword [r8 + 0x10]
or r11, rsi
xor ebx, ebx
mov r13, rcx
and r10, r11
mov qword [rbp + 0x30], rsi
mov qword [rbp - 0x20], r11
mov qword [rbp - 0x18], r10
test eax, eax
jne 0x1800012d9
test byte [r8 + 0x24], 0x40
je 0x1800012cf
mov eax, dword [rdx + 0x20]
jmp 0x1800012d9
test byte [r8 + 0x24], 0x80
je 0x1800012d9
mov eax, dword [rdx + 0x24]
mov ecx, dword [r8 + 0x24]
mov r9d, eax
mov dword [rbp - 4], ebx
mov qword [rbp - 0x10], r9
mov r14d, r12d
mov dword [rbp - 8], ecx
cmp r12w, word [rdx + 6]
jae 0x1800013b2
lea rdi, [r8 + 0x4c]
mov r15d, dword [rdi - 0x1c]
mov eax, dword [rdi - 0x14]
or r15, rsi
mov esi, dword [r13 + 0x68]
sub rsi, r12
not rsi
and rsi, r15
test eax, eax
jne 0x180001329
test byte [rdi], 0x40
je 0x180001321
mov eax, dword [rdx + 0x20]
jmp 0x180001329
test byte [rdi], 0x80
je 0x180001329
mov eax, dword [rdx + 0x24]
mov r12d, eax
cmp r10, rsi
je 0x180001363
lea rax, [r9 + r11]
cmp rax, rsi
ja 0x180001363
lea rdx, [rbp - 0x20]
mov rcx, r13
call fcn.180001194
test eax, eax
je 0x1800013ae
mov ecx, dword [rdi]
mov r11, r15
mov qword [rbp - 0x20], r15
mov r10, rsi
mov qword [rbp - 0x18], rsi
mov r9d, r12d
mov qword [rbp - 0x10], r12
jmp 0x180001388
mov eax, dword [rdi]
bt eax, 0x19
jae 0x180001375
bt ecx, 0x19
jae 0x180001375
or ecx, eax
jmp 0x18000137b
or ecx, eax
btr ecx, 0x19
mov r9, r12
sub r9, r11
add r9, r15
mov qword [rbp - 0x10], r9
mov rdx, qword [r13]
mov r12d, 1
add rdi, 0x28
movzx eax, word [rdx + 6]
add r14d, r12d
mov dword [rbp - 8], ecx
cmp r14d, eax
jge 0x1800013b2
mov rsi, qword [rbp + 0x30]
jmp 0x1800012fc
xor eax, eax
jmp 0x1800013c9
lea rdx, [rbp - 0x20]
mov rcx, r13
mov dword [rbp - 4], r12d
call fcn.180001194
test eax, eax
setne bl
mov eax, ebx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret