joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800895f0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
sub rsp, 0x28
lea r8, str.D:_tinderboxwin_4.2_srcVBoxRuntime_r3win_symlink_win.cpp
lea rdx, [rsp + 0x40]
call sym.VBoxRT.dll_RTStrToUtf16Tag
test eax, eax
js 0x18008966a
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18008964a
bt eax, 0xa
jae 0x180089643
mov rcx, qword [rsp + 0x40]
test al, 0x10
je 0x180089635
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x18008963b
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x18008964a
xor ebx, ebx
jmp 0x180089659
mov ebx, 0xffffffed
jmp 0x180089659
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.VBoxRT.dll_RTErrConvertFromWin32
mov ebx, eax
mov rcx, qword [rsp + 0x40]
call sym.VBoxRT.dll_RTUtf16Free
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x180089850
Capabilities:
Set file attributes

Disassembly:
mov r11, rsp
sub rsp, 0x78
xor eax, eax
lea r8, [r11 - 0x38]
mov dword [rsp + 0x20], 4
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov dword [rsp + 0x60], edx
lea rdx, [r11 - 0x48]
lea r9d, [rax + 0x28]
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
add rsp, 0x78
ret

Function at 0x1800898c0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
xor ecx, ecx
mov edx, 0xffffffe9
cmp eax, 0xffffffff
mov dword [0x1803c12d0], eax
cmove ecx, edx
mov eax, ecx
add rsp, 0x28
ret

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

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1803c12d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180089933
test byte [rax + 0x50], 1
je 0x180089933
xor edx, edx
mov rcx, rax
call fcn.18003a590
mov ecx, dword [0x1803c12d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x28
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1803c12d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp rbx, rax
jne 0x180089968
mov ecx, dword [0x1803c12d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rbx + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x180089980
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x30], 0xffffffffffffffff
add rsp, 0x20
pop rbx
ret

Function at 0x180089990
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov rdx, rcx
mov ecx, dword [0x1803c12d0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
mov edx, 0xffffffe8
test eax, eax
cmove ecx, edx
mov eax, ecx
add rsp, 0x28
ret
Function at 0x180089b50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov esi, 0xffffffff
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], rsi
jb 0x180089b85
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edx, dword [rbx + 0x68]
lea rax, [rsp + 0x40]
mov qword [rcx + 0x30], 0xffffffffffffffff
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea r8, [0x180089aa0]
mov r9, rbx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x40], ecx
call qword [sym.imp.MSVCR100.dll__beginthreadex]
test rax, rax
je 0x180089bdb
cmp rax, rsi
je 0x180089bdb
mov qword [rbx + 0x30], rax
mov eax, dword [rsp + 0x40]
mov qword [rdi], rax
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.MSVCR100.dll__errno]
mov ecx, dword [rax]
call sym.VBoxRT.dll_RTErrConvertFromErrno
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180089df0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rbx
sub rsp, 0x20
rdtsc
shl rdx, 0x20
xor ecx, ecx
or rax, rdx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rbx
cmp rax, 0x5dc
seta al
add rsp, 0x20
pop rbx
ret

Function at 0x18008a490
Capabilities:
Terminate thread

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
test rcx, rcx
jne 0x18008a4a6
xor eax, eax
add rsp, 0x30
pop rdi
ret
lea rax, [rcx + 0x1000]
cmp rax, 0x2000
jb 0x18008a559
movabs rax, 0xffff800000000000
test rax, rcx
jne 0x18008a559
mov eax, dword [rcx]
cmp eax, 0x19370910
jne 0x18008a559
mov eax, 0x19370911
lea rdx, [rsp + 0x40]
xor r9d, r9d
xchg dword [rcx], eax
mov rcx, qword [rdi + 0x28]
xor eax, eax
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], 0x64
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
mov rcx, qword [rdi + 0x38]
xor r8d, r8d
mov edx, 0x3e8
call sym.VBoxRT.dll_RTThreadWait
test eax, eax
jns 0x18008a538
mov rcx, qword [rdi + 0x38]
call sym.VBoxRT.dll_RTThreadGetNative
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
mov ebx, eax
call sym.VBoxRT.dll_RTMemFree
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, 0xfffffffc
add rsp, 0x30
pop rdi
ret

Function at 0x18008a570
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x18008a586
mov eax, eax
add rsp, 0x28
ret
or rax, 0xffffffffffffffff
add rsp, 0x28
ret

Function at 0x18008a590
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rdx, rdx
je 0x18008a5a9
mov eax, 0xffffffdb
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x18008a5c1
mov eax, eax
mov qword [rbx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov eax, 0xfffffff8
add rsp, 0x20
pop rbx
ret
Function at 0x18008a610
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18008a62f
mov qword [rbx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rbx], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x20
pop rbx
jmp sym.VBoxRT.dll_RTErrConvertFromWin32

Function at 0x18008a650
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18008a665
xor eax, eax
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x28
jmp sym.VBoxRT.dll_RTErrConvertFromWin32

Function at 0x18008b700
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push r12
push r13
sub rsp, 0x30
lea rax, [rcx + 0x1000]
xor r13d, r13d
mov rsi, r8
mov rbp, rdx
mov r12, rcx
cmp rax, 0x2000
jb 0x18008b85b
movabs rcx, 0xffff800000000000
test rcx, r12
jne 0x18008b85b
cmp dword [r12 + 0x10], 0x18900820
jne 0x18008b85b
test r8, r8
jne 0x18008b767
lea eax, [r8 - 2]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rsi
ret
lea rax, [rdx + 0x1000]
cmp rax, 0x2000
jb 0x18008b847
test rcx, rdx
jne 0x18008b847
mov qword [rsp + 0x58], rdi
mov rdi, r13
test r8, r8
je 0x18008b829
mov qword [rsp + 0x50], rbx
nop dword [rax]
mov rbx, qword [rbp + rdi*8]
mov eax, dword [rbx + 0x30]
cmp eax, 1
jne 0x18008b7c9
mov r8d, dword [rbx + 0x38]
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x18008b7e8
cmp eax, 2
jne 0x18008b7ec
mov r8d, dword [rbx + 0x38]
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18008b7f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x18008b80a
inc rdi
mov dword [rbx + 0x20], 1
cmp rdi, rsi
jb 0x18008b7a0
jmp 0x18008b824
mov dword [rbx + 0x20], 2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.VBoxRT.dll_RTErrConvertFromWin32
mov r13d, eax
mov dword [rbx + 0x60], eax
mov rbx, qword [rsp + 0x50]
lock xadd dword [r12 + 8], edi
mov eax, r13d
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rsi
ret
mov eax, 0xfffffffa
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rsi
ret
mov eax, 0xfffffffc
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rsi
ret

Function at 0x18008d6d0
Capabilities:
Create service

Disassembly:
jmp 0x180091d80
jmp fcn.180091740
Function at 0x180091740
Capabilities:
Create service

Disassembly:
push rbx
mov eax, 0x1090
call fcn.18008c1c0
sub rsp, rax
mov rax, qword [0x1803c1370]
xor rax, rsp
mov qword [rsp + 0x1080], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
je 0x180091879
lea rcx, [rsp + 0x70]
mov edx, 0xff7
mov qword [rsp + 0x10a0], rdi
call sym.VBoxRT.dll_RTPathExecDir
mov edi, eax
test eax, eax
js 0x18009186c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x70]
repne scasb al, byte [rdi]
mov rax, qword [str.VBoxDrv.sys]
lea r8, str.VBox_Support_Driver
mov qword [rdi - 1], rax
mov eax, dword [0x180308a78]
lea rdx, str.VBoxDrv
mov dword [rdi + 7], eax
movzx eax, byte [0x180308a7c]
mov r9d, 4
mov byte [rdi + 0xb], al
xor eax, eax
mov rcx, rbx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
neg rdi
sbb eax, eax
neg eax
dec eax
mov rdi, qword [rsp + 0x10a0]
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.180227610
add rsp, 0x1090
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
jmp 0x18009184b
or eax, 0xffffffff
jmp 0x180091853
Function at 0x180091880
Capabilities:
Pause service
Query service status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x50
mov rax, qword [0x1803c1370]
xor rax, rsp
mov qword [rsp + 0x40], rax
or ebx, 0xffffffff
xor edx, edx
xor ecx, ecx
lea r8d, [rbx + 0x25]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbp, rbp
je 0x180091997
lea r8d, [rbx + 0x25]
lea rdx, str.VBoxDrv
mov rcx, rbp
mov qword [rsp + 0x60], rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x180091972
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [rsp + 0x24], 1
je 0x180091954
lea r8, [rsp + 0x20]
lea edx, [rbx + 2]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x180091961
mov ecx, dword [rsp + 0x24]
mov qword [rsp + 0x68], rdi
lea edi, [rbx + 0x65]
cmp ecx, 3
jne 0x18009194a
nop dword [rax]
mov eax, edi
dec edi
test eax, eax
jle 0x18009194a
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ecx, dword [rsp + 0x24]
cmp ecx, 3
je 0x180091920
mov rdi, qword [rsp + 0x68]
cmp ecx, 1
jne 0x180091967
mov rcx, rsi
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x180091989
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x180091989
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x180091983
xor ebx, ebx
jmp 0x180091989
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180227610
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret

Function at 0x1800919c0
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
or ebx, 0xffffffff
xor edx, edx
xor ecx, ecx
lea r8d, [rbx + 3]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x180091a5c
lea rdx, str.VBoxDrv
mov r8d, 0x10000
mov rcx, rsi
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x180091a37
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x180091a26
mov rcx, rdi
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x180091a4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x180091a4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x180091a48
xor ebx, ebx
jmp 0x180091a4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x180091a70
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x50
mov rax, qword [0x1803c1370]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x14]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbp, rax
test rax, rax
jne 0x180091aa7
or eax, 0xffffffff
jmp 0x180091bb5
lea rdx, str.VBoxDrv
mov r8d, reloc.WS2_32.dll_sendto
mov rcx, rax
mov qword [rsp + 0x68], rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x180091aee
call fcn.180091740
test eax, eax
jne 0x180091bb0
lea r8d, [rdi + 0x14]
lea rdx, str.VBoxDrv
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
or ebx, 0xffffffff
test rdi, rdi
je 0x180091b9f
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov r11d, dword [rsp + 0x24]
cmp r11d, 4
je 0x180091b2d
cmp r11d, 2
je 0x180091b2d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov r11d, dword [rsp + 0x24]
cmp r11d, 2
jne 0x180091b8b
mov qword [rsp + 0x60], rsi
lea esi, [r11 + 0x62]
nop
cmp r11d, 2
jne 0x180091b7b
lea ecx, [r11 + 0x62]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
dec esi
test esi, esi
jle 0x180091b7b
mov r11d, dword [rsp + 0x24]
jmp 0x180091b50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x60]
xor eax, eax
cmp r11d, 4
mov rcx, rdi
cmove ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x180091ba5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180227610
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret

Function at 0x180091e60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x20
xor ecx, ecx
mov rbx, r8
shl rdx, 0xc
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbx], rax
test rax, rax
je 0x180091e8f
xor eax, eax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x20
pop rbx
jmp fcn.180091c00
Function at 0x180093790
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x40
xor esi, esi
mov r13, r9
mov r12d, r8d
mov r14d, edx
mov rbp, rcx
mov edi, 0x5a4d
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x60], rbx
nop word [rax + rax]
lea rdx, [rsp + 0x30]
movsxd r9, esi
mov r8d, 4
mov rcx, rbp
call fcn.180094050
test eax, eax
jne 0x1800939cf
cmp word [rsp + 0x30], di
jne 0x180093861
mov rcx, rbp
call fcn.1800940b0
cmp rax, 0x40
jle 0x180093861
mov r9d, 0x3c
lea rdx, [rsp + 0x30]
mov rcx, rbp
lea r8d, [r9 - 0x38]
call fcn.180094050
test eax, eax
jne 0x1800939cf
movsxd rbx, dword [rsp + 0x30]
mov rcx, rbp
call fcn.1800940b0
cmp rbx, rax
jge 0x18009385c
mov esi, dword [rsp + 0x30]
lea rdx, [rsp + 0x30]
mov r9, rbx
mov r8d, 4
mov rcx, rbp
mov dword [rsp + 0x34], esi
call fcn.180094050
test eax, eax
jne 0x1800939cf
jmp 0x180093861
mov word [rsp + 0x30], di
mov eax, dword [rsp + 0x30]
cmp eax, 0xcafebabe
je 0x180093873
cmp eax, 0xbebafeca
jne 0x1800938a2
test esi, esi
jne 0x1800938a2
lea r9, [rsp + 0x34]
mov r8d, eax
mov edx, r12d
mov rcx, rbp
call fcn.180093420
test eax, eax
jne 0x1800939cf
mov esi, dword [rsp + 0x34]
test esi, esi
jne 0x1800937d0
mov eax, dword [rsp + 0x30]
cmp word [rsp + 0x30], di
jne 0x1800938b3
mov edi, 0xa428
jmp 0x180093989
mov ecx, 0x454e
cmp word [rsp + 0x30], cx
jne 0x1800938c9
mov edi, 0xa429
jmp 0x180093989
mov ecx, 0x584c
cmp word [rsp + 0x30], cx
jne 0x1800938f9
lea rcx, [0x1803c1580]
mov r9d, r12d
mov r8d, r14d
mov rdx, rbp
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], esi
call qword [0x1803c1590]
jmp 0x180093983
mov ecx, 0x454c
cmp word [rsp + 0x30], cx
jne 0x18009390c
mov edi, 0xa42b
jmp 0x180093989
cmp eax, 0x4550
jne 0x180093934
lea rcx, [0x1803c1490]
mov r9d, r12d
mov r8d, r14d
mov rdx, rbp
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], esi
call qword [0x1803c14a0]
jmp 0x180093983
cmp eax, 0xfeedface
je 0x180093964
cmp eax, 0xcefaedfe
je 0x180093964
cmp eax, 0xfeedfacf
je 0x180093964
cmp eax, 0xfefaedfe
je 0x180093964
mov edi, 0xa427
mov ecx, 0xa42d
cmp eax, 0x464c457f
cmove edi, ecx
jmp 0x180093989
lea rcx, str.Mach_O
mov r9d, r12d
mov r8d, r14d
mov rdx, rbp
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], esi
call qword [0x1803c13b0]
mov edi, eax
test eax, eax
je 0x1800939cd
mov rbx, qword [0x1803d9c50]
test rbx, rbx
je 0x1800939c5
nop word [rax + rax]
mov r9d, r12d
mov r8d, r14d
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], esi
call qword [rbx + reloc.WS2_32.dll_recv]
test eax, eax
je 0x1800939cd
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1800939a0
mov qword [r13], 0
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
ret
Function at 0x18009f410
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x800
mov rax, qword [0x1803c1370]
xor rax, rsp
mov qword [rsp + 0x7f0], rax
xor ebx, ebx
lea rdx, str.urn:publicid:
mov rdi, rcx
lea r8d, [rbx + 0xd]
call sym.VBoxRT.dll_xmlStrncmp
test eax, eax
je 0x18009f44f
xor eax, eax
jmp 0x18009f5bc
movzx ecx, byte [rdi + 0xd]
add rdi, 0xd
test cl, cl
je 0x18009f5ad
nop
cmp ebx, 0x7cc
ja 0x18009f5ad
cmp cl, 0x2b
jne 0x18009f47b
mov byte [rsp + rbx + 0x20], 0x20
jmp 0x18009f59b
cmp cl, 0x3a
jne 0x18009f491
mov byte [rsp + rbx + 0x20], 0x2f
inc ebx
mov byte [rsp + rbx + 0x20], 0x2f
jmp 0x18009f59b
cmp cl, 0x3b
jne 0x18009f4a7
mov byte [rsp + rbx + 0x20], 0x3a
inc ebx
mov byte [rsp + rbx + 0x20], 0x3a
jmp 0x18009f59b
cmp cl, 0x25
jne 0x18009f597
movzx eax, byte [rdi + 1]
lea rcx, [rdi + 1]
cmp al, 0x32
jne 0x18009f4d4
cmp byte [rdi + 2], 0x42
jne 0x18009f4d4
mov byte [rsp + rbx + 0x20], 0x2b
mov eax, ebx
inc ebx
add rdi, 3
jmp 0x18009f5a2
cmp al, 0x33
jne 0x18009f4f0
cmp byte [rdi + 2], 0x41
jne 0x18009f4f0
mov byte [rsp + rbx + 0x20], 0x3a
mov eax, ebx
inc ebx
add rdi, 3
jmp 0x18009f5a2
cmp al, 0x32
jne 0x18009f50c
cmp byte [rdi + 2], 0x46
jne 0x18009f50c
mov byte [rsp + rbx + 0x20], 0x2f
mov eax, ebx
inc ebx
add rdi, 3
jmp 0x18009f5a2
cmp al, 0x33
jne 0x18009f525
cmp byte [rdi + 2], 0x42
jne 0x18009f525
mov byte [rsp + rbx + 0x20], 0x3b
mov eax, ebx
inc ebx
add rdi, 3
jmp 0x18009f5a2
cmp al, 0x32
jne 0x18009f53e
cmp byte [rdi + 2], 0x37
jne 0x18009f53e
mov byte [rsp + rbx + 0x20], 0x27
mov eax, ebx
inc ebx
add rdi, 3
jmp 0x18009f5a2
cmp al, 0x33
jne 0x18009f557
cmp byte [rdi + 2], 0x46
jne 0x18009f557
mov byte [rsp + rbx + 0x20], 0x3f
mov eax, ebx
inc ebx
add rdi, 3
jmp 0x18009f5a2
cmp al, 0x32
jne 0x18009f589
cmp byte [rdi + 2], 0x33
jne 0x18009f570
mov byte [rsp + rbx + 0x20], 0x23
mov eax, ebx
inc ebx
add rdi, 3
jmp 0x18009f5a2
cmp al, 0x32
jne 0x18009f589
cmp byte [rdi + 2], 0x35
jne 0x18009f589
mov byte [rsp + rbx + 0x20], 0x25
mov eax, ebx
inc ebx
add rdi, 3
jmp 0x18009f5a2
mov eax, ebx
mov byte [rsp + rbx + 0x20], 0x25
mov rdi, rcx
inc ebx
jmp 0x18009f5a2
mov byte [rsp + rbx + 0x20], cl
mov eax, ebx
inc ebx
inc rdi
movzx ecx, byte [rdi]
test cl, cl
jne 0x18009f460
lea rcx, [rsp + 0x20]
mov byte [rsp + rbx + 0x20], 0
call sym.VBoxRT.dll_xmlStrdup
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.180227610
mov rbx, qword [rsp + 0x818]
add rsp, 0x800
pop rdi
ret
Function at 0x18009f750
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1803c1370]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
test rcx, rcx
jne 0x18009f782
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180227610
add rsp, 0x60
pop rbx
ret
lea rdx, [rsp + 0x20]
call qword [sym.imp.MSVCR100.dll__stat64i32]
test eax, eax
js 0x18009f76d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x80], rdi
call qword [sym.imp.MSVCR100.dll__open]
mov edi, eax
test eax, eax
jns 0x18009f7ae
xor eax, eax
jmp 0x18009f811
mov qword [rsp + 0x78], rsi
mov esi, dword [rsp + 0x34]
lea eax, [rsi + 0xa]
movsxd rcx, eax
call qword [sym.VBoxRT.dll_xmlMallocAtomic]
mov rbx, rax
test rax, rax
jne 0x18009f7db
lea rcx, str.allocating_catalog_data
call fcn.18009e770
xor eax, eax
jmp 0x18009f80c
mov r8d, esi
mov rdx, rax
mov ecx, edi
call qword [sym.imp.MSVCR100.dll__read]
movsxd rsi, eax
test eax, eax
jns 0x18009f7fd
mov rcx, rbx
call qword [sym.VBoxRT.dll_xmlFree]
xor eax, eax
jmp 0x18009f80c
mov ecx, edi
call qword [sym.imp.MSVCR100.dll__close]
mov byte [rsi + rbx], 0
mov rax, rbx
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180227610
add rsp, 0x60
pop rbx
ret