joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400357e8
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140035818
xor eax, eax
jmp 0x1400358db
mov rbp, rbx
cmp word [rax], si
je 0x14003583d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140035824
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140035820
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140033ea8
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14003587e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140035811
call fcn.14002d690
mov rdi, rax
test rax, rax
jne 0x140035894
xor ecx, ecx
call fcn.14002c850
jmp 0x140035873
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140033ea8
test eax, eax
jne 0x1400358c5
mov rcx, rdi
call fcn.14002c850
jmp 0x1400358cf
xor ecx, ecx
call fcn.14002c850
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140038a2c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x140038a9f
cmp word [rcx], si
je 0x140038a9f
lea rdx, [0x1400477b8]
call fcn.14003c7c8
test eax, eax
je 0x140038a9f
lea rdx, [0x1400477d0]
mov rcx, rbx
call fcn.14003c7c8
test eax, eax
jne 0x140038a95
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140038abc
mov eax, dword [rsp + 0x30]
jmp 0x140038ace
mov rcx, rbx
call fcn.140025420
jmp 0x140038ace
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140038ac0
xor eax, eax
jmp 0x140038ace
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140038ace
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140038ae0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.14002f348
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140038b83
cmp edi, dword [rsp + 0x30]
je 0x140038b7c
test ebp, ebp
je 0x140038b7c
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x140038b58
sub dx, 0x61
cmp dx, 0x19
ja 0x140038b64
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x140038b45
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x140038b68
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x140038b85
mov eax, 1
jmp 0x140038b85
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14003c480
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.140028b98
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14003c50a
cmp byte [rbp - 0x21], r15b
je 0x14003c505
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14003c540
call fcn.14002cb60
test eax, eax
jne 0x14003c52c
cmp byte [rbp - 0x21], r15b
je 0x14003c524
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14003c540
cmp byte [rbp - 0x21], r15b
je 0x14003c53d
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.1400291c4
test eax, eax
jne 0x14003c5e0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140028b98
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14003c57f
cmp byte [rbp - 0x21], r15b
je 0x14003c5b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14003c5b4
call fcn.14002cb60
test eax, eax
jne 0x14003c5a0
cmp byte [rbp - 0x21], r15b
je 0x14003c599
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14003c5b4
cmp byte [rbp - 0x21], r15b
je 0x14003c5b1
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.1400291c4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14003c5e0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14003c5e3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14003c5f1
mov rcx, rdi
call fcn.14002c850
cmp byte [rbp + 0x3f], r15b
je 0x14003c600
mov rcx, qword [rbp + 0x27]
call fcn.14002c850
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 0x14003d074
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140031c5c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140031c5c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14003d1c1
cmp rax, 0xffffffffffffffff
je 0x14003d1c1
xor edi, edi
test rbp, rbp
jle 0x14003d16f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002c7d0
mov rbx, rax
test rax, rax
jne 0x14003d0fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14003d165
mov edx, 0x8000
mov ecx, r14d
call fcn.14002ac98
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140030928
cmp eax, 0xffffffff
je 0x14003d145
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14003d10c
mov edx, r15d
mov ecx, r14d
call fcn.14002ac98
jmp 0x14003d165
cmp byte [rsi + 0x38], dil
je 0x14003d15c
cmp dword [rsi + 0x34], 5
jne 0x14003d15c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14003d165
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002c850
jmp 0x14003d1d3
jns 0x14003d1d3
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140031c5c
cmp rax, 0xffffffffffffffff
jne 0x14003d18d
cmp byte [rsi + 0x30], dil
je 0x14003d1d3
jmp 0x14003d1c9
mov ecx, r14d
call fcn.140036534
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14003d1d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14003d1d3
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14003d1ce
mov edi, dword [rsi + 0x2c]
jmp 0x14003d1d3
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140031c5c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14003e010
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov rsi, rcx
lea rcx, [0x1004ff5c]
mov qword [rsp + 0x48], rdi
mov ebp, edx
call fcn.100336d0
lea rcx, str.8192
mov edi, eax
call fcn.100336d0
lea rcx, str.4096
mov ebx, eax
call fcn.100336d0
mov rdx, rbp
or ebx, eax
mov r9d, edi
xor ecx, ecx
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, qword [rsp + 0x48]
test rax, rax
mov r11, rax
jne 0x10001229
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
xor r8d, r8d
test ebp, ebp
je 0x1000127c
mov r9, rax
mov r10, r8
sub rsi, rax
lea rbx, str.GPt5GXVB30J7hJFM__Bjq8isdm2l_v6rQ_o757vD5
mov eax, 0x6c16c16d
mov rcx, r10
add r9, 1
add r10, 1
mul r8d
mov eax, r8d
add r8d, 1
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul rax, rax, 0x2d
sub rcx, rax
movzx eax, byte [rcx + rbx]
xor al, byte [rsi + r9 - 1]
cmp r8d, ebp
mov byte [r9 - 1], al
jb 0x10001240
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rax, r11
add rsp, 0x28
ret

Function at 0x100012a0
Capabilities:
Decode data using base64 via winapi

Disassembly:
sub rsp, 0x58
test r8, r8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x50], r12
mov rbx, rdx
mov r12d, r9d
mov rsi, r8
mov rbp, rcx
jne 0x100012d0
xor al, al
jmp 0x10001354
mov qword [rsp + 0x48], r13
xor r13d, r13d
xor r9d, r9d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdx
lea r8d, [r13 + 1]
mov edx, r12d
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x1000134f
mov ecx, dword [rbx]
mov qword [rsp + 0x78], rdi
add ecx, 1
call fcn.10032b30
test rax, rax
mov rdi, rax
mov qword [rbp], rax
je 0x1000134a
mov ecx, dword [rbx]
xor eax, eax
mov qword [rsp + 0x30], r13
add ecx, 1
lea r8d, [rax + 1]
mov edx, r12d
rep stosb byte [rdi], al
mov r9, qword [rbp]
mov rcx, rsi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
setne al
mov rdi, qword [rsp + 0x78]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x10001370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov r8d, dword [rax + rcx + 0x88]
mov qword [rsp + 0x18], rsi
xor r9d, r9d
add r8, rcx
mov qword [rsp + 0x20], rdi
mov r11, rcx
mov r10d, dword [r8 + 0x20]
mov esi, dword [r8 + 0x1c]
mov ebp, dword [r8 + 0x24]
mov ebx, dword [r8 + 0x18]
add r10, rcx
add rsi, rcx
add rbp, rcx
test ebx, ebx
mov rdi, rdx
je 0x100013f5
nop
nop
mov eax, dword [r10]
mov r8, rdi
add rax, r11
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x100013e4
add rax, 1
test ecx, ecx
jne 0x100013d0
test edx, edx
je 0x1000140c
add r9d, 1
add r10, 4
cmp r9d, ebx
jb 0x100013c0
xor eax, eax
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 8]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x100013f7
Function at 0x10007b40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x10007b7b
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x28
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
je 0x10007bbf
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x10007bba
cmp rbx, r11
jae 0x10007bbf
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x10007ba8
cmp rbx, r11
jb 0x10007bc3
xor eax, eax
jmp 0x10007bcf
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x10008320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov eax, r8d
mov qword [rsp + 0x70], rsi
mov rsi, rdx
shr eax, 4
add ax, 1
mov ebx, r8d
mov rbp, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov r12, rax
je 0x10008495
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x10008495
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x10008495
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x100083c6
nop
cmp rdi, r11
jae 0x10008495
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x100083b0
cmp rdi, r11
jae 0x10008495
movzx eax, word [rdi]
test ax, ax
je 0x10008495
mov qword [rsp + 0x48], r13
movzx ebx, ax
call qword [0x100a9610]
xor r13d, r13d
lea r12, [rdi + 2]
mov r9d, ebx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rbp]
mov edx, 1
movsxd rsi, eax
sub edx, dword [rcx - 8]
mov ecx, dword [rcx - 0xc]
sub ecx, esi
or edx, ecx
jge 0x10008436
mov edx, esi
mov rcx, rbp
call fcn.100081a0
mov rbx, qword [rbp]
movzx edi, word [rdi]
call qword [0x100a9610]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r9d, edi
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test esi, esi
mov r13, qword [rsp + 0x48]
js 0x1000848a
mov rcx, qword [rbp]
cmp esi, dword [rcx - 0xc]
jg 0x1000848a
mov dword [rcx - 0x10], esi
mov rcx, qword [rbp]
mov eax, 1
mov byte [rsi + rcx], 0
jmp 0x10008497
mov ecx, 0x80070057
call fcn.10001000
int3
xor eax, eax
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x10018678
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x100186d2
call fcn.1001a01c
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x100186d2
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x100186f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.100180f8
test rdi, rdi
mov esi, eax
je 0x100186f2
test rbx, rbx
je 0x100186f2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x10018f38
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x10018f6e
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10019025
call fcn.1001a410
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x10018f8d
mov ecx, 0x80004005
call fcn.10001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x118]
mov rdx, rsi
mov rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x50]
mov rcx, rdi
call fcn.10034be0
test eax, eax
je 0x10018ff8
cmp eax, 0xc
je 0x10018ff2
cmp eax, 0x16
je 0x10018fec
cmp eax, 0x22
je 0x10018fec
cmp eax, 0x50
je 0x10018ff8
call fcn.10009a70
int3
call fcn.10009a70
int3
call fcn.10009a28
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x10019023
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x10037d87
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100a7ca8]
jne 0x100332ba
rol rcx, 0x10
test cx, 0xffff
jne 0x100332b6
repz ret
ror rcx, 0x10
jmp 0x10037ce0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100ad5c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x100ad6b8]
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 0x10037d65
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, [0x100ad5c0]
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 0x10037d87
mov rax, qword [rsp + 0x88]
mov qword [0x100ad6b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100ad658], rax
mov rax, qword [0x100ad6b8]
mov qword [0x100ad530], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100ad640], rax
mov dword [0x100ad520], 0xc0000409
mov dword [0x100ad524], 1
mov rax, qword [0x100a7ca8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100a7cb0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x100ad5b8], eax
mov ecx, 1
call fcn.10043f00
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x10092ad8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x100ad5b8], 0
jne 0x10037e0e
mov ecx, 1
call fcn.10043f00
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 0x10043c60
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.100384f0
xor ebx, ebx
cmp qword [0x100adfc0], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x10043d91
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x10043cc3
xor eax, eax
jmp 0x10043e71
lea rdx, [0x100936b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x10043cbc
mov rcx, rax
call fcn.10038480
lea rdx, [0x100936a0]
mov rcx, rbp
mov qword [0x100adfc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.10038480
lea rdx, [0x10093688]
mov rcx, rbp
mov qword [0x100adfc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.10038480
lea rcx, [rsp + 0x30]
mov qword [0x100adfd0], rax
call fcn.10034f00
test eax, eax
je 0x10043d47
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.10037b20
cmp dword [rsp + 0x30], 2
jne 0x10043d91
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.10038480
test rax, rax
mov qword [0x100adfe0], rax
je 0x10043d91
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.10038480
mov qword [0x100adfd8], rax
mov rcx, qword [0x100adfd8]
cmp rcx, rsi
je 0x10043e23
cmp qword [0x100adfe0], rsi
je 0x10043e23
call fcn.10038550
call rax
test rax, rax
mov rbp, rax
je 0x10043dee
mov rcx, qword [0x100adfe0]
call fcn.10038550
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x10043dee
test byte [rsp + 0x48], 1
jne 0x10043e23
lea rcx, [rsp + 0x34]
call fcn.10034f50
test eax, eax
je 0x10043e10
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.10037b20
cmp dword [rsp + 0x34], 4
jb 0x10043e1d
bts edi, 0x15
jmp 0x10043e57
bts edi, 0x12
jmp 0x10043e57
mov rcx, qword [0x100adfc8]
cmp rcx, rsi
je 0x10043e57
call fcn.10038550
call rax
test rax, rax
mov rbx, rax
je 0x10043e57
mov rcx, qword [0x100adfd0]
cmp rcx, rsi
je 0x10043e57
call fcn.10038550
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x100adfc0]
call fcn.10038550
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret