joyce8/EMBER2024-capa huggingface dataset:
Function at 0x37f41bab0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x37f4b5770]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x37f41bad0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x37f41bad8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x37f41bad0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x37f41bb25
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x37f41bb1c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x37f41bad0
add rax, 0x28
cmp rax, r9
jne 0x37f41bb08
xor eax, eax
ret

Function at 0x37f41bb30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x37f4b5770]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x37f41bb50
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x37f41bb58
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x37f41bb50
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x37f41bbe0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x37f4b5770]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x37f41bc00
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x37f41bc08
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x37f422520
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x37f422632
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x37f42260a
add rax, 1
cmp rax, 0x6b
je 0x37f422627
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x37f422600
cmp edx, 0x6a
je 0x37f422627
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.37f4219d0
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x37f42261b
Function at 0x37f4229d0
Capabilities:
Allocate thread local storage

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x28
lea rsi, [0x37f4bbb70]
mov rcx, rsi
call fcn.37f422290
lea r13, [rax + 8]
mov r12, rax
mov rcx, r13
call fcn.37f421b90
mov ebx, dword [0x37f4bbb70]
test ebx, ebx
jne 0x37f422a40
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x37f4b27a8], eax
cmp eax, 0xffffffff
je 0x37f429756
mov dword [0x37f4bbb70], 1
mov rcx, r13
call fcn.37f421eb0
test r12, r12
je 0x37f422a72
mov rcx, r12
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
jmp fcn.37f422650
cmp ebx, 1
je 0x37f422a21
mov ecx, 2
call qword [fcn.37f4212a0]
mov r9d, ebx
mov r8, rsi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov rcx, r13
call fcn.37f421eb0
test r12, r12
jne 0x37f422a2e
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
ret
call fcn.37f4219d0
nop
call fcn.37f4219d0
nop
mov rax, qword [0x28]
ud2

Function at 0x37f422d70
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
cmp dword [0x37f4bbb70], 1
je 0x37f422d87
call fcn.37f4229d0
mov ecx, dword [0x37f4b27a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x37f422db0
mov rax, r12
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r12
ret
call fcn.37f422750
cmp qword [0x37f4be040], 0
mov rbx, rax
je 0x37f422d9b
test rax, rax
je 0x37f422d9b
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add byte [rcx], dh
leave
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.37f425c10
cmp eax, 1
je 0x37f422eba
call fcn.37f599ff8
call fcn.37f422520
nop
push r14
push r13
push r12
sub rsp, 0x20
test edx, edx
jne 0x37f422ef0
test r8, r8
je 0x37f422fb0
mov eax, 1
add rsp, 0x20
pop r12
pop r13
pop r14
ret
cmp edx, 1
je 0x37f422fe0
cmp edx, 3
jne 0x37f422ed7
mov ecx, dword [0x37f4b27a8]
cmp ecx, 0xffffffff
je 0x37f422ed7
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x37f422ed7
test byte [rax + 0x40], 0x30
je 0x37f423010
mov rcx, qword [rax + 0x1d8]
test rcx, rcx
je 0x37f422f32
call fcn.37f422a80
mov rcx, qword [r12 + 0x28]
test rcx, rcx
je 0x37f422f65
pop r13
call fcn.37f5f48e2
call r13
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x37f422f53
call r13
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
lea rcx, [r12 + 0x38]
call fcn.37f422080
lea rcx, [r12 + 0x68]
call fcn.37f425c10
cmp eax, 1
je 0x37f4230a4
cmp qword [r12 + 0x1d0], 0
mov qword [r12 + 0x68], 0xffffffffffffffff
je 0x37f423110
mov ecx, dword [0x37f4b27a8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x37f422ed7
mov rcx, qword [0x37f4bbb30]
test rcx, rcx
je 0x37f422ed7
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov qword [0x37f4bbb30], 0
jmp 0x37f422ed7
lea rdx, [0x37f4221f0]
mov ecx, 1
invalid
invalid
invalid
invalid
invalid
Function at 0x37f422ec0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
cmp dword [0x37f4bbb70], 1
je 0x37f422d87
call fcn.37f4229d0
mov ecx, dword [0x37f4b27a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x37f422db0
mov rax, r12
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r12
ret
call fcn.37f422750
cmp qword [0x37f4be040], 0
mov rbx, rax
je 0x37f422d9b
test rax, rax
je 0x37f422d9b
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add byte [rcx], dh
leave
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.37f425c10
cmp eax, 1
je 0x37f422eba
call fcn.37f599ff8
call fcn.37f422520
nop
push r14
push r13
push r12
sub rsp, 0x20
test edx, edx
jne 0x37f422ef0
test r8, r8
je 0x37f422fb0
mov eax, 1
add rsp, 0x20
pop r12
pop r13
pop r14
ret
cmp edx, 1
je 0x37f422fe0
cmp edx, 3
jne 0x37f422ed7
mov ecx, dword [0x37f4b27a8]
cmp ecx, 0xffffffff
je 0x37f422ed7
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x37f422ed7
test byte [rax + 0x40], 0x30
je 0x37f423010
mov rcx, qword [rax + 0x1d8]
test rcx, rcx
je 0x37f422f32
call fcn.37f422a80
mov rcx, qword [r12 + 0x28]
test rcx, rcx
je 0x37f422f65
pop r13
call fcn.37f5f48e2
call r13
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x37f422f53
call r13
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
lea rcx, [r12 + 0x38]
call fcn.37f422080
lea rcx, [r12 + 0x68]
call fcn.37f425c10
cmp eax, 1
je 0x37f4230a4
cmp qword [r12 + 0x1d0], 0
mov qword [r12 + 0x68], 0xffffffffffffffff
je 0x37f423110
mov ecx, dword [0x37f4b27a8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x37f422ed7
mov rcx, qword [0x37f4bbb30]
test rcx, rcx
je 0x37f422ed7
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov qword [0x37f4bbb30], 0
jmp 0x37f422ed7
lea rdx, [0x37f4221f0]
mov ecx, 1
invalid
invalid
invalid
invalid
invalid
Function at 0x37f4d3f00
Capabilities:
Set thread local storage value

Disassembly:
mov rcx, qword [rcx]
lea rcx, [rcx + 0x720637ab]
jmp 0x37f5f85ae
lea rcx, [rcx + 1]
jmp 0x37f586270
lea rcx, [0x37f58495c]
jmp 0x37f4ce8b8
mov qword [rsp + 8], rcx
jmp 0x37f4d855d
push rcx
mov rcx, qword [rsp + 8]
jmp 0x37f4d3f00
xchg qword [rsp], rcx
jmp loc.37f422e63

Function at 0x37f5c4695
Capabilities:
Set thread local storage value

Disassembly:
lea rdi, [rdi + 1]
jmp 0x37f5d3c62
push rdi
bswap rdi
mov rdi, qword [rsp + 8]
jmp 0x37f4c5a6e
mov qword [rsp + 8], rdi
movsxd rdi, r10d
movsx rdi, r10w
lea rdi, [0x37f648f60]
mov rdi, qword [rdi]
jmp 0x37f6373e4
xchg qword [rsp], rdi
jmp fcn.37f42302c
lea rdi, [rdi - 0x5478e568]
jmp 0x37f62109b

Function at 0x37f5c92e3
Capabilities:
Set thread local storage value

Disassembly:
mov rcx, qword [rcx]
lea rcx, [rcx + 0x720637ab]
jmp 0x37f5f85ae
lea rcx, [rcx + 1]
jmp 0x37f586270
lea rcx, [0x37f58495c]
jmp 0x37f4ce8b8
mov qword [rsp + 8], rcx
jmp 0x37f4d855d
push rcx
mov rcx, qword [rsp + 8]
jmp 0x37f4d3f00
xchg qword [rsp], rcx
jmp loc.37f422e63

Function at 0x37f5ce248
Capabilities:
Resume thread

Disassembly:
mov rdx, qword [rsp + 8]
lea rdx, [rdx + 1]
jmp 0x37f5f20ff
xchg qword [rsp], rdx
jmp loc.37f424451
lea rdx, [rdx - 0x3b4d047c]
jmp 0x37f58623d
push rdx
cdq
jmp 0x37f57853b
mov qword [rsp + 8], rdx
mov dl, dil
cmovg dx, r13w
lea rdx, [0x37f4c306c]
mov rdx, qword [rdx]
jmp 0x37f590ba4
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
push rcx
push rsi
mov rdx, qword [rdx + 0x20]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040ca
dec rcx
mov esi, dword [r8 + rcx*4]
xor r9, r9
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x14000b6d4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.140013d68
mov rsi, rax
test rax, rax
je 0x14000b750
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000b74b
cmp dword [rbx], 0x40
jb 0x14000b74b
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14000b74b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14000b754
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001197c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400119e4
call fcn.140009b0c
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400119e4
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140011a06
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14001138c
mov esi, eax
test rdi, rdi
je 0x140011a04
test rbx, rbx
je 0x140011a04
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x140019400
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400209b8
nop
cmp dword [0x140048558], 1
je 0x1400193ac
mov dword [0x140048554], 1
mov byte [0x140048550], r12b
test ebx, ebx
jne 0x140019398
mov rcx, qword [0x14004a8f0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140019385
mov rcx, qword [0x14004a8e8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140019324
call fcn.14001ae08
cmp qword [rdi], rax
jne 0x140019324
jmp 0x14001930a
cmp rdi, rsi
jb 0x140019385
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14001ae08
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14004a8f0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14004a8e8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140019363
cmp r13, rax
je 0x140019383
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14001930a
lea rdx, [0x140032988]
lea rcx, [0x140032970]
call fcn.140019154
lea rdx, [0x140032998]
lea rcx, [0x140032990]
call fcn.140019154
nop
test r12d, r12d
je 0x1400193bb
mov ecx, 8
call fcn.1400208b8
test r12d, r12d
jne 0x1400193e6
mov dword [0x140048558], 1
lea ecx, [r12 + 8]
call fcn.1400208b8
mov ecx, r15d
call fcn.1400190e8
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140019274

Function at 0x14001940c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140019274
Function at 0x14001b303
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140043078]
jne 0x140016f5a
rol rcx, 0x10
test cx, 0xffff
jne 0x140016f56
repz ret
ror rcx, 0x10
jmp 0x14001b25c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140048b40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140048c38]
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 0x14001b2e1
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, [0x140048b40]
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 0x14001b303
mov rax, qword [rsp + 0x88]
mov qword [0x140048c38], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140048bd8], rax
mov rax, qword [0x140048c38]
mov qword [0x140048ab0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140048bc0], rax
mov dword [0x140048aa0], 0xc0000409
mov dword [0x140048aa4], 1
mov rax, qword [0x140043078]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140043080]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140048b38], eax
mov ecx, 1
call fcn.1400221bc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140037010]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140048b38], 0
jne 0x14001b38a
mov ecx, 1
call fcn.1400221bc
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 0x140021ce4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14001ae08
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400493c8], rbx
jne 0x140021dea
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140021ebf
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140021ebf
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140037180]
mov rcx, rsi
mov qword [0x1400493c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140037168]
mov rcx, rsi
mov qword [0x1400493d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400493d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400493e8], rax
test rax, rax
je 0x140021de1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400493e0], rax
jmp 0x140021df1
mov rax, qword [0x1400493e0]
jmp 0x140021df8
mov rax, qword [0x1400493e0]
mov r11, qword [0x1400493e8]
cmp rax, rdi
je 0x140021e60
cmp r11, rdi
je 0x140021e60
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400493e8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140021e60
test rax, rax
je 0x140021e60
call rsi
test rax, rax
je 0x140021e5a
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140021e5a
test byte [rsp + 0x38], 1
jne 0x140021e60
bts ebp, 0x15
jmp 0x140021e9e
mov rcx, qword [0x1400493d0]
cmp rcx, rdi
je 0x140021e9e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140021e9e
call rax
mov rbx, rax
test rax, rax
je 0x140021e9e
mov rcx, qword [0x1400493d8]
cmp rcx, rdi
je 0x140021e9e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140021e9e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400493c8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140021ebf
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140021ec1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140029f90
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov qword [rsp + 0x270], 0xfffffffffffffffe
mov rax, qword [0x140043078]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov dword [rsp + 0x268], 0
lea rdx, [0x140038724]
lea rcx, [rsp + 0x250]
call fcn.1400035c0
nop
cmp qword [rsp + 0x2c0], 0
je 0x140029fff
cmp qword [rsp + 0x2c8], 0
jne 0x14002a03f
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x2b8]
call fcn.140001740
mov eax, dword [rsp + 0x268]
or eax, 1
mov dword [rsp + 0x268], eax
lea rcx, [rsp + 0x250]
call fcn.140002710
mov rax, qword [rsp + 0x2b8]
jmp 0x14002a1b2
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140017420
mov rcx, qword [rsp + 0x2b0]
call fcn.1400016e0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x40]
lea r8, [0x1400388d8]
mov rdx, qword [rsp + 0x2c8]
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, str.Error
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14002a0e3
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x2b8]
call fcn.140001740
mov eax, dword [rsp + 0x268]
or eax, 1
mov dword [rsp + 0x268], eax
lea rcx, [rsp + 0x250]
call fcn.140002710
mov rax, qword [rsp + 0x2b8]
jmp 0x14002a1b2
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x258]
call fcn.1400035c0
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x280], rax
mov rdx, qword [rsp + 0x2b0]
add rdx, 0x18
mov r8, qword [rsp + 0x280]
lea rcx, [rsp + 0x260]
call fcn.140003b70
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x290], rax
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x250]
call fcn.140001ac0
nop
lea rcx, [rsp + 0x260]
call fcn.140002710
nop
lea rcx, [rsp + 0x258]
call fcn.140002710
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x2b8]
call fcn.140001740
mov eax, dword [rsp + 0x268]
or eax, 1
mov dword [rsp + 0x268], eax
lea rcx, [rsp + 0x250]
call fcn.140002710
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.140016f40
add rsp, 0x2a8
ret
Function at 0x14002a900
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2c8
mov qword [rsp + 0x278], 0xfffffffffffffffe
mov rax, qword [0x140043078]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dword [rsp + 0x270], 0
lea rdx, [0x1400386cc]
lea rcx, [rsp + 0x250]
call fcn.1400035c0
nop
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140017420
mov rcx, qword [rsp + 0x2d0]
call fcn.1400016e0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x40]
lea r8, [0x1400387d0]
lea rdx, str.UtilModuleI
lea rcx, str.DependDrvInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x140038818]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14002a9f1
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x2d8]
call fcn.140001740
mov eax, dword [rsp + 0x270]
or eax, 1
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0x250]
call fcn.140002710
mov rax, qword [rsp + 0x2d8]
jmp 0x14002ab10
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x258]
call fcn.1400035c0
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x288], rax
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x250]
call fcn.140001ac0
nop
lea rcx, [rsp + 0x258]
call fcn.140002710
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x260]
call fcn.140001740
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x298], rax
mov rdx, qword [rsp + 0x2d0]
add rdx, 0x18
mov r8, qword [rsp + 0x298]
lea rcx, [rsp + 0x268]
call fcn.140003b70
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x2a8], rax
mov rdx, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x250]
call fcn.140001ac0
nop
lea rcx, [rsp + 0x268]
call fcn.140002710
nop
lea rcx, [rsp + 0x260]
call fcn.140002710
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x2d8]
call fcn.140001740
mov eax, dword [rsp + 0x270]
or eax, 1
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0x250]
call fcn.140002710
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140016f40
add rsp, 0x2c8
ret