joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1023b70
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x200
mov rax, qword [0x01042480]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
xor edi, edi
mov rsi, r8
mov r12, rdx
mov rbx, rcx
cmp r8, rdi
je 0x1023d3b
mov rcx, r8
call fcn.0100d95c
mov r11, qword [0x01043880]
lea rcx, [rsp + 0x40]
mov rdx, r12
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], r11
call fcn.0100d7ec
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rbx
call fcn.01023d74
cmp eax, edi
jne 0x1023bfe
lea rcx, [rsp + 0x38]
call fcn.0100d95c
lea rcx, [rsp + 0x30]
call fcn.0100d95c
mov rbx, qword [rsp + 0x38]
cmp qword [rbx - 0x10], rdi
je 0x1023d1c
lea rcx, [rsp + 0x170]
xor edx, edx
mov r8d, 0x80
call fcn.010328a0
mov ebp, 0x114
lea rcx, [rsp + 0x50]
mov r8, rbp
xor edx, edx
call fcn.010328a0
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], ebp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x60], 2
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
lea r9, [rsp + 0x170]
lea r8, [0x010033f0]
jne 0x1023cb6
lea rdx, [0x0100bf50]
lea rcx, [0x01003478]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebp, eax
cmp eax, edi
jne 0x1023ce7
lea r9, [rsp + 0x170]
lea r8, [0x010033f0]
lea rdx, [0x0100bf60]
lea rcx, [0x010034a0]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebp, eax
jmp 0x1023ce7
mov rcx, qword [r12]
lea rdx, [0x0100bf70]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebp, eax
cmp eax, edi
jbe 0x1023d1c
lea rcx, [rsp + 0x170]
mov edx, 0x2c
call fcn.010270f8
cmp rax, rdi
je 0x1023ce7
mov word [rax], di
cmp ebp, edi
jbe 0x1023d1c
mov r8, qword [rsp + 0x30]
mov rcx, rsi
cmp qword [r8 - 0x10], rdi
je 0x1023d0f
lea r9, [rsp + 0x170]
lea rdx, [0x01007df8]
call fcn.0100e6e8
jmp 0x1023d1c
lea rdx, [rsp + 0x170]
call fcn.0100dc00
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
cmp qword [rdx - 0x10], rdi
setne dil
call fcn.0100d9e0
lea rcx, [rsp + 0x38]
call fcn.0100d9e0
mov rcx, r12
call fcn.0100d9e0
mov eax, edi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.01026f20
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x10253c8
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x01042480]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
xor ebx, ebx
call fcn.010328a0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x102541c
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.01026f20
add rsp, 0x150
pop rbx
ret

Function at 0x102580c
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 [0x01044dd8]
xor esi, esi
mov rbx, rcx
cmp rdi, rsi
jne 0x1025857
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 0x1025965
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
cmp rax, rsi
jne 0x1025894
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 0x1025850
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
cmp rax, rsi
je 0x102586e
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
cmp rax, rsi
je 0x102586e
mov edx, 9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
cmp rax, rsi
je 0x102586e
mov edx, 0xb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
cmp rax, rsi
je 0x102586e
mov edx, 0xd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
cmp rax, rsi
je 0x102586e
mov edx, 0xf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
cmp rax, rsi
je 0x102586e
mov edx, 0x11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
cmp rax, rsi
je 0x102586e
mov edx, 0x13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
cmp rax, rsi
je 0x102586e
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x10259d8
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 [0x01044dd8]
xor esi, esi
mov rbx, rcx
cmp rdi, rsi
jne 0x1025a2b
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 0x1025b77
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
cmp rax, rsi
jne 0x1025a70
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 0x1025a24
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
cmp rax, rsi
je 0x1025a42
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
cmp rax, rsi
je 0x1025a42
mov edx, 9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
cmp rax, rsi
je 0x1025a42
mov edx, 0xb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
cmp rax, rsi
je 0x1025a42
mov edx, 0xd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
cmp rax, rsi
je 0x1025a42
mov edx, 0xf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
cmp rax, rsi
je 0x1025a42
mov edx, 0x11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
cmp rax, rsi
je 0x1025a42
mov edx, 0x13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
cmp rax, rsi
je 0x1025a42
mov edx, 7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
cmp rax, rsi
je 0x1025a42
mov edx, 0x14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
cmp rax, rsi
je 0x1025a42
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x102641c
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 [0x01042480]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor r13d, r13d
mov rsi, rdx
mov rdi, rcx
cmp rdx, r13
jne 0x1026456
xor eax, eax
jmp 0x102661c
cmp word [rdx], r13w
je 0x102644f
call fcn.0102623c
mov rbx, rax
cmp rax, r13
je 0x1026587
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x80
call fcn.010328a0
xor r11d, r11d
lea r12, [0x010033f0]
lea r9, [rsp + 0x30]
lea rdx, [0x0100c068]
lea rcx, [0x0100bf90]
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, [0x0100c080]
lea rcx, [rsp + 0x30]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea r9, [rsp + 0x40]
lea rdx, [0x0100c088]
lea rcx, [0x01003478]
mov r8, r12
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, r13d
jbe 0x1026587
mov rbp, qword [rdi + 8]
mov ebx, eax
cmp rbp, r13
jne 0x102651b
mov rdx, rsi
mov rcx, rdi
call fcn.010260d8
mov rbp, rax
cmp rax, r13
je 0x1026571
mov rcx, rbp
call fcn.010254ac
lea r12, [rax + rbx + 2]
lea rcx, [r12 + r12]
call fcn.010233b0
mov rbx, rax
cmp rax, r13
je 0x1026571
lea rax, [rsp + 0x40]
lea r8, [0x01007df8]
mov r9, rbp
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.0100cddc
cmp eax, r13d
je 0x1026568
mov rcx, rbx
call fcn.01023428
mov rbx, r13
cmp rbx, r13
jne 0x1026615
lea rcx, [rsp + 0x40]
call fcn.010254f4
mov rbx, rax
cmp rax, r13
jne 0x1026615
lea rcx, [0x0100c0a0]
call fcn.010254f4
mov rbp, qword [rdi + 8]
mov rbx, rax
cmp rbp, r13
jne 0x10265b2
mov rdx, rsi
mov rcx, rdi
call fcn.010260d8
mov rbp, rax
cmp rax, r13
je 0x1026615
mov rcx, rbp
call fcn.010254ac
mov rcx, rbx
mov r9, rax
call fcn.010254ac
lea r12, [r9 + rax + 2]
cmp r12, 2
jbe 0x1026615
lea rcx, [r12 + r12]
call fcn.010233b0
mov rsi, rax
cmp rax, r13
je 0x1026615
lea r8, [0x01007df8]
mov r9, rbp
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.0100cddc
cmp eax, r13d
jne 0x102660d
mov rcx, rbx
call fcn.01023428
mov rbx, rsi
jmp 0x1026615
mov rcx, rsi
call fcn.01023428
mov qword [rdi + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.01026f20
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1026a48
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 [0x01042480]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor r13d, r13d
mov rbx, rdx
mov r12, rcx
cmp rdx, r13
jne 0x1026a82
xor eax, eax
jmp 0x1026c47
cmp word [rdx], r13w
je 0x1026a7b
mov rcx, rdx
call fcn.010254f4
mov rdi, rax
cmp rax, r13
je 0x1026abb
mov edx, 0x5c
mov rcx, rax
call fcn.01027a10
cmp rax, r13
je 0x1026ab0
mov word [rax], r13w
jmp 0x1026abb
mov rcx, rdi
call fcn.01023428
mov rdi, r13
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x80
call fcn.010328a0
xor r11d, r11d
lea rbp, [0x010033f0]
lea r9, [rsp + 0x30]
lea rdx, [0x0100c068]
lea rcx, [0x0100bf90]
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, [0x0100c080]
lea rcx, [rsp + 0x30]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea r9, [rsp + 0x40]
lea rdx, [0x0100c088]
lea rcx, [0x01003478]
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
jbe 0x1026bba
cmp rdi, r13
je 0x1026ba8
mov rcx, rdi
call fcn.010254ac
mov ecx, r11d
lea rsi, [rax + rcx + 2]
lea rcx, [rsi + rsi]
call fcn.010233b0
mov rbx, rax
cmp rax, r13
je 0x1026ba8
lea rax, [rsp + 0x40]
lea r8, [0x01007df8]
mov r9, rdi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.0100cddc
cmp eax, r13d
je 0x1026b9f
mov rcx, rbx
call fcn.01023428
mov rbx, r13
cmp rbx, r13
jne 0x1026c32
lea rcx, [rsp + 0x40]
call fcn.010254f4
mov rbx, rax
cmp rax, r13
jne 0x1026c32
lea rcx, [0x0100c0a0]
call fcn.010254f4
mov rbx, rax
cmp rdi, r13
je 0x1026c3f
mov rcx, rdi
call fcn.010254ac
mov rcx, rbx
mov r9, rax
call fcn.010254ac
lea rbp, [r9 + rax + 2]
cmp rbp, 2
jbe 0x1026c32
lea rcx, [rbp + rbp]
call fcn.010233b0
mov rsi, rax
cmp rax, r13
je 0x1026c32
lea r8, [0x01007df8]
mov r9, rdi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.0100cddc
cmp eax, r13d
jne 0x1026c2a
mov rcx, rbx
call fcn.01023428
mov rbx, rsi
jmp 0x1026c32
mov rcx, rsi
call fcn.01023428
cmp rdi, r13
je 0x1026c3f
mov rcx, rdi
call fcn.01023428
mov qword [r12 + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.01026f20
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1026c8c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x01042480]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, dword [0x01042100]
call fcn.0102c07c
mov dword [0x01042100], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [rsp + 0xa0], 0x114
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1026cee
mov eax, 0xff
jmp 0x1026ecf
mov r8d, dword [rsp + 0xac]
and r8d, 0x7fff
mov r9d, dword [rsp + 0xb0]
cmp r9d, 2
je 0x1026d10
bts r8d, 0xf
mov edx, dword [rsp + 0xa4]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0xa8]
add ecx, eax
mov dword [0x01043bfc], r9d
mov dword [0x01043c04], ecx
mov dword [0x01043c08], edx
mov dword [0x01043c0c], eax
mov dword [0x01043c00], r8d
mov eax, 0x5a4d
cmp word [0x01000000], ax
jne 0x1026da9
movsxd rax, dword [0x0100003c]
lea rdi, [0x01000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x1026d74
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x1026db6
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x1026d87
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x1026db6
cmp dword [rax + 0x84], 0xe
ja 0x1026d98
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x1026db6
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x20], ebx
jmp 0x1026db6
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rdi, [0x01000000]
mov ecx, 1
call fcn.0102bfac
test eax, eax
jne 0x1026de6
cmp dword [0x01043bf0], 1
jne 0x1026dd2
call fcn.0102b148
mov ecx, 0x1c
call fcn.0102af4c
mov ecx, 0xff
call fcn.0102abc8
call fcn.0102bf24
test eax, eax
jne 0x1026e12
cmp dword [0x01043bf0], 1
jne 0x1026dfd
call fcn.0102b148
mov ecx, 0x10
call fcn.0102af4c
mov ecx, 0xff
call fcn.0102abc8
nop
call fcn.0102b944
test eax, eax
jns 0x1026e25
mov ecx, 0x1b
call fcn.0102ab54
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x01046250], rax
call fcn.0102b8a4
mov qword [0x01043be8], rax
call fcn.0102b7ac
test eax, eax
jns 0x1026e50
mov ecx, 8
call fcn.0102ab54
call fcn.0102b470
test eax, eax
jns 0x1026e63
mov ecx, 9
call fcn.0102ab54
mov ecx, 1
call fcn.0102acbc
test eax, eax
je 0x1026e78
mov ecx, eax
call fcn.0102ab54
call fcn.0102b410
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.0100f8e0
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
jne 0x1026eaf
mov ecx, eax
call fcn.0102ae9c
call fcn.0102aec0
jmp 0x1026ecd
mov eax, edi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.010d8000
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
sub rsp, 0x28
call fcn.0102c0c8
add rsp, 0x28
jmp 0x1026c8c
Function at 0x1026f20
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x01042480]
jne 0x1026f3b
rol rcx, 0x10
test cx, 0xffff
jne 0x1026f37
ret 0
ror rcx, 0x10
jmp 0x102c184
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x01044240]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x01044338]
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 0x102c209
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, [0x01044240]
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 0x102c22b
mov rax, qword [rsp + 0x88]
mov qword [0x01044338], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x010442d8], rax
mov rax, qword [0x01044338]
mov qword [0x010441b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x010442c0], rax
mov dword [0x010441a0], 0xc0000409
mov dword [0x010441a4], 1
mov rax, qword [0x01042480]
mov qword [rsp + 0x68], rax
mov rax, qword [0x01042488]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x01001c40]
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 0x102ad94
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.01031c1c
nop
cmp dword [0x01043c5c], 1
je 0x102ae47
mov dword [0x01043c58], 1
mov byte [0x01043c14], dil
test ebx, ebx
jne 0x102ae33
mov rcx, qword [0x01046230]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov rcx, qword [0x01046228]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov qword [rsp + 0x20], rax
test rsi, rsi
je 0x102ae20
sub rbx, 8
mov qword [rsp + 0x20], rbx
cmp rbx, rsi
jb 0x102ae20
mov rcx, qword [rbx]
test rcx, rcx
je 0x102ae1e
call rcx
jmp 0x102ae06
lea rdx, [0x010015e0]
lea rcx, [0x010015c8]
call fcn.0102abe4
lea rdx, [0x010015f0]
lea rcx, [0x010015e8]
call fcn.0102abe4
nop
test edi, edi
je 0x102ae55
mov ecx, 8
call fcn.01031b0c
test edi, edi
jne 0x102ae7d
mov dword [0x01043c5c], 1
lea ecx, [rdi + 8]
call fcn.01031b0c
mov ecx, r12d
call fcn.0102ab88
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 0x102ad94

Function at 0x102ae9c
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.01031c1c
nop
cmp dword [0x01043c5c], 1
je 0x102ae47
mov dword [0x01043c58], 1
mov byte [0x01043c14], dil
test ebx, ebx
jne 0x102ae33
mov rcx, qword [0x01046230]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov rcx, qword [0x01046228]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov qword [rsp + 0x20], rax
test rsi, rsi
je 0x102ae20
sub rbx, 8
mov qword [rsp + 0x20], rbx
cmp rbx, rsi
jb 0x102ae20
mov rcx, qword [rbx]
test rcx, rcx
je 0x102ae1e
call rcx
jmp 0x102ae06
lea rdx, [0x010015e0]
lea rcx, [0x010015c8]
call fcn.0102abe4
lea rdx, [0x010015f0]
lea rcx, [0x010015e8]
call fcn.0102abe4
nop
test edi, edi
je 0x102ae55
mov ecx, 8
call fcn.01031b0c
test edi, edi
jne 0x102ae7d
mov dword [0x01043c5c], 1
lea ecx, [rdi + 8]
call fcn.01031b0c
mov ecx, r12d
call fcn.0102ab88
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 0x102ad94

Function at 0x102aeac
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x102ad94
Function at 0x102af4c
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, [0x01042220]
mov ebx, ecx
xor edi, edi
mov rax, r13
cmp ecx, dword [rax]
je 0x102af7e
inc edi
add rax, 0x10
cmp edi, 0x17
jb 0x102af6f
cmp edi, 0x17
jae 0x102b12c
mov ebp, 3
mov ecx, ebp
call fcn.0103223c
cmp eax, 1
je 0x102b0e4
mov ecx, ebp
call fcn.0103223c
test eax, eax
jne 0x102afb4
cmp dword [0x01042100], 1
je 0x102b0e4
cmp ebx, 0xfc
je 0x102b12c
lea rbx, [0x01043c60]
mov ebp, 0x314
lea r8, [0x01001c20]
mov rcx, rbx
mov rdx, rbp
call fcn.0102f6e8
test eax, eax
je 0x102aff7
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102c778
lea rdx, [0x01043c79]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x01043d7d], 0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x102b048
lea r8, [0x01001c08]
lea rcx, [0x01043c79]
mov edx, 0x2fb
call fcn.0102f6e8
test eax, eax
je 0x102b048
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102c778
lea r8, [0x01043c79]
mov rdx, rbp
mov rcx, rbx
call fcn.010321ac
test eax, eax
je 0x102b073
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102c778
lea r8, [0x01001c00]
mov rdx, rbp
mov rcx, rbx
call fcn.010321ac
test eax, eax
je 0x102b09e
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102c778
movsxd r8, edi
mov rdx, rbp
mov rcx, rbx
add r8, r8
mov r8, qword [r13 + r8*8 + 8]
call fcn.010321ac
test eax, eax
je 0x102b0cd
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102c778
lea rdx, [0x01001bd8]
mov r8d, 0x12010
mov rcx, rbx
call fcn.01031f74
jmp 0x102b12c
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r11, rax
test rax, rax
je 0x102b12c
or rcx, 0xffffffffffffffff
cmp rax, rcx
je 0x102b12c
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 0x102c020
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x102c06d
cmp rcx, 0xffffffffffffffff
je 0x102c06d
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x102c065
cmp dword [rcx + 0x3c], edx
jl 0x102c065
cmp dword [rcx + 0x3c], 0x10000000
jae 0x102c065
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 0x102c06d
mov rax, rdx
add rsp, 0x18
ret
Function at 0x102c778
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 0x102c7e3
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 0x102c803
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x01001c50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret