joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10267dc
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
xor ebx, ebx
call fcn.01034300
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x1026830
cmp dword [rsp + 0x24], 5
lea eax, [rbx + 1]
cmovae ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.01028cb0
add rsp, 0x150
pop rbx
ret

Function at 0x1026c50
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [0x01046dd8]
xor esi, esi
mov rbx, rcx
cmp rdi, rsi
jne 0x1026c9b
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rsi
xor eax, eax
jmp 0x1026da9
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
cmp rax, rsi
jne 0x1026cd8
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
jmp 0x1026c94
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
cmp rax, rsi
je 0x1026cb2
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
cmp rax, rsi
je 0x1026cb2
mov edx, 9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
cmp rax, rsi
je 0x1026cb2
mov edx, 0xb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
cmp rax, rsi
je 0x1026cb2
mov edx, 0xd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
cmp rax, rsi
je 0x1026cb2
mov edx, 0xf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
cmp rax, rsi
je 0x1026cb2
mov edx, 0x11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
cmp rax, rsi
je 0x1026cb2
mov edx, 0x13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
cmp rax, rsi
je 0x1026cb2
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1026e1c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [0x01046dd8]
xor esi, esi
mov rbx, rcx
cmp rdi, rsi
jne 0x1026e6f
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rsi
mov qword [rcx + 0x50], rsi
mov qword [rcx + 0x58], rsi
xor eax, eax
jmp 0x1026fbb
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
cmp rax, rsi
jne 0x1026eb4
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x58], rsi
jmp 0x1026e68
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
cmp rax, rsi
je 0x1026e86
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
cmp rax, rsi
je 0x1026e86
mov edx, 9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
cmp rax, rsi
je 0x1026e86
mov edx, 0xb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
cmp rax, rsi
je 0x1026e86
mov edx, 0xd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
cmp rax, rsi
je 0x1026e86
mov edx, 0xf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
cmp rax, rsi
je 0x1026e86
mov edx, 0x11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
cmp rax, rsi
je 0x1026e86
mov edx, 0x13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
cmp rax, rsi
je 0x1026e86
mov edx, 7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
cmp rax, rsi
je 0x1026e86
mov edx, 0x14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
cmp rax, rsi
je 0x1026e86
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1027898
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xd0
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor r13d, r13d
mov rsi, rdx
mov rdi, rcx
cmp rdx, r13
jne 0x10278d2
xor eax, eax
jmp 0x1027ae0
cmp word [rdx], r13w
je 0x10278cb
call fcn.0102768c
mov rbx, rax
cmp rax, r13
je 0x1027a4b
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x80
call fcn.01034300
xor r11d, r11d
lea r12, [0x010053c0]
lea r9, [rsp + 0x30]
lea rdx, [0x0100df80]
lea rcx, [0x0100dea0]
mov r8, r12
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x0100df98]
lea rcx, [rsp + 0x30]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r13d
jne 0x1027961
cmp ebp, r13d
jbe 0x1027961
lea rdx, [0x0100dfa0]
lea rcx, [0x01005448]
jmp 0x102799d
lea r9, [rsp + 0x40]
lea rdx, [0x0100dfa0]
lea rcx, [0x01005448]
mov r8, r12
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, r13d
jne 0x10279bb
lea rdx, [0x0100dfb8]
lea rcx, [0x01005470]
lea r9, [rsp + 0x40]
mov r8, r12
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, r13d
jbe 0x1027a4b
mov rbp, qword [rdi + 8]
mov ebx, eax
cmp rbp, r13
jne 0x10279df
mov rdx, rsi
mov rcx, rdi
call fcn.01027528
mov rbp, rax
cmp rax, r13
je 0x1027a35
mov rcx, rbp
call fcn.01028940
lea r12, [rax + rbx + 2]
lea rcx, [r12 + r12]
call fcn.010268c0
mov rbx, rax
cmp rax, r13
je 0x1027a35
lea rax, [rsp + 0x40]
lea r8, [0x01009db8]
mov r9, rbp
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.0100ed0c
cmp eax, r13d
je 0x1027a2c
mov rcx, rbx
call fcn.0102890c
mov rbx, r13
cmp rbx, r13
jne 0x1027ad9
lea rcx, [rsp + 0x40]
call fcn.01026938
mov rbx, rax
cmp rax, r13
jne 0x1027ad9
lea rcx, [0x0100dfd0]
call fcn.01026938
mov rbp, qword [rdi + 8]
mov rbx, rax
cmp rbp, r13
jne 0x1027a76
mov rdx, rsi
mov rcx, rdi
call fcn.01027528
mov rbp, rax
cmp rax, r13
je 0x1027ad9
mov rcx, rbp
call fcn.01028940
mov rcx, rbx
mov r9, rax
call fcn.01028940
lea r12, [r9 + rax + 2]
cmp r12, 2
jbe 0x1027ad9
lea rcx, [r12 + r12]
call fcn.010268c0
mov rsi, rax
cmp rax, r13
je 0x1027ad9
lea r8, [0x01009db8]
mov r9, rbp
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.0100ed0c
cmp eax, r13d
jne 0x1027ad1
mov rcx, rbx
call fcn.0102890c
mov rbx, rsi
jmp 0x1027ad9
mov rcx, rsi
call fcn.0102890c
mov qword [rdi + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.01028cb0
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1027f38
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xd0
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor r13d, r13d
mov rbx, rdx
mov r12, rcx
cmp rdx, r13
jne 0x1027f72
xor eax, eax
jmp 0x1028182
cmp word [rdx], r13w
je 0x1027f6b
mov rcx, rdx
call fcn.01026938
mov rdi, rax
cmp rax, r13
je 0x1027fab
mov edx, 0x5c
mov rcx, rax
call fcn.01029770
cmp rax, r13
je 0x1027fa0
mov word [rax], r13w
jmp 0x1027fab
mov rcx, rdi
call fcn.0102890c
mov rdi, r13
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x80
call fcn.01034300
xor r11d, r11d
lea rbp, [0x010053c0]
lea r9, [rsp + 0x30]
lea rdx, [0x0100df80]
lea rcx, [0x0100dea0]
mov r8, rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x0100df98]
lea rcx, [rsp + 0x30]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r13d
jne 0x1028023
cmp esi, r13d
jbe 0x1028023
lea rdx, [0x0100dfa0]
lea rcx, [0x01005448]
jmp 0x1028062
lea r9, [rsp + 0x40]
lea rdx, [0x0100dfa0]
lea rcx, [0x01005448]
mov r8, rbp
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r11d, eax
cmp eax, r13d
jne 0x1028080
lea rdx, [0x0100dfb8]
lea rcx, [0x01005470]
lea r9, [rsp + 0x40]
mov r8, rbp
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r11d, eax
cmp r11d, r13d
jbe 0x10280f5
cmp rdi, r13
je 0x10280e3
mov rcx, rdi
call fcn.01028940
mov ecx, r11d
lea rsi, [rax + rcx + 2]
lea rcx, [rsi + rsi]
call fcn.010268c0
mov rbx, rax
cmp rax, r13
je 0x10280e3
lea rax, [rsp + 0x40]
lea r8, [0x01009db8]
mov r9, rdi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.0100ed0c
cmp eax, r13d
je 0x10280da
mov rcx, rbx
call fcn.0102890c
mov rbx, r13
cmp rbx, r13
jne 0x102816d
lea rcx, [rsp + 0x40]
call fcn.01026938
mov rbx, rax
cmp rax, r13
jne 0x102816d
lea rcx, [0x0100dfd0]
call fcn.01026938
mov rbx, rax
cmp rdi, r13
je 0x102817a
mov rcx, rdi
call fcn.01028940
mov rcx, rbx
mov r9, rax
call fcn.01028940
lea rbp, [r9 + rax + 2]
cmp rbp, 2
jbe 0x102816d
lea rcx, [rbp + rbp]
call fcn.010268c0
mov rsi, rax
cmp rax, r13
je 0x102816d
lea r8, [0x01009db8]
mov r9, rdi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.0100ed0c
cmp eax, r13d
jne 0x1028165
mov rcx, rbx
call fcn.0102890c
mov rbx, rsi
jmp 0x102816d
mov rcx, rsi
call fcn.0102890c
cmp rdi, r13
je 0x102817a
mov rcx, rdi
call fcn.0102890c
mov qword [r12 + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.01028cb0
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x102835c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x460
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x40]
xor r12d, r12d
xor edx, edx
mov r8d, 0x208
mov rbx, r12
call fcn.01034300
mov ebp, 0x200
lea rcx, [rsp + 0x250]
xor edx, edx
mov r8, rbp
call fcn.01034300
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], ebp
cmp rsi, r12
je 0x10284a7
mov ebp, 0x104
lea r8, [0x0100e008]
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.01035a04
cmp eax, r12d
jne 0x1028497
lea r8, [0x010093a8]
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.01035a04
cmp eax, r12d
jne 0x1028497
lea rcx, [rsp + 0x40]
mov r8, rsi
mov rdx, rbp
call fcn.01035a04
cmp eax, r12d
jne 0x1028497
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x1028497
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea rdx, [0x0100e038]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x250]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x1028497
cmp word [rsp + 0x250], r12w
je 0x1028497
lea rcx, [rsp + 0x250]
call fcn.010284dc
mov rbx, rax
mov rcx, qword [rsp + 0x30]
cmp rcx, r12
je 0x10284a7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.01028cb0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x102878c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x460
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x40]
xor r12d, r12d
xor edx, edx
mov r8d, 0x208
mov rbx, r12
call fcn.01034300
mov ebp, 0x200
lea rcx, [rsp + 0x250]
xor edx, edx
mov r8, rbp
call fcn.01034300
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], ebp
cmp rsi, r12
je 0x10288d7
mov ebp, 0x104
lea r8, [0x0100e008]
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.01035a04
cmp eax, r12d
jne 0x10288c7
lea r8, [0x010093a8]
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.01035a04
cmp eax, r12d
jne 0x10288c7
lea rcx, [rsp + 0x40]
mov r8, rsi
mov rdx, rbp
call fcn.01035a04
cmp eax, r12d
jne 0x10288c7
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x10288c7
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea rdx, [0x0100e038]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x250]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x10288c7
cmp word [rsp + 0x250], r12w
je 0x10288c7
lea rcx, [rsp + 0x250]
call fcn.01028988
mov rbx, rax
mov rcx, qword [rsp + 0x30]
cmp rcx, r12
je 0x10288d7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.01028cb0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1028cb0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x01044480]
jne 0x1028ccb
rol rcx, 0x10
test cx, 0xffff
jne 0x1028cc7
ret 0
ror rcx, 0x10
jmp 0x102dbe8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x01046240]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x01046338]
mov qword [rsp + 0x58], r11
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 0x102dc6d
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, [0x01046240]
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 0x102dc8f
mov rax, qword [rsp + 0x88]
mov qword [0x01046338], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x010462d8], rax
mov rax, qword [0x01046338]
mov qword [0x010461b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x010462c0], rax
mov dword [0x010461a0], 0xc0000409
mov dword [0x010461a4], 1
mov rax, qword [0x01044480]
mov qword [rsp + 0x68], rax
mov rax, qword [0x01044488]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x01003c10]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
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 0x102c804
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 0x18], r8d
push r12
sub rsp, 0x30
mov edi, r8d
mov ebx, edx
mov r12d, ecx
mov ecx, 8
call fcn.0103367c
nop
cmp dword [0x01045c5c], 1
je 0x102c8b7
mov dword [0x01045c58], 1
mov byte [0x01045c14], dil
test ebx, ebx
jne 0x102c8a3
mov rcx, qword [0x01048230]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov rcx, qword [0x01048228]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov qword [rsp + 0x20], rax
test rsi, rsi
je 0x102c890
sub rbx, 8
mov qword [rsp + 0x20], rbx
cmp rbx, rsi
jb 0x102c890
mov rcx, qword [rbx]
test rcx, rcx
je 0x102c88e
call rcx
jmp 0x102c876
lea rdx, [0x010035c8]
lea rcx, [0x010035b0]
call fcn.0102c654
lea rdx, [0x010035d8]
lea rcx, [0x010035d0]
call fcn.0102c654
nop
test edi, edi
je 0x102c8c5
mov ecx, 8
call fcn.0103356c
test edi, edi
jne 0x102c8ed
mov dword [0x01045c5c], 1
lea ecx, [rdi + 8]
call fcn.0103356c
mov ecx, r12d
call fcn.0102c5f8
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
xor r8d, r8d
xor edx, edx
jmp 0x102c804

Function at 0x102c90c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 0x18], r8d
push r12
sub rsp, 0x30
mov edi, r8d
mov ebx, edx
mov r12d, ecx
mov ecx, 8
call fcn.0103367c
nop
cmp dword [0x01045c5c], 1
je 0x102c8b7
mov dword [0x01045c58], 1
mov byte [0x01045c14], dil
test ebx, ebx
jne 0x102c8a3
mov rcx, qword [0x01048230]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov rcx, qword [0x01048228]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov qword [rsp + 0x20], rax
test rsi, rsi
je 0x102c890
sub rbx, 8
mov qword [rsp + 0x20], rbx
cmp rbx, rsi
jb 0x102c890
mov rcx, qword [rbx]
test rcx, rcx
je 0x102c88e
call rcx
jmp 0x102c876
lea rdx, [0x010035c8]
lea rcx, [0x010035b0]
call fcn.0102c654
lea rdx, [0x010035d8]
lea rcx, [0x010035d0]
call fcn.0102c654
nop
test edi, edi
je 0x102c8c5
mov ecx, 8
call fcn.0103356c
test edi, edi
jne 0x102c8ed
mov dword [0x01045c5c], 1
lea ecx, [rdi + 8]
call fcn.0103356c
mov ecx, r12d
call fcn.0102c5f8
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
xor r8d, r8d
xor edx, edx
jmp 0x102c804

Function at 0x102c91c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x102c804
Function at 0x102c9bc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r13
sub rsp, 0x30
lea r13, [0x01044220]
mov ebx, ecx
xor edi, edi
mov rax, r13
cmp ecx, dword [rax]
je 0x102c9ee
inc edi
add rax, 0x10
cmp edi, 0x17
jb 0x102c9df
cmp edi, 0x17
jae 0x102cb9c
mov ebp, 3
mov ecx, ebp
call fcn.01033c9c
cmp eax, 1
je 0x102cb54
mov ecx, ebp
call fcn.01033c9c
test eax, eax
jne 0x102ca24
cmp dword [0x01044100], 1
je 0x102cb54
cmp ebx, 0xfc
je 0x102cb9c
lea rbx, [0x01045c60]
mov ebp, 0x314
lea r8, [0x01003bf0]
mov rcx, rbx
mov rdx, rbp
call fcn.01031148
test eax, eax
je 0x102ca67
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102e1d8
lea rdx, [0x01045c79]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x01045d7d], 0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x102cab8
lea r8, [0x01003bd8]
lea rcx, [0x01045c79]
mov edx, 0x2fb
call fcn.01031148
test eax, eax
je 0x102cab8
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102e1d8
lea r8, [0x01045c79]
mov rdx, rbp
mov rcx, rbx
call fcn.01033c0c
test eax, eax
je 0x102cae3
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102e1d8
lea r8, [0x01003bd0]
mov rdx, rbp
mov rcx, rbx
call fcn.01033c0c
test eax, eax
je 0x102cb0e
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102e1d8
movsxd r8, edi
mov rdx, rbp
mov rcx, rbx
add r8, r8
mov r8, qword [r13 + r8*8 + 8]
call fcn.01033c0c
test eax, eax
je 0x102cb3d
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102e1d8
lea rdx, [0x01003ba8]
mov r8d, 0x12010
mov rcx, rbx
call fcn.010339d4
jmp 0x102cb9c
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r11, rax
test rax, rax
je 0x102cb9c
or rcx, 0xffffffffffffffff
cmp rax, rcx
je 0x102cb9c
movsxd rdx, edi
xor eax, eax
lea r9, [rsp + 0x48]
and qword [rsp + 0x20], rax
add rdx, rdx
mov rdx, qword [r13 + rdx*8 + 8]
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r13
ret

Function at 0x102da84
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x102dad1
cmp rcx, 0xffffffffffffffff
je 0x102dad1
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x102dac9
cmp dword [rcx + 0x3c], edx
jl 0x102dac9
cmp dword [rcx + 0x3c], 0x10000000
jae 0x102dac9
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x102dad1
mov rax, rdx
add rsp, 0x18
ret
Function at 0x102e1d8
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x102e243
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x102e263
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x01003c20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret