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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp dword [0x1803da43c], 0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ebp, 1
jne 0x1800a2fc1
lea rcx, str.XML_DEBUG_CATALOG
call qword [sym.imp.MSVCR100.dll_getenv]
mov r9d, dword [0x1803da438]
test rax, rax
cmovne r9d, ebp
mov dword [0x1803da438], r9d
call sym.VBoxRT.dll_xmlNewRMutex
mov dword [0x1803da43c], ebp
mov qword [0x1803da450], rax
jmp 0x1800a2fc8
mov rax, qword [0x1803da450]
mov rcx, rax
call sym.VBoxRT.dll_xmlRMutexLock
mov rcx, qword [0x1803da448]
test rcx, rcx
jne 0x1800a3047
lea rdx, str.catalog
mov rcx, rbx
call sym.VBoxRT.dll_xmlStrEqual
test eax, eax
je 0x1800a3040
mov edx, dword [reloc.WS2_32.dll_accept]
mov ecx, ebp
call fcn.18009eb50
xor r9d, r9d
mov r8, rdi
mov qword [0x1803da448], rax
mov eax, dword [reloc.WS2_32.dll_accept]
xor edx, edx
mov ecx, ebp
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call fcn.1800a0530
mov rcx, qword [0x1803da448]
mov qword [rcx + 0x70], rax
mov rcx, qword [0x1803da450]
call sym.VBoxRT.dll_xmlRMutexUnlock
xor eax, eax
jmp 0x1800a3065
mov rcx, qword [0x1803da448]
mov r9, rsi
mov r8, rdi
mov rdx, rbx
call sym.VBoxRT.dll_xmlACatalogAdd
mov rcx, qword [0x1803da450]
mov ebx, eax
call sym.VBoxRT.dll_xmlRMutexUnlock
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1800a3f60
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1803da43c], 0
mov rbx, rcx
jne 0x1800a3fb4
lea rcx, str.XML_DEBUG_CATALOG
mov qword [rsp + 0x30], rdi
call qword [sym.imp.MSVCR100.dll_getenv]
mov edx, dword [0x1803da438]
mov edi, 1
test rax, rax
cmovne edx, edi
mov dword [0x1803da438], edx
call sym.VBoxRT.dll_xmlNewRMutex
mov dword [0x1803da43c], edi
mov rdi, qword [rsp + 0x30]
mov qword [0x1803da450], rax
jmp 0x1800a3fbb
mov rax, qword [0x1803da450]
mov rcx, rax
call sym.VBoxRT.dll_xmlRMutexLock
mov rcx, qword [0x1803da448]
test rcx, rcx
jne 0x1800a4005
mov rcx, rbx
call sym.VBoxRT.dll_xmlLoadACatalog
mov rcx, qword [0x1803da450]
test rax, rax
jne 0x1800a3ff1
call sym.VBoxRT.dll_xmlRMutexUnlock
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov qword [0x1803da448], rax
call sym.VBoxRT.dll_xmlRMutexUnlock
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, rbx
call fcn.1800a22b0
mov rcx, qword [0x1803da450]
mov ebx, eax
call sym.VBoxRT.dll_xmlRMutexUnlock
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1800a4df0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rax, rdx
test rcx, rcx
je 0x1800a4e3e
test rdx, rdx
je 0x1800a4e3e
mov r9, rcx
movsxd r8, r8d
mov edx, 1
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.MSVCR100.dll_fread]
mov rbx, rax
test eax, eax
jns 0x1800a4e32
xor edx, edx
lea r8, str.fread__
lea ecx, [rdx + 8]
call fcn.1800a4220
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
or eax, 0xffffffff
add rsp, 0x28
ret
Function at 0x1800aaff0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov rax, rcx
test rdx, rdx
jne 0x1800ab009
xor eax, eax
add rsp, 0x20
pop rbx
ret
cmp qword [rdx], 0
je 0x1800ab001
test rcx, rcx
jne 0x1800ab01e
call qword [sym.imp.MSVCR100.dll___iob_func]
add rax, 0x30
mov r8d, dword [rbx + 8]
mov rcx, qword [rbx]
mov r9, rax
mov edx, 1
add rsp, 0x20
pop rbx
jmp qword [sym.imp.MSVCR100.dll_fwrite]
Function at 0x1800d3270
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call sym.VBoxRT.dll_xmlIsMainThread
test eax, eax
je 0x1800d3289
lea rax, str.20631
add rsp, 0x28
ret
add rsp, 0x28
jmp sym.VBoxRT.dll_xmlGetGlobalState

Function at 0x1800d3659
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test rcx, rcx
je 0x1800d37a8
mov r11, rsp
push rbp
push rsi
sub rsp, 0x98
mov rax, qword [0x1803c1370]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [rcx + 0x20]
mov rbp, r8
mov r8, qword [rcx + 0x18]
mov qword [r11 + 8], rbx
mov rsi, rdx
mov r9, rcx
mov qword [r11 - 0x18], rdi
cmp rax, r8
jbe 0x1800d36aa
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x1800d36a2
cmp cl, 0xd
jne 0x1800d36aa
dec rax
cmp rax, r8
ja 0x1800d3695
xor ebx, ebx
mov ecx, ebx
nop
inc ecx
cmp rax, r8
jbe 0x1800d36cc
movzx edx, byte [rax]
cmp dl, 0xa
je 0x1800d36d9
cmp dl, 0xd
je 0x1800d36cc
dec rax
cmp ecx, 0x50
jb 0x1800d36b0
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x1800d36d9
cmp cl, 0xd
jne 0x1800d36dc
inc rax
mov edi, dword [r9 + 0x20]
movzx ecx, byte [rax]
mov edx, ebx
sub edi, eax
lea r8, [rsp + 0x20]
test cl, cl
je 0x1800d3719
lea r9, [rsp + 0x20]
sub rax, r9
cmp cl, 0xa
je 0x1800d3719
cmp cl, 0xd
je 0x1800d3719
cmp edx, 0x50
jae 0x1800d3719
mov byte [r8], cl
movzx ecx, byte [rax + r8 + 1]
inc r8
inc edx
test cl, cl
jne 0x1800d36f8
mov byte [r8], bl
lea rdx, [0x180271050]
lea r8, [rsp + 0x20]
mov rcx, rbp
call rsi
lea r8, [rsp + 0x20]
test edi, edi
je 0x1800d3768
mov ecx, 0x20
nop dword [rax + rax]
mov eax, ebx
inc ebx
cmp eax, 0x4f
jae 0x1800d3768
movzx r9d, byte [r8]
test r9b, r9b
je 0x1800d3768
cmp r9b, 9
movzx eax, r9b
cmovne eax, ecx
inc r8
mov byte [r8 - 1], al
cmp ebx, edi
jb 0x1800d3740
mov word [r8], 0x5e
lea rdx, [0x180271050]
lea r8, [rsp + 0x20]
mov rcx, rbp
call rsi
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180227610
add rsp, 0x98
pop rsi
pop rbp
repz ret

Function at 0x1800d5a00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov rbx, rcx
test rdx, rdx
je 0x1800d5a43
movzx r11d, byte [rdx]
mov r10d, r11d
imul r10d, r10d, 0x1e
test r11b, r11b
je 0x1800d5a43
mov ecx, r10d
mov eax, r10d
inc rdx
shl ecx, 5
shr eax, 3
add ecx, eax
movsx eax, r11b
movzx r11d, byte [rdx]
add ecx, eax
xor r10d, ecx
test r11b, r11b
jne 0x1800d5a20
test r8, r8
je 0x1800d5a71
movzx edx, byte [r8]
test dl, dl
je 0x1800d5a71
mov ecx, r10d
mov eax, r10d
inc r8
shl ecx, 5
shr eax, 3
add ecx, eax
movsx eax, dl
movzx edx, byte [r8]
add ecx, eax
xor r10d, ecx
test dl, dl
jne 0x1800d5a50
test r9, r9
je 0x1800d5aa1
movzx eax, byte [r9]
test al, al
je 0x1800d5aa1
nop
mov edx, r10d
mov ecx, r10d
inc r9
shl edx, 5
shr ecx, 3
add edx, ecx
movsx ecx, al
movzx eax, byte [r9]
add edx, ecx
xor r10d, edx
test al, al
jne 0x1800d5a80
xor edx, edx
mov eax, r10d
div dword [rbx + 8]
mov rbx, qword [rsp + 8]
mov eax, edx
ret
Function at 0x1800d5ac0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov rbx, rcx
test rdx, rdx
je 0x1800d5b18
movzx r11d, byte [rdx]
mov r10d, r11d
imul r10d, r10d, 0x1e
test r11b, r11b
je 0x1800d5b03
nop dword [rax]
mov ecx, r10d
mov eax, r10d
inc rdx
shl ecx, 5
shr eax, 3
add ecx, eax
movsx eax, r11b
movzx r11d, byte [rdx]
add ecx, eax
xor r10d, ecx
test r11b, r11b
jne 0x1800d5ae0
mov ecx, r10d
mov eax, r10d
shl ecx, 5
shr eax, 3
lea eax, [rcx + rax + 0x3a]
xor r10d, eax
jmp 0x1800d5b20
movzx r10d, byte [r8]
imul r10d, r10d, 0x1e
test r8, r8
je 0x1800d5b51
movzx edx, byte [r8]
test dl, dl
je 0x1800d5b51
nop dword [rax]
mov ecx, r10d
mov eax, r10d
inc r8
shl ecx, 5
shr eax, 3
add ecx, eax
movsx eax, dl
movzx edx, byte [r8]
add ecx, eax
xor r10d, ecx
test dl, dl
jne 0x1800d5b30
test r9, r9
je 0x1800d5b94
movzx edx, byte [r9]
test dl, dl
je 0x1800d5b81
nop
mov ecx, r10d
mov eax, r10d
inc r9
shl ecx, 5
shr eax, 3
add ecx, eax
movsx eax, dl
movzx edx, byte [r9]
add ecx, eax
xor r10d, ecx
test dl, dl
jne 0x1800d5b60
mov ecx, r10d
mov eax, r10d
shl ecx, 5
shr eax, 3
lea eax, [rcx + rax + 0x3a]
xor r10d, eax
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x1800d5bd3
movzx r8d, byte [rdx]
test r8b, r8b
je 0x1800d5bd3
nop word [rax + rax]
mov ecx, r10d
mov eax, r10d
inc rdx
shl ecx, 5
shr eax, 3
add ecx, eax
movsx eax, r8b
movzx r8d, byte [rdx]
add ecx, eax
xor r10d, ecx
test r8b, r8b
jne 0x1800d5bb0
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1800d5c26
movzx r8d, byte [rdx]
test r8b, r8b
je 0x1800d5c13
nop word [rax + rax]
mov ecx, r10d
mov eax, r10d
inc rdx
shl ecx, 5
shr eax, 3
add ecx, eax
movsx eax, r8b
movzx r8d, byte [rdx]
add ecx, eax
xor r10d, ecx
test r8b, r8b
jne 0x1800d5bf0
mov ecx, r10d
mov eax, r10d
shl ecx, 5
shr eax, 3
lea eax, [rcx + rax + 0x3a]
xor r10d, eax
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1800d5c63
movzx r8d, byte [rax]
test r8b, r8b
je 0x1800d5c63
nop dword [rax]
mov edx, r10d
mov ecx, r10d
inc rax
shl edx, 5
shr ecx, 3
add edx, ecx
movsx ecx, r8b
movzx r8d, byte [rax]
add edx, ecx
xor r10d, edx
test r8b, r8b
jne 0x1800d5c40
xor edx, edx
mov eax, r10d
div dword [rbx + 8]
mov rbx, qword [rsp + 8]
mov eax, edx
ret
Function at 0x1800d8150
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x1800d8173
or eax, 0xffffffff
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
mov rbx, qword [rdx]
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0x61
jl 0x1800d818f
cmp al, 0x7a
jle 0x1800d827f
cmp al, 0x41
jl 0x1800d819b
cmp al, 0x5a
jle 0x1800d827f
cmp al, 0x30
jl 0x1800d81a7
cmp al, 0x39
jle 0x1800d827f
cmp al, 0x2d
je 0x1800d827f
cmp al, 0x5f
je 0x1800d827f
cmp al, 0x2e
je 0x1800d827f
cmp al, 0x21
je 0x1800d827f
cmp al, 0x7e
je 0x1800d827f
cmp al, 0x2a
je 0x1800d827f
cmp al, 0x27
je 0x1800d827f
cmp al, 0x28
je 0x1800d827f
cmp al, 0x29
je 0x1800d827f
cmp al, 0x25
jne 0x1800d8237
movzx ecx, byte [rbx + 1]
cmp cl, 0x30
jl 0x1800d8201
cmp cl, 0x39
jle 0x1800d8215
cmp cl, 0x61
jl 0x1800d820b
cmp cl, 0x66
jle 0x1800d8215
cmp cl, 0x41
jl 0x1800d8237
cmp cl, 0x46
jg 0x1800d8237
movzx ecx, byte [rbx + 2]
cmp cl, 0x30
jl 0x1800d8223
cmp cl, 0x39
jle 0x1800d827f
cmp cl, 0x61
jl 0x1800d822d
cmp cl, 0x66
jle 0x1800d827f
cmp cl, 0x41
jl 0x1800d8237
cmp cl, 0x46
jle 0x1800d827f
cmp al, 0x3b
je 0x1800d827f
cmp al, 0x2f
je 0x1800d827f
cmp al, 0x3f
je 0x1800d827f
cmp al, 0x3a
je 0x1800d827f
cmp al, 0x40
je 0x1800d827f
cmp al, 0x26
je 0x1800d827f
cmp al, 0x3d
je 0x1800d827f
cmp al, 0x2b
je 0x1800d827f
cmp al, 0x24
je 0x1800d827f
cmp al, 0x2c
je 0x1800d827f
cmp al, 0x5b
je 0x1800d827f
cmp al, 0x5d
je 0x1800d827f
cmp al, 0x7b
je 0x1800d827f
cmp al, 0x7d
je 0x1800d827f
cmp al, 0x7c
je 0x1800d827f
cmp al, 0x5c
je 0x1800d827f
cmp al, 0x5e
je 0x1800d827f
cmp al, 0x60
jne 0x1800d8294
cmp al, 0x25
jne 0x1800d828c
add rbx, 3
jmp 0x1800d8180
inc rbx
jmp 0x1800d8180
test rsi, rsi
je 0x1800d82c8
mov rcx, qword [rsi + 0x40]
test rcx, rcx
je 0x1800d82a8
call qword [sym.VBoxRT.dll_xmlFree]
mov rcx, qword [rdi]
mov edx, ebx
sub edx, ecx
test byte [rsi + 0x48], 2
je 0x1800d82bc
call sym.VBoxRT.dll_xmlStrndup
jmp 0x1800d82c4
xor r8d, r8d
call sym.VBoxRT.dll_xmlURIUnescapeString
mov qword [rsi + 0x40], rax
mov rsi, qword [rsp + 0x38]
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1800d82e0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1800d8303
or eax, 0xffffffff
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
mov rbx, qword [rdx]
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0x61
jl 0x1800d831f
cmp al, 0x7a
jle 0x1800d841e
cmp al, 0x41
jl 0x1800d832b
cmp al, 0x5a
jle 0x1800d841e
cmp al, 0x30
jl 0x1800d8337
cmp al, 0x39
jle 0x1800d841e
cmp al, 0x2d
je 0x1800d841e
cmp al, 0x5f
je 0x1800d841e
cmp al, 0x2e
je 0x1800d841e
cmp al, 0x21
je 0x1800d841e
cmp al, 0x7e
je 0x1800d841e
cmp al, 0x2a
je 0x1800d841e
cmp al, 0x27
je 0x1800d841e
cmp al, 0x28
je 0x1800d841e
cmp al, 0x29
je 0x1800d841e
cmp al, 0x25
jne 0x1800d83c7
movzx ecx, byte [rbx + 1]
cmp cl, 0x30
jl 0x1800d8391
cmp cl, 0x39
jle 0x1800d83a5
cmp cl, 0x61
jl 0x1800d839b
cmp cl, 0x66
jle 0x1800d83a5
cmp cl, 0x41
jl 0x1800d83c7
cmp cl, 0x46
jg 0x1800d83c7
movzx ecx, byte [rbx + 2]
cmp cl, 0x30
jl 0x1800d83b3
cmp cl, 0x39
jle 0x1800d841e
cmp cl, 0x61
jl 0x1800d83bd
cmp cl, 0x66
jle 0x1800d841e
cmp cl, 0x41
jl 0x1800d83c7
cmp cl, 0x46
jle 0x1800d841e
cmp al, 0x3b
je 0x1800d841e
cmp al, 0x2f
je 0x1800d841e
cmp al, 0x3f
je 0x1800d841e
cmp al, 0x3a
je 0x1800d841e
cmp al, 0x40
je 0x1800d841e
cmp al, 0x26
je 0x1800d841e
cmp al, 0x3d
je 0x1800d841e
cmp al, 0x2b
je 0x1800d841e
cmp al, 0x24
je 0x1800d841e
cmp al, 0x2c
je 0x1800d841e
cmp al, 0x5b
je 0x1800d841e
cmp al, 0x5d
je 0x1800d841e
test rdi, rdi
je 0x1800d8481
test byte [rdi + 0x48], 1
je 0x1800d8433
cmp al, 0x7b
je 0x1800d841e
cmp al, 0x7d
je 0x1800d841e
cmp al, 0x7c
je 0x1800d841e
cmp al, 0x5c
je 0x1800d841e
cmp al, 0x5e
je 0x1800d841e
cmp al, 0x60
jne 0x1800d8433
cmp al, 0x25
jne 0x1800d842b
add rbx, 3
jmp 0x1800d8310
inc rbx
jmp 0x1800d8310
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1800d8442
call qword [sym.VBoxRT.dll_xmlFree]
mov rcx, qword [rsi]
mov edx, ebx
sub edx, ecx
test byte [rdi + 0x48], 2
je 0x1800d8456
call sym.VBoxRT.dll_xmlStrndup
jmp 0x1800d845e
xor r8d, r8d
call sym.VBoxRT.dll_xmlURIUnescapeString
mov rcx, qword [rdi + 0x50]
mov qword [rdi + 0x38], rax
test rcx, rcx
je 0x1800d8471
call qword [sym.VBoxRT.dll_xmlFree]
mov rcx, qword [rsi]
mov edx, ebx
sub edx, dword [rsi]
call sym.VBoxRT.dll_xmlStrndup
mov qword [rdi + 0x50], rax
mov qword [rsi], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1800daf40
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
cmp dword [0x1803da928], 0
jne 0x1800dafa2
mov eax, 1
lock xadd dword [0x1803da92c], eax
inc eax
cmp eax, 1
jne 0x1800daf88
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1803c1cc0], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1803da928], 1
mov dword [0x1803da920], eax
add rsp, 0x28
ret
cmp dword [0x1803da928], 0
jne 0x1800dafa2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1803da928], 0
je 0x1800daf91
add rsp, 0x28
ret

Function at 0x1800db090
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1800daf40
mov ecx, dword [0x1803c1cc0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1800db0b6
mov rax, qword [rax]
test rax, rax
jne 0x1800db155
mov ecx, 0x3c0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.MSVCR100.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1800db0eb
xor edx, edx
mov r8d, 0x3c0
mov rcx, rax
call sub.MSVCR100.dll_memset
mov rcx, rbx
call sym.VBoxRT.dll_xmlInitializeGlobalState
mov ecx, 0x18
call qword [sym.imp.MSVCR100.dll_malloc]
lea rcx, [0x1803da8f8]
mov qword [rax], rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11, qword [0x1803da940]
test r11, r11
je 0x1800db119
mov qword [r11 + 8], rdi
mov ecx, dword [0x1803c1cc0]
mov rdx, rdi
mov qword [rdi + 0x10], r11
mov qword [rdi + 8], 0
mov qword [0x1803da940], rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x1803da8f8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [rsp + 0x20]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x180109f80
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp dword [0x1803dace8], 0
je 0x180109f95
or eax, 0xffffffff
add rsp, 0x28
ret
mov dword [0x1803dace8], 1
call sym.VBoxRT.dll_xmlNewMutex
lea rcx, str.XML_MEM_BREAKPOINT
mov qword [0x1803dacf8], rax
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x180109fd4
lea r8, [0x1803dad04]
lea rdx, [0x18031c3c0]
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_sscanf]
lea rcx, str.XML_MEM_TRACE
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x180109ffd
lea r8, [0x1803dad08]
lea rdx, [0x18031c3ac]
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_sscanf]
xor eax, eax
add rsp, 0x28
ret
Function at 0x18012f710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x18012f736
cmp dword [rcx + 0x10], 0
jne 0x18012f736
call fcn.1801250a0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.18012eea0
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x18016c350
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov edi, r8d
mov rbp, rdx
mov rsi, rcx
mov dword [r9], 0
nop word [rax + rax]
mov edx, dword [rbx]
mov ecx, dword [rsi + 0x1c]
mov r8d, edi
sub r8d, edx
add rdx, rbp
call sub.MSVCR100.dll__read
test eax, eax
jle 0x18016c39f
add dword [rbx], eax
cmp dword [rbx], edi
jb 0x18016c380
test eax, eax
jns 0x18016c3c2
call qword [sym.imp.MSVCR100.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR100.dll_strerror]
or edx, 0xffffffff
mov rcx, rsi
mov r8, rax
call fcn.18016b2a0
or eax, 0xffffffff
jmp 0x18016c3cf
test eax, eax
jne 0x18016c3cd
mov dword [rsi + 0x50], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18016c3f0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x6c]
mov rbx, rcx
test eax, eax
je 0x18016c40e
cmp eax, 0xfffffffb
je 0x18016c40e
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
cmp dword [rcx + 0x50], 0
mov qword [rsp + 0x40], rdi
jne 0x18016c4cc
mov eax, dword [rcx + 0x80]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
test eax, eax
je 0x18016c442
mov rdx, qword [rcx + 0x78]
mov rcx, qword [rcx + 0x30]
mov r8d, eax
call qword [sym.imp.MSVCR100.dll_memmove]
mov ebp, dword [rbx + 0x80]
mov esi, dword [rbx + 0x28]
sub esi, ebp
add rbp, qword [rbx + 0x30]
xor edi, edi
nop word [rax + rax]
mov ecx, dword [rbx + 0x1c]
mov r8d, esi
mov edx, edi
sub r8d, edi
add rdx, rbp
call sub.MSVCR100.dll__read
test eax, eax
jle 0x18016c47d
add edi, eax
cmp edi, esi
jb 0x18016c460
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
test eax, eax
jns 0x18016c4b5
call qword [sym.imp.MSVCR100.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR100.dll_strerror]
or edx, 0xffffffff
mov rcx, rbx
mov r8, rax
call fcn.18016b2a0
mov rdi, qword [rsp + 0x40]
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
jne 0x18016c4be
mov dword [rbx + 0x50], 1
add dword [rbx + 0x80], edi
mov rax, qword [rbx + 0x30]
mov qword [rbx + 0x78], rax
xor eax, eax
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
Function at 0x18016c6b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r14d, dword [rcx + 0x90]
mov rsi, rcx
xor ebp, ebp
nop word [rax + rax]
cmp dword [rsi + 0x80], 0
jne 0x18016c776
mov eax, dword [rsi + 0x6c]
test eax, eax
je 0x18016c6fd
cmp eax, 0xfffffffb
jne 0x18016c849
cmp dword [rsi + 0x50], 0
jne 0x18016c76d
mov eax, dword [rsi + 0x80]
test eax, eax
je 0x18016c71e
mov rdx, qword [rsi + 0x78]
mov rcx, qword [rsi + 0x30]
mov r8d, eax
call qword [sym.imp.MSVCR100.dll_memmove]
mov r13d, dword [rsi + 0x80]
mov r12d, dword [rsi + 0x28]
sub r12d, r13d
add r13, qword [rsi + 0x30]
xor edi, edi
mov ecx, dword [rsi + 0x1c]
mov r8d, r12d
mov edx, edi
sub r8d, edi
add rdx, r13
call sub.MSVCR100.dll__read
test eax, eax
jle 0x18016c752
add edi, eax
cmp edi, r12d
jb 0x18016c732
test eax, eax
js 0x18016c7b7
test eax, eax
jne 0x18016c75f
mov dword [rsi + 0x50], 1
add dword [rsi + 0x80], edi
mov rax, qword [rsi + 0x30]
mov qword [rsi + 0x78], rax
cmp dword [rsi + 0x80], 0
je 0x18016c7cd
lea rcx, [rsi + 0x78]
xor edx, edx
call fcn.180170250
mov ebp, eax
cmp eax, 0xfffffffe
je 0x18016c835
cmp eax, 2
je 0x18016c835
cmp eax, 0xfffffffc
je 0x18016c827
cmp eax, 0xfffffffd
je 0x18016c80b
cmp dword [rsi + 0x90], 0
je 0x18016c7e1
cmp eax, 1
jne 0x18016c6e0
jmp 0x18016c7e1
call qword [sym.imp.MSVCR100.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR100.dll_strerror]
or edx, 0xffffffff
mov r8, rax
jmp 0x18016c841
lea r8, str.unexpected_end_of_file
mov edx, 0xfffffffb
mov rcx, rsi
call fcn.18016b2a0
sub r14d, dword [rsi + 0x90]
mov ecx, r14d
mov dword [rsi], ecx
mov rax, qword [rsi + 0x88]
sub rax, rcx
mov qword [rsi + 8], rax
cmp ebp, 1
jne 0x18016c807
mov dword [rsi + 0x44], 0
xor eax, eax
jmp 0x18016c84c
mov rax, qword [rsi + 0x98]
lea r8, str.compressed_data_error
mov edx, 0xfffffffd
test rax, rax
cmovne r8, rax
jmp 0x18016c841
lea r8, str.out_of_memory
mov edx, 0xfffffffc
jmp 0x18016c841
lea r8, str.internal_error:_inflate_stream_corrupt
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.18016b2a0
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x18018a3f0
Capabilities:
Encode data using xor

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, 0x40
mov r10d, dword [rsp + 0x98]
movsxd rbx, dword [rsp + 0xb0]
mov r14, qword [rsp + 0xa0]
mov eax, r10d
mov r13, rdx
and r10d, 1
cdq
mov dword [rsp + 0x30], ebx
mov ebp, r9d
sub eax, edx
mov rdx, qword [rsp + 0x90]
mov r12, r8
sar eax, 1
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r9d
movsxd rdi, eax
mov r9, r8
lea rsi, [rdx + rdi]
add edi, r10d
mov r8d, edi
call fcn.18018a180
mov r15, qword [rsp + 0xa8]
mov dword [rsp + 0x30], ebx
mov r9, r12
mov r8d, edi
mov rdx, rsi
mov rcx, r13
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], ebp
call fcn.18018a180
mov r11, rbx
test ebx, ebx
jle 0x18018a4b1
sub r15, r14
nop word [rax + rax]
movzx eax, byte [r15 + r14]
inc r14
xor byte [r14 - 1], al
dec r11
jne 0x18018a4a0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18018af90
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xc8
mov rax, qword [0x1803c1370]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movsxd rax, dword [rsp + 0x120]
mov r13, qword [rsp + 0x128]
mov rbp, rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rsp + 0x78]
mov r8, rax
mov rdx, r9
lea r12, [rsp + rax + 0x78]
call sub.MSVCR100.dll_memcpy
lea rcx, [rsp + 0x48]
call sym.VBoxRT.dll_EVP_MD_CTX_init
lea rcx, [rsp + 0x48]
mov rdx, rdi
call sym.VBoxRT.dll_EVP_MD_CTX_copy_ex
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov rdx, r12
call sym.VBoxRT.dll_EVP_DigestFinal_ex
mov r11d, dword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov rdx, rsi
add r12, r11
call sym.VBoxRT.dll_EVP_MD_CTX_copy_ex
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov rdx, r12
call sym.VBoxRT.dll_EVP_DigestFinal_ex
mov r11, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x158]
mov r8d, dword [r11 + 0x10]
mov rsi, qword [rcx + 0xe8]
mov rcx, qword [rcx + 0xe0]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x30], ntohl
lea r9, [rsp + 0x78]
sub r12d, eax
mov eax, r8d
and r8d, 1
add r12d, dword [rsp + 0x40]
cdq
mov qword [rsp + 0x28], r13
sub eax, edx
lea rdx, [r11 + 0x14]
mov dword [rsp + 0x20], r12d
sar eax, 1
movsxd rbx, eax
lea rdi, [r11 + rbx + 0x14]
add ebx, r8d
mov r8d, ebx
call fcn.18018a180
lea rax, [rsp + 0x68]
mov dword [rsp + 0x30], ntohl
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x20], r12d
call fcn.18018a180
lea r8, [rsp + 0x68]
lea r9, [rsp + 0x69]
lea r10, [rsp + 0x6a]
lea r11, [rsp + 0x6b]
lea rbx, [rsp + 0x6c]
lea rdi, [rsp + 0x6d]
sub r8, r13
sub r9, r13
sub r10, r13
sub r11, r13
sub rbx, r13
sub rdi, r13
mov edx, 2
nop word [rax + rax]
movzx eax, byte [r8 + r13]
movzx ecx, byte [r11 + r13]
add r13, 6
xor byte [r13 - 6], al
xor byte [r13 - 3], cl
movzx eax, byte [r9 + r13 - 6]
movzx ecx, byte [rbx + r13 - 6]
xor byte [r13 - 5], al
movzx eax, byte [r10 + r13 - 6]
xor byte [r13 - 2], cl
movzx ecx, byte [rdi + r13 - 6]
xor byte [r13 - 4], al
xor byte [r13 - 1], cl
dec rdx
jne 0x18018b100
lea rcx, [rsp + 0x48]
call sym.VBoxRT.dll_EVP_MD_CTX_cleanup
mov eax, ntohl
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180227610
add rsp, 0xc8
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret