joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54da60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rsp + 0x48], rbx
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
xor edx, edx
jmp 0x54da92
movsxd r8, esi
shl edx, 8
movzx edi, byte [rbx + rdi]
or edx, edi
mov word [rsp + r8*2 + 0x10], dx
lea edx, [rsi + 1]
cmp edx, 8
jge 0x54dac5
mov esi, edx
shl edx, 1
movsxd rdx, edx
nop
cmp rcx, rdx
jbe 0x54dbcd
lea edi, [rsi + rsi]
lea edi, [rdi + 1]
movsxd rdi, edi
movzx edx, byte [rbx + rdx]
cmp rcx, rdi
ja 0x54da7d
nop dword [rax + rax]
jmp 0x54dbc5
xor ecx, ecx
jmp 0x54dae2
movzx ebx, word [rsp + rdx*2 + 0x10]
mov rsi, qword [0x007189a0]
movzx esi, word [rsi + rdx*2]
xor ebx, esi
mov word [rsp + rdx*2 + 0x20], bx
inc ecx
cmp ecx, 8
jge 0x54dafb
movsxd rdx, ecx
mov rbx, qword [0x007189a8]
cmp rbx, rdx
ja 0x54dac9
jmp 0x54dbb6
xor ecx, ecx
nop dword [rax]
jmp 0x54dba7
test byte [rax], al
movsxd rdx, ecx
movzx ebx, word [rsp + rdx*2 + 0x10]
lea esi, [rcx + 2]
and esi, 7
lea edi, [rcx + 1]
mov r8d, edi
and edi, 7
lea r9d, [rcx + 5]
and r9d, 7
lea r10d, [rcx + 6]
and r10d, 7
lea r11d, [rcx + 4]
and r11d, 7
lea r12d, [rcx + 3]
and r12d, 7
lea r13d, [rcx + 7]
and r13d, 7
rol bx, 1
mov word [rax + rdx*2], bx
movzx ebx, word [rsp + rsi*2 + 0x20]
mov word [rax + rdx*2 + 0x10], bx
movzx ebx, word [rsp + rdi*2 + 0x10]
rol bx, 5
mov word [rax + rdx*2 + 0x20], bx
movzx ebx, word [rsp + r9*2 + 0x10]
rol bx, 8
mov word [rax + rdx*2 + 0x30], bx
movzx ebx, word [rsp + r10*2 + 0x10]
rol bx, 0xd
mov word [rax + rdx*2 + 0x40], bx
movzx ebx, word [rsp + r11*2 + 0x20]
mov word [rax + rdx*2 + 0x50], bx
movzx ebx, word [rsp + r12*2 + 0x20]
mov word [rax + rdx*2 + 0x60], bx
movzx ebx, word [rsp + r13*2 + 0x20]
mov word [rax + rdx*2 + 0x70], bx
mov ecx, r8d
cmp ecx, 8
jl 0x54db05
add rsp, 0x30
pop rbp
ret
mov rax, rdx
mov rcx, rbx
nop dword [rax]
call sym.runtime.panicIndex
mov rax, rdi
call sym.runtime.panicIndex
mov rax, rdx
call sym.runtime.panicIndex
nop
int3
Function at 0x553040
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
cmp rcx, 0xa
jne 0x553085
mov rcx, qword [rbx]
bswap rcx
mov rdx, rcx
shl rcx, 0x30
mov rbx, qword [rbx + 2]
bswap rbx
mov rsi, rbx
shr rbx, 0x10
or rbx, rcx
nop
nop
nop
nop
mov qword [rax], rbx
mov ecx, 1
nop dword [rax]
jmp 0x5531e0
nop
nop
cmp rcx, 7
jbe 0x55316e
add rcx, 0xfffffffffffffff8
nop
nop word [rax + rax]
nop
cmp rcx, 7
jbe 0x553164
lea rcx, [rdi - 8]
neg rcx
sar rcx, 0x3f
and ecx, 8
mov rdx, qword [rbx]
bswap rdx
mov rcx, qword [rbx + rcx]
mov qword [rax], rdx
bswap rcx
mov ebx, 1
jmp 0x553154
mov rsi, rdx
shl rsi, 0x3d
mov rdi, rcx
shr rdi, 3
or rsi, rdi
shl rcx, 0x3d
shr rdx, 3
or rcx, rdx
mov rdx, rsi
shr rsi, 0x38
and esi, 0xf
lea rdi, [0x006dd100]
movzx esi, byte [rsi + rdi]
movabs r8, 0xf0ffffffffffffff
and rdx, r8
shl rsi, 0x38
or rdx, rsi
mov rsi, rdx
shr rsi, 0x3c
and esi, 0xf
movzx esi, byte [rsi + rdi]
movabs r9, 0xfffffffffffffff
and rdx, r9
shl rsi, 0x3c
or rdx, rsi
mov rsi, rbx
shr rsi, 2
xor rdx, rsi
mov qword [rax + rbx*8], rdx
mov rsi, rbx
shl rsi, 0x3e
inc rbx
xor rcx, rsi
cmp rbx, 0x1f
jbe 0x5530d2
add rsp, 0x10
pop rbp
ret
mov eax, 7
call sym.runtime.panicIndex
mov eax, 7
call sym.runtime.panicIndex
movzx ebx, dx
mov rdx, rsi
shr rdx, 3
movzx edi, dx
mov r8, rsi
shl r8, 0x3d
shl rbx, 0x2d
or rbx, r8
shr rsi, 0x13
or rsi, rbx
shr rdi, 0xc
and edi, 0xf
lea rbx, [0x006dd100]
movzx edi, byte [rbx + rdi]
and edx, 0xfff
shl rdi, 0xc
or rdx, rdi
mov rdi, rcx
shl rdi, 0xf
xor rsi, rdi
mov rdi, rdx
shl rdi, 0x30
mov r8, rsi
shr r8, 0x10
or r8, rdi
mov qword [rax + rcx*8], r8
inc rcx
nop dword [rax + rax]
cmp rcx, 0x1f
jbe 0x553178
jmp 0x55315e
Function at 0x555420
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 8
mov dword [rsp + 4], 0
mov ecx, eax
shr eax, 8
movzx edx, al
mov ebx, ecx
shr ecx, 0x10
movzx ecx, cl
mov esi, ebx
shr ebx, 0x18
movzx ebx, bl
nop
mov dword [rsp + 4], esi
movzx esi, byte [rsp + 4]
lea rdi, str.cw
movzx esi, byte [rsi + rdi]
mov byte [rsp + 4], sil
movzx eax, byte [rdi + rdx]
mov byte [rsp + 5], al
movzx ecx, byte [rdi + rcx]
mov byte [rsp + 6], cl
movzx edx, byte [rdi + rbx]
mov byte [rsp + 7], dl
shl edx, 0x18
shl ecx, 0x10
or ecx, edx
shl eax, 8
or eax, ecx
movzx ecx, byte [rsp + 4]
or eax, ecx
add rsp, 8
pop rbp
ret
Function at 0x180001000
Capabilities:
Get file size
Read file on windows

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 rax, qword [0x18000d4a0]
xor edi, edi
mov r13, r8
and qword [rsp + 0x30], rdi
mov r12, qword [rax + 8]
mov r14, rdx
lea r8d, [rdi + 1]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800010c8
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test eax, eax
jne 0x180001071
mov ebx, 0xe8
jmp 0x1800010d0
lea r8, [rbx + 2]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1800010c8
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800010c8
cmp ebx, dword [rsp + 0x88]
je 0x1800010b9
mov ebx, 0x1e
jmp 0x1800010d0
mov byte [rdi + rbx], 0
mov dword [r13], ebx
mov qword [r14], rdi
xor ebx, ebx
jmp 0x1800010d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rsi, 0xffffffffffffffff
je 0x1800010df
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x1800010f6
test ebx, ebx
je 0x1800010f6
mov r8, rdi
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180001d98
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xc0
mov rax, qword [0x18000d4a0]
mov r13, qword [0x18000d490]
xor edx, edx
mov rbp, qword [rax + 8]
mov r12, rcx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x58]
call sub.ntdll.dll_memset
mov rax, qword [r12 + 0x60]
lea r14, [0x180000000]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], rax
mov rax, qword [r12 + 0x68]
mov qword [rsp + 0xa0], rax
mov eax, dword [0x18000d498]
lea rcx, [r13 + r14 + 0x113c8]
add eax, 0x128ab690
lea rdx, [rsp + 0xf0]
xor edi, edi
mov dword [rsp + 0x50], 0x68
mov dword [rsp + 0x8c], 0x101
mov dword [rsp + 0xf0], eax
mov word [rsp + 0x90], di
call fcn.1800089e4
mov rsi, rax
cmp rax, rdi
je 0x180001ec6
mov eax, dword [rsp + 0xf0]
lea rdx, [r13 + r14 + 0x113f8]
lea r8d, [rdi + 0x10]
lea rbx, [rsi + rax*2 + 2]
mov rcx, rbx
call sub.ntdll.dll_memcpy
lea r11, [r12 + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, edi
jne 0x180001eb6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov r8, rsi
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180001ecb
mov edi, 8
lea r11, [rsp + 0xc0]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180003cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rsi, rdx
mov r13, rcx
mov r14, qword [0x18000d4a0]
mov qword [rsp + 0x48], r14
xor ebx, ebx
mov r15w, bx
cmp r8d, ebx
cmove r8d, r9d
cmp r8d, ebx
je 0x180003e12
mov edi, r8d
add rdi, rcx
mov qword [r11 - 0x48], rdi
mov r12d, r9d
add r12, rcx
mov qword [r11 - 0x40], r12
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x40], rax
mov rcx, qword [r11 - 0x50]
cmp qword [rdi], rbx
je 0x180003e12
movabs rdx, 0x8000000000000000
test qword [rdi], rdx
jne 0x180003d47
mov eax, dword [rdi]
add rax, r13
jmp 0x180003d68
cmp qword [rdi], r13
jb 0x180003d5c
mov eax, dword [rax + 0x50]
add rax, r13
cmp qword [rdi], rax
jae 0x180003d5c
mov rax, qword [rdi]
jmp 0x180003d68
mov rax, rbx
mov r15, qword [rdi]
mov word [rsp + 0x20], r15w
cmp rax, rbx
jne 0x180003d98
mov edx, 0xdbf6aa7c
mov rcx, qword [r14 + 0x18]
call fcn.18000459c
cmp rax, rbx
je 0x180003d8e
movzx edx, r15w
mov rcx, rsi
call rax
mov rcx, rax
jmp 0x180003d91
mov rcx, rbx
mov qword [rsp + 0x28], rcx
jmp 0x180003de2
lea rsi, [rax + 2]
cmp byte [rsi], bl
je 0x180003dda
mov edx, 0xdbf6aa7c
mov rcx, qword [r14 + 0x18]
call fcn.18000459c
cmp rax, rbx
je 0x180003dc8
mov rdx, rsi
mov rsi, qword [rsp + 0x88]
mov rcx, rsi
call rax
mov rcx, rax
jmp 0x180003dd3
mov rcx, rbx
mov rsi, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
jmp 0x180003de2
mov rsi, qword [rsp + 0x88]
cmp rcx, rbx
jne 0x180003df2
mov ebx, 0x7f
mov dword [rsp + 0x24], ebx
jmp 0x180003e12
mov qword [r12], rcx
add rdi, 8
mov qword [rsp + 0x30], rdi
add r12, 8
mov qword [rsp + 0x38], r12
mov rax, qword [rsp + 0x40]
jmp 0x180003d28
jmp 0x180003e3a
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180006754
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0xf0
mov rax, qword [0x18000d4a0]
mov rbx, rdx
xor edx, edx
mov rbp, qword [rax + 8]
mov rsi, rcx
lea rcx, [r11 - 0x70]
lea r8d, [rdx + 0x60]
call sub.ntdll.dll_memset
and qword [rsp + 0x50], 0
xor eax, eax
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x80], 0x68
call fcn.1800089e4
xor ecx, ecx
test rax, rax
mov rdi, rax
cmovne rcx, rax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
and qword [rsp + 0x30], 0
xor ecx, ecx
mov rdx, rbx
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180006862
mov rax, qword [rsp + 0x50]
mov r9d, dword [rsi + 0x64]
xor r8d, r8d
mov qword [rsp + 0x68], rax
mov rax, qword [rsi + 0x28]
lea rdx, [rsp + 0x68]
lea ecx, [r8 + 2]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, eax
test eax, eax
je 0x18000684a
mov edx, 0x102
cmp eax, 1
cmove ebx, edx
cmp ebx, edx
jne 0x18000684a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000686a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test rdi, rdi
je 0x18000687d
mov r8, rdi
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0xf0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800070fc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r8, dword [rdx + 0x3c]
mov r14d, dword [0x18000d498]
mov r15, r9
add r8, rdx
mov r13, rdx
mov rdi, rcx
movzx eax, word [r8 + 0x14]
movzx ebp, word [r8 + 6]
mov r12d, dword [r8 + 0x3c]
lea rbx, [rax + r8 + 0x2c]
mov eax, dword [rbx]
cmp dword [r8 + 0x54], eax
cmova eax, dword [r8 + 0x54]
mov r8d, eax
call sub.ntdll.dll_memcpy
test ebp, ebp
je 0x180007189
lea esi, [r12 - 1]
not esi
mov eax, dword [rbx - 4]
lea ecx, [rax + r12 - 1]
and ecx, esi
je 0x18000717f
mov edx, dword [rbx]
mov r8d, ecx
mov ecx, dword [rbx - 8]
add rcx, rdi
add rdx, r13
call sub.ntdll.dll_memcpy
add rbx, 0x28
sub rbp, 1
jne 0x180007160
movsxd rbx, dword [rdi + 0x3c]
mov rcx, rdi
add rbx, rdi
mov rdx, rbx
call fcn.18000417c
mov r11d, eax
test eax, eax
jne 0x1800071fe
lea eax, [r14 + 0x128ab589]
mov edx, dword [rbx + rax*8 + 0x88]
test edx, edx
je 0x1800071e3
mov eax, dword [rbx + rax*8 + 0x8c]
test eax, eax
je 0x1800071e3
mov r9d, dword [rbx + 0x50]
lea r8, [rdi + rdx]
mov rcx, rdi
add r9d, 0xfff
xor edx, edx
mov dword [rsp + 0x20], eax
and r9d, 0xfffff000
call fcn.180008810
mov rdx, rbx
mov rcx, rdi
call fcn.180004748
mov r11d, eax
test eax, eax
jne 0x1800071fe
mov eax, dword [rbx + 0x28]
add rax, rdi
mov qword [r15], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov eax, r11d
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180007b94
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov r15, rdx
mov r13, rcx
mov rax, qword [0x18000d4a0]
mov r14, qword [rax + 8]
mov qword [rsp + 0x50], r14
mov rax, qword [0x18000d490]
mov qword [rsp + 0x48], rax
mov eax, dword [0x18000d498]
mov dword [rsp + 0xa0], eax
xor esi, esi
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rax + rcx + 0x88]
test ecx, ecx
je 0x180007da3
cmp dword [rax + r13 + 0x8c], esi
je 0x180007da3
lea r12, [r13 + rcx]
mov r8d, dword [r12 + 0x18]
shl r8, 5
add r8, 0x2010
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x180007d9c
xor edx, edx
mov r8d, 0x2010
mov rcx, rax
call sub.ntdll.dll_memset
lea r11, [rdi + 0x2010]
mov qword [rdi + 8], r11
mov r10d, dword [r12 + 0x1c]
add r10, r13
mov qword [rsp + 0x40], r10
mov ecx, dword [r12 + 0x18]
mov dword [rsp + 0xb8], ecx
cmp dword [r12 + 0x24], esi
je 0x180007d6d
mov eax, dword [r12 + 0x24]
add rax, r13
mov qword [rsp + 0x28], rax
mov r11d, dword [r12 + 0x20]
add r11, r13
mov qword [rsp + 0x38], r11
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov r9d, dword [rsp + 0xb0]
mov r12, qword [rsp + 0x30]
cmp r8d, ecx
jae 0x180007d6d
mov ecx, dword [r11]
add rcx, r13
cmp byte [rcx], 0
je 0x180007cd6
or edx, 0xffffffff
call fcn.180008c48
mov r9d, eax
xor r9d, dword [rsp + 0xa0]
mov dword [rsp + 0xb0], r9d
mov r8d, dword [rsp + 0x20]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x38]
movzx eax, r9b
shl rax, 5
lea rdx, [rax + rdi + 0x10]
cmp dword [rdx + 0x18], 0
je 0x180007d1d
cmp r9d, dword [rdx + 0x18]
jbe 0x180007cfa
lea r12, [rdx + 8]
mov qword [rsp + 0x30], r12
jmp 0x180007d07
cmp r9d, dword [rdx + 0x18]
cmovb r12, rdx
mov qword [rsp + 0x30], r12
mov rdx, qword [r12]
test rdx, rdx
jne 0x180007ce9
mov rdx, qword [rdi + 8]
mov qword [r12], rdx
add qword [rdi + 8], 0x20
mov dword [rdx + 0x18], r9d
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
mov ecx, dword [r10 + rax*4]
add rcx, qword [rsp + 0x48]
add rcx, r13
mov qword [rdx + 0x10], rcx
and qword [rdx + 8], 0
and qword [rdx], 0
add r11, 4
mov qword [rsp + 0x38], r11
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
inc r8d
mov dword [rsp + 0x20], r8d
mov ecx, dword [rsp + 0xb8]
jmp 0x180007c98
jmp 0x180007d83
test esi, esi
jne 0x180007d8c
mov qword [r15], rdi
jmp 0x180007da8
mov r8, rdi
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180007da8
mov esi, 8
jmp 0x180007da8
mov esi, 0xb
mov eax, esi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x10000da90
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rcx
lea rax, [0x100002fb8]
mov qword [rcx], rax
mov rdi, qword [rcx + 0x30]
test rdi, rdi
je 0x10000db89
mov qword [rsp + 0x48], rdi
mov dword [rdi + 0x10], 1
xor edx, edx
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10000daf0
mov edx, 0x1388
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rdi + 0x14], 1
mov dword [rdi + 0x10], 1
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x1388
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10000db30
xor edx, edx
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rdi + 0xa0], 0
lea rcx, [rdi + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rdi + 0x28]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rdi + 8]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, rdi
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
nop
lea rcx, [rbx + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x10000dba3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x10000dbb3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x10000dbc3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.10000b9f4
Function at 0x10000dda0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x160
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1000341e0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, r9
mov rbx, r8
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov rbp, qword [rsp + 0x1b8]
lea rax, [0x1000030d8]
mov qword [rcx], rax
xor r12d, r12d
mov qword [rcx + 8], r12
mov rax, qword [rsp + 0x1a8]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r12
mov qword [rcx + 0x20], r12
mov rax, qword [rsp + 0x1b0]
mov qword [rcx + 0x28], rax
or dword [rcx + 0x30], 0xffffffff
mov dword [rcx + 0x3c], r12d
mov dword [rcx + 0x40], 1
mov dword [rcx + 0x44], r12d
mov dword [rcx + 0x48], r12d
mov rax, qword [rsp + 0x1c0]
mov qword [rcx + 0x50], rax
mov dword [rcx + 0x58], r12d
mov qword [rcx + 0x60], r12
mov qword [rcx + 0x68], r12
mov qword [rcx + 0x70], r12
mov dword [rcx + 0x78], edx
mov dword [rcx + 0x7c], edx
sub rcx, 0xffffffffffffff80
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rcx, [rdi + 0x88]
mov rdx, rbx
call sub.MFC42u.dll_CDaoException::CDaoException
mov dword [rdi + 0x90], r12d
mov rdx, qword [rdi + 0x50]
mov rcx, rdx
cmp rdx, r12
je 0x10000de96
cmp dword [rcx + 8], r12d
jne 0x10000de8d
mov rax, qword [rcx + 0x10]
cmp dword [rax - 8], r12d
je 0x10000de96
inc dword [rdi + 0x48]
add rcx, 0x28
jne 0x10000de7d
cmp rdx, r12
je 0x10000deb2
cmp dword [rdx + 0x1c], r12d
je 0x10000deb2
mov dword [rdi + 0x30], r12d
mov dword [rdi + 0x38], 1
mov eax, dword [rdx + 0x20]
mov dword [rdi + 0x34], eax
mov ebx, dword [rsp + 0x1d0]
cmp ebx, r12d
je 0x10000def9
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, r12d
je 0x10000def9
cmp ebx, 1
jne 0x10000deeb
mov eax, r12d
cmp dword [rsp + 0x40], 2
setne al
mov dword [rdi + 0x3c], eax
jmp 0x10000def9
mov eax, r12d
cmp dword [rsp + 0x40], 2
sete al
mov dword [rdi + 0x3c], eax
lea rax, [0x100003008]
mov qword [rdi], rax
mov dword [rdi + 0x98], r12d
mov eax, dword [rsp + 0x1a0]
mov dword [rdi + 0x9c], eax
mov qword [rdi + 0xa0], rsi
lea rcx, [rdi + 0xa8]
lea rdx, [0x100001e7c]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rcx, [rdi + 0xb0]
mov rdx, rbp
call sub.MFC42u.dll_CControlBar::CControlBar
mov r11, qword [rdi + 0x10]
cmp r11, r12
je 0x10000df54
cmp qword [r11 + 0x18], r12
jne 0x10000df54
mov qword [r11 + 0x18], rdi
mov rcx, qword [rdi + 0x28]
cmp rcx, r12
je 0x10000df85
mov rax, qword [rcx + 0x20]
cmp rax, r12
jne 0x10000df6c
mov qword [rcx + 0x20], rdi
jmp 0x10000df85
lea rcx, [rax + 0x20]
cmp qword [rcx], r12
je 0x10000df81
mov rax, qword [rcx]
lea rcx, [rax + 0x20]
cmp qword [rcx], r12
jne 0x10000df75
mov qword [rax + 0x20], rdi
mov rax, rdi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.100020710
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x10000f190
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbx
push rbp
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x70], 0xfffffffffffffffe
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1000341e0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov ebx, r8d
movapd xmm6, xmm1
mov rdi, rcx
mov qword [rsp + 0x78], rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov word [rsp + 0x90], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x92]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x88], 0x2c
xor eax, eax
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x80], 0x2e
mov dword [rsp + 0x84], eax
lea r9d, [rbp + 4]
lea r8, [rsp + 0x88]
lea edx, [rbp + 0xf]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea r9d, [rbp + 4]
lea r8, [rsp + 0x80]
lea edx, [rbp + 0xe]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
lea r8d, [rbp + 0x28]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x50], 3
lea rcx, [0x100001e7c]
lea rax, [rsp + 0x80]
cmp ebx, ebp
cmove rax, rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], ebx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
mov r8d, ebx
lea rdx, [0x1000031e0]
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CPtrList::FreeNode
movapd xmm2, xmm6
movq r8, xmm2
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CPtrList::FreeNode
lea r8, [0x100002d28]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.1000168dc
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea rdx, [rsp + 0x90]
mov rcx, rdi
call sub.MFC42u.dll_CDaoException::CDaoException
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rax, rdi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.100020710
movaps xmm6, xmmword [rsp + 0x2b0]
add rsp, 0x2c0
pop rdi
pop rbp
pop rbx
ret