joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024020
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001fa2c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400240aa
cmp byte [rbp - 0x21], r15b
je 0x1400240a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400240e0
call fcn.140022128
test eax, eax
jne 0x1400240cc
cmp byte [rbp - 0x21], r15b
je 0x1400240c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400240e0
cmp byte [rbp - 0x21], r15b
je 0x1400240dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001f00c
test eax, eax
jne 0x140024180
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001fa2c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002411f
cmp byte [rbp - 0x21], r15b
je 0x140024154
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140024154
call fcn.140022128
test eax, eax
jne 0x140024140
cmp byte [rbp - 0x21], r15b
je 0x140024139
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140024154
cmp byte [rbp - 0x21], r15b
je 0x140024151
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001f00c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140024180
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140024183
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140024191
mov rcx, rdi
call fcn.14001efbc
cmp byte [rbp + 0x3f], r15b
je 0x1400241a0
mov rcx, qword [rbp + 0x27]
call fcn.14001efbc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140027080
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400270a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400270a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140617058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406171df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140617089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14061706f
add dl, dl
jne 0x140617096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406170f6
xor eax, eax
add dl, dl
jne 0x1406170a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406171ad
add dl, dl
jne 0x1406170b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406170c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406170d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406170dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406170ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14061707e
mov eax, 1
add dl, dl
jne 0x140617106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140617113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406170fb
sub eax, ebx
mov ebx, 1
jne 0x14061714c
mov ecx, 1
add dl, dl
jne 0x14061712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14061713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140617123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140617168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140617175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14061715d
cmp eax, 0x7d00
jae 0x14061719b
cmp eax, 0x500
jb 0x140617196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061707e
cmp eax, 0x7f
ja 0x14061719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406171d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14061707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180600058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1806001df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180600089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18060006f
add dl, dl
jne 0x180600096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806000f6
xor eax, eax
add dl, dl
jne 0x1806000a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806001ad
add dl, dl
jne 0x1806000b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806000c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806000d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806000dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1806000ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18060007e
mov eax, 1
add dl, dl
jne 0x180600106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180600113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806000fb
sub eax, ebx
mov ebx, 1
jne 0x18060014c
mov ecx, 1
add dl, dl
jne 0x18060012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18060013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180600123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18060007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180600168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180600175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18060015d
cmp eax, 0x7d00
jae 0x18060019b
cmp eax, 0x500
jb 0x180600196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18060007e
cmp eax, 0x7f
ja 0x18060019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18060007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1806001d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18060007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret

Function at 0x140001080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0x30]
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 + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
jmp 0x14000112a
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp qword [rsp + 0x50], rax
jae 0x14000119a
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rax + rcx*2]
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
lea rdx, [0x140018570]
mov rcx, qword [rsp + 0x60]
call fcn.140002c00
test eax, eax
jne 0x140001198
mov rax, qword [rsp + 0x58]
jmp 0x14000119a
jmp 0x14000111d
add rsp, 0x78
ret
Function at 0x140001a20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0xd8
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x14001f170]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rdx, [0x140018708]
lea rcx, [rsp + 0x30]
call fcn.140001b70
nop
lea rdx, str.C:UsersPublicDesktopQQ.lnk
lea rcx, [rsp + 0x58]
call fcn.140001b70
nop
lea rdx, str.C:UsersPublicDesktop_
lea rcx, [rsp + 0x80]
call fcn.140001b70
nop
mov dword [rsp + 0xb0], 0
jmp 0x140001a9b
mov eax, dword [rsp + 0xb0]
inc eax
mov dword [rsp + 0xb0], eax
movsxd rax, dword [rsp + 0xb0]
cmp rax, 3
jae 0x140001b05
movsxd rax, dword [rsp + 0xb0]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x30]
mov rcx, rax
call fcn.140001c20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001b03
call fcn.1400014b0
mov byte [rsp + 0xb4], 1
lea r9, [fcn.140001be0]
mov r8d, 3
mov edx, 0x28
lea rcx, [rsp + 0x30]
call fcn.1400031a8
movzx eax, byte [rsp + 0xb4]
jmp 0x140001b31
jmp 0x140001a8b
mov byte [rsp + 0xb5], 0
lea r9, [fcn.140001be0]
mov r8d, 3
mov edx, 0x28
lea rcx, [rsp + 0x30]
call fcn.1400031a8
movzx eax, byte [rsp + 0xb5]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140003090
add rsp, 0xd8
ret

Function at 0x1400042bb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001f170]
jne 0x1400030aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400030a6
repz ret
ror rcx, 0x10
jmp 0x140004214
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140020220]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140020318]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140004299
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140020220]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400042bb
mov rax, qword [rsp + 0x88]
mov qword [0x140020318], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400202b8], rax
mov rax, qword [0x140020318]
mov qword [0x140020190], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400202a0], rax
mov dword [0x140020180], 0xc0000409
mov dword [0x140020184], 1
mov rax, qword [0x14001f170]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001f178]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140020218], eax
mov ecx, 1
call fcn.140008268
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140018b28]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140020218], 0
jne 0x140004342
mov ecx, 1
call fcn.140008268
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140007344
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400071b4
Function at 0x140011178
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14001f170]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000471c
xor ebx, ebx
cmp qword [0x140021200], rbx
mov rdi, rax
jne 0x14001128b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140011362
lea rdx, [0x14001a920]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140011362
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140021200], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140021208], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140021210], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140021220], rax
test rax, rax
je 0x140011282
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140021218], rax
jmp 0x140011292
mov rax, qword [0x140021218]
jmp 0x140011299
mov rax, qword [0x140021218]
mov r11, qword [0x140021220]
cmp rax, rdi
je 0x140011300
cmp r11, rdi
je 0x140011300
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140021220]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140011300
test rax, rax
je 0x140011300
call rsi
test rax, rax
je 0x1400112fa
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400112fa
test byte [rsp + 0x40], 1
jne 0x140011300
bts ebp, 0x15
jmp 0x140011340
mov rcx, qword [0x140021208]
cmp rcx, rdi
je 0x140011340
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140011340
call rax
mov rbx, rax
test rax, rax
je 0x140011340
mov rcx, qword [0x140021210]
cmp rcx, rdi
je 0x140011340
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140011340
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140021200]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140011362
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140011364
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003090
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x2fc4cabb0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cb5b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cb64a
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cb62e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cb622
cmp qword [rbp - 0x10], 0
je 0x2fc4cb622
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cb5e8
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb64b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb750
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cb778
mov eax, 0
jmp 0x2fc4cb7c6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cb7a1
mov eax, 0
jmp 0x2fc4cb7c6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cb7c1
mov eax, 0
jmp 0x2fc4cb7c6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cb7cc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cb84a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cb841
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cb841
mov rax, qword [rbp - 8]
jmp 0x2fc4cb85f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cb814
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400017c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov byte [rsp + 0x50], 0x8a
mov byte [rsp + 0x51], 0x36
mov byte [rsp + 0x52], 0xb1
mov byte [rsp + 0x53], 0x4e
mov byte [rsp + 0x54], 0x23
mov byte [rsp + 0x55], 0x4d
mov byte [rsp + 0x56], 0xa6
mov byte [rsp + 0x57], 0x23
mov byte [rsp + 0x58], 0xea
mov byte [rsp + 0x59], 0x3e
mov dword [rsp + 0x24], 0xc8d1ea5c
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, 0xa
jae 0x140001863
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
add eax, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x24]
rol al, cl
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
rol eax, 0x13
imul eax, eax, 0xee43
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140001815
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140001882
xor eax, eax
jmp 0x1400019b9
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400018a2
xor eax, eax
jmp 0x1400019b9
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0x4550
je 0x1400018cf
xor eax, eax
jmp 0x1400019b9
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140001903
xor eax, eax
jmp 0x1400019b9
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x20], 0
je 0x1400019ae
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x18], 0
je 0x1400019ae
mov rax, qword [rsp + 0x70]
cmp qword [rax + 8], 0
je 0x1400019ae
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x1400019ae
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x10], 0
jne 0x1400019b4
xor eax, eax
jmp 0x1400019b9
mov eax, 1
add rsp, 0x68
ret
Function at 0x140001dd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x78
mov byte [rsp + 0x40], 0x71
mov byte [rsp + 0x41], 0x1b
mov byte [rsp + 0x42], 0x9e
mov byte [rsp + 0x43], 0x87
mov byte [rsp + 0x44], 0x94
mov byte [rsp + 0x45], 0x39
mov byte [rsp + 0x46], 0xbc
mov byte [rsp + 0x47], 0xba
mov byte [rsp + 0x48], 0x4a
mov byte [rsp + 0x50], 0x9d
mov byte [rsp + 0x51], 0xb3
mov byte [rsp + 0x52], 0xb1
mov byte [rsp + 0x53], 0xbf
mov byte [rsp + 0x54], 0x53
mov byte [rsp + 0x55], 0xe9
mov byte [rsp + 0x56], 0x17
mov byte [rsp + 0x57], 0xb8
mov byte [rsp + 0x58], 0x67
mov byte [rsp + 0x59], 0x63
mov byte [rsp + 0x5a], 0x4d
mov byte [rsp + 0x5b], 0xf
mov byte [rsp + 0x5c], 0x7f
mov byte [rsp + 0x5d], 0x43
mov byte [rsp + 0x5e], 0x4a
mov byte [rsp + 0x5f], 0x3e
mov byte [rsp + 0x60], 0x53
mov byte [rsp + 0x61], 0x2a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0x2c249a57
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, 9
jae 0x140001ecc
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
add eax, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x24]
rol al, cl
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
rol eax, 0x13
imul eax, eax, 0xee43
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140001e7e
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x24], 0xc8b9257d
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, 0x12
jae 0x140001f44
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
add eax, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x24]
rol al, cl
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
rol eax, 0x13
imul eax, eax, 0xee43
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140001ef6
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rsp, 0x78
ret