joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180047cc0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180047cf3
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180047a90]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x3ae207058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.3ae2071df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x3ae207089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x3ae20706f
add dl, dl
jne 0x3ae207096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x3ae2070f6
xor eax, eax
add dl, dl
jne 0x3ae2070a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x3ae2071ad
add dl, dl
jne 0x3ae2070b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3ae2070c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3ae2070d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3ae2070dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x3ae2070ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x3ae20707e
mov eax, 1
add dl, dl
jne 0x3ae207106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3ae207113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x3ae2070fb
sub eax, ebx
mov ebx, 1
jne 0x3ae20714c
mov ecx, 1
add dl, dl
jne 0x3ae20712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3ae20713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x3ae207123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x3ae20707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x3ae207168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3ae207175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x3ae20715d
cmp eax, 0x7d00
jae 0x3ae20719b
cmp eax, 0x500
jb 0x3ae207196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x3ae20707e
cmp eax, 0x7f
ja 0x3ae20719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x3ae20707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x3ae2071d2
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 0x3ae20707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18002319c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18000e600
sub rsp, rax
mov rax, qword [0x180040280]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180020920
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800231eb
mov rax, rbp
jmp 0x1800232f3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x42890]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800242bc
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x42890]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800232ef
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800232ef
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800242bc
test rax, rax
js 0x1800232ef
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800232ef
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800232e1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800232e1
cmp byte [rcx], 0xd
jne 0x1800232c7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800232d6
cmp byte [rcx + 1], 0xa
jne 0x1800232d6
inc rcx
jmp 0x1800232d6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x406c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800232a9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800232f3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18000e090
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180050d10
Capabilities:
Set thread local storage value

Disassembly:
push rax
pushf
mov eax, 0xc0dc1480
pushf
not eax
add eax, 0xf50f6e1c
xor eax, 0xbe412404
rol eax, 0x7e
popf
pushf
not eax
add eax, 0xccb97ab4
xor eax, 0xea1cdb4c
rol eax, 0x58
popf
cmp eax, 2
jne 0x180050d4d
popf
pop rax
jmp 0x180050e95
cmp eax, 0
jne 0x180050d5c
popf
pop rax
jmp 0x180050d7a
cmp eax, 3
jne 0x180050d6b
popf
pop rax
jmp 0x180050ef4
cmp eax, 1
jne 0x180050d7a
popf
pop rax
jmp 0x180050e8c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1efa3ee4e]
pushf
sub r9, 0x6fa0d0d6
popf
mov edi, ecx
lea rdx, [0x1f8211774]
pushf
sub rdx, 0x781df9fc
popf
mov ecx, 0xd12cbca9
pushf
not ecx
add ecx, 0xb29c6dc3
xor ecx, 0xa1f9b71c
rol ecx, 0xd0
popf
pushf
not ecx
add ecx, 0xf97c8f26
xor ecx, 0x9cd522d3
rol ecx, 0x1b
popf
pushf
not ecx
add ecx, 0xb23cd4f1
xor ecx, 0xcebfc78e
rol ecx, 0xf7
popf
lea r8, [0x1d172ff5c]
pushf
sub r8, 0x516fe1ec
popf
call fcn.18001329c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x180050e45
push rax
pushf
mov eax, 0x11c9a004
pushf
not eax
add eax, 0x8745189b
xor eax, 0xe582b0f5
rol eax, 0xf8
popf
pushf
not eax
add eax, 0xf7d30ed6
xor eax, 0x9402150d
rol eax, 0x6a
popf
jmp 0x180050d3e
push rax
pushf
mov eax, 0x48a1d266
pushf
not eax
add eax, 0xa49cdead
xor eax, 0xa7187d95
rol eax, 0xbc
popf
pushf
not eax
add eax, 0xa2c0576f
xor eax, 0xbd26f30f
rol eax, 0x12
popf
pushf
not eax
add eax, 0xed75ad52
xor eax, 0x9efa2dfe
rol eax, 0x89
popf
jmp 0x180050d3e
call qword [0x18002f408]
jmp 0x180050ef4
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
push rax
pushf
mov eax, 0xd92c8970
pushf
not eax
add eax, 0xfefac7d3
xor eax, 0x8fe01994
rol eax, 0x2d
popf
pushf
not eax
add eax, 0xf940470c
xor eax, 0xc73e9faa
rol eax, 0x4d
popf
pushf
not eax
add eax, 0xa6712751
xor eax, 0xe68a9d9d
rol eax, 0xe
popf
pushf
not eax
add eax, 0xfea69ca5
xor eax, 0xb947491a
rol eax, 0x32
popf
jmp 0x180050d3e
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18006d9c3
Capabilities:
Authenticate hmac

Disassembly:
push rax
pushf
mov eax, 0x594fe2a5
pushf
not eax
add eax, 0xcdc0aac3
xor eax, 0xa1947480
rol eax, 0xdd
popf
pushf
not eax
add eax, 0x88a7d9dd
xor eax, 0xcdeb4249
rol eax, 0x86
popf
Function at 0x180075f45
Capabilities:
Get thread local storage value

Disassembly:
push rax
pushf
mov eax, 0xe36ace4c
pushf
not eax
add eax, 0x896f7fb0
xor eax, 0x88f998e4
rol eax, 0x5a
popf
pushf
not eax
add eax, 0xbb438822
xor eax, 0xfd6155fc
rol eax, 0xa7
popf
pushf
not eax
add eax, 0xce1b0aed
xor eax, 0xdab7c73b
rol eax, 0x1c
popf
cmp eax, 2
jne 0x180075f95
popf
pop rax
jmp 0x1800760d9
cmp eax, 0
jne 0x180075fa4
popf
pop rax
jmp 0x180075fb3
cmp eax, 1
jne 0x180075fb3
popf
pop rax
jmp 0x1800760cd
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1c150240f]
pushf
sub r9, 0x414d06af
popf
mov ecx, 0x7ed7675
pushf
not ecx
add ecx, 0xb08c4534
xor ecx, 0xbd20a344
rol ecx, 0xb6
popf
pushf
not ecx
add ecx, 0xc60275a2
xor ecx, 0xea371a46
rol ecx, 0x98
popf
pushf
not ecx
add ecx, 0xe1a04347
xor ecx, 0xa0f0f92a
rol ecx, 0xf0
popf
lea r8, [0x1cdbde445]
pushf
sub r8, 0x4dbac6ed
popf
lea rdx, [0x1e0cb62ac]
pushf
sub rdx, 0x60c8454c
popf
call fcn.18001329c
mov ecx, ebx
test rax, rax
je 0x180076074
push rax
pushf
mov eax, 0x173bd1d7
pushf
not eax
add eax, 0xe9e1d394
xor eax, 0xfdaffdd1
rol eax, 0x67
popf
pushf
not eax
add eax, 0xc767de09
xor eax, 0xc269a771
rol eax, 0xc1
popf
jmp 0x180075f86
push rax
pushf
mov eax, 0xac501459
pushf
not eax
add eax, 0x8a12d623
xor eax, 0x83c4bf06
rol eax, 0x38
popf
pushf
not eax
add eax, 0x8cd3206d
xor eax, 0xd885ca45
rol eax, 0xdc
popf
pushf
not eax
add eax, 0xf3fcee74
xor eax, 0x8a710720
rol eax, 0x18
popf
pushf
not eax
add eax, 0xd9a5af59
xor eax, 0xbfede272
rol eax, 0x54
popf
jmp 0x180075f86
add rsp, 0x20
pop rbx
jmp qword [0x18002f408]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x18007d0cf
Capabilities:
Allocate thread local storage

Disassembly:
push rax
pushf
mov eax, 0xf1b4b2d1
pushf
not eax
add eax, 0xd4882f16
xor eax, 0xde0fca6c
rol eax, 0x78
popf
pushf
not eax
add eax, 0xdcd17dda
xor eax, 0xfbd34435
rol eax, 0x96
popf
pushf
not eax
add eax, 0xfb84490a
xor eax, 0xb5f07710
rol eax, 0xaa
popf
cmp eax, 2
jne 0x18007d11f
popf
pop rax
jmp 0x18007d248
cmp eax, 0
jne 0x18007d12e
popf
pop rax
jmp 0x18007d13d
cmp eax, 1
jne 0x18007d13d
popf
pop rax
jmp 0x18007d239
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1fba06207]
pushf
sub r9, 0x7b9d44cf
popf
xor ecx, ecx
lea r8, [0x1f8d4ade5]
pushf
sub r8, 0x78d190b5
popf
lea rdx, [0x1c592e42e]
pushf
sub rdx, 0x458fc6f6
popf
call fcn.18001329c
test rax, rax
je 0x18007d1e0
push rax
pushf
mov eax, 0x3726f406
pushf
not eax
add eax, 0xfb7d182b
xor eax, 0xea83c570
rol eax, 1
popf
pushf
not eax
add eax, 0xb6923a04
xor eax, 0xf7d9a34e
rol eax, 0x9f
popf
pushf
not eax
add eax, 0xdce7c5e4
xor eax, 0xa5a84abe
rol eax, 0x28
popf
pushf
not eax
add eax, 0x8addc11d
xor eax, 0xdb4c597c
rol eax, 0xc2
popf
jmp 0x18007d110
push rax
pushf
mov eax, 0x1a02c31c
pushf
not eax
add eax, 0xd1fa5e15
xor eax, 0xc4022dff
rol eax, 0xa5
popf
pushf
not eax
add eax, 0xc4b1bb84
xor eax, 0xcd6194bc
rol eax, 0xeb
popf
pushf
not eax
add eax, 0x8d3f62c7
xor eax, 0xc2f9141f
rol eax, 0x52
popf
pushf
not eax
add eax, 0xd66cdb3b
xor eax, 0xcbf79a5e
rol eax, 0x72
popf
jmp 0x18007d110
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x18002f408]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x1800a09ec
Capabilities:
Terminate process

Disassembly:
push rax
pushf
mov eax, 0x847ea798
pushf
not eax
add eax, 0xbf9f70d4
xor eax, 0xd3400ceb
rol eax, 0x9b
popf
pushf
not eax
add eax, 0xa9afdf57
xor eax, 0x854e3f32
rol eax, 0xce
popf
pushf
not eax
add eax, 0x8170340d
xor eax, 0xc7e98a44
rol eax, 7
popf
cmp eax, 2
jne 0x1800a0a3c
popf
pop rax
jmp 0x1800a0b30
cmp eax, 0
jne 0x1800a0a4b
popf
pop rax
jmp 0x1800a0a5a
cmp eax, 1
jne 0x1800a0a5a
popf
pop rax
jmp 0x1800a0b1e
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.1800e448c
test al, al
je 0x1800a0ac4
push rax
pushf
mov eax, 0xa2a8694d
pushf
not eax
add eax, 0x9a573e9a
xor eax, 0x9cd2740e
rol eax, 0xd8
popf
pushf
not eax
add eax, 0xd2b001db
xor eax, 0x8981e9b3
rol eax, 5
popf
pushf
not eax
add eax, 0x8a36ddfd
xor eax, 0x90c22e67
rol eax, 0xdb
popf
pushf
not eax
add eax, 0xe02adf3a
xor eax, 0xea20c423
rol eax, 0x12
popf
jmp 0x1800a0a2d
push rax
pushf
mov eax, 0x9d964efc
pushf
not eax
add eax, 0xb2603153
xor eax, 0x96d0920f
rol eax, 2
popf
pushf
not eax
add eax, 0x8bd06bb8
xor eax, 0xdc90db4f
rol eax, 9
popf
pushf
not eax
add eax, 0xffa95933
xor eax, 0xd41a8aa5
rol eax, 0x95
popf
pushf
not eax
add eax, 0xb977146a
xor eax, 0xde9b3837
rol eax, 0x3a
popf
jmp 0x1800a0a2d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
jmp 0x1800a0b2a
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, ebx
call fcn.180096a4a
mov ecx, ebx
jmp 0x1800a0b3a
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1800b6055
Capabilities:
Get geographical location

Disassembly:
push rax
pushf
mov eax, 0xc9dd7d1b
pushf
not eax
add eax, 0xdbf62512
xor eax, 0x901c0c3e
rol eax, 0x9e
popf
pushf
not eax
add eax, 0xd2a6a12b
xor eax, 0xb2257638
rol eax, 0x28
popf
cmp eax, 2
jne 0x1800b6092
popf
pop rax
jmp 0x1800b6264
cmp eax, 0
jne 0x1800b60a1
popf
pop rax
jmp 0x1800b60bf
cmp eax, 3
jne 0x1800b60b0
popf
pop rax
jmp 0x1800b62b2
cmp eax, 1
jne 0x1800b60bf
popf
pop rax
jmp 0x1800b6214
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1fac14df7]
pushf
sub r9, 0x7abe0a9f
popf
mov rbp, rcx
lea r8, [0x1cb64175d]
pushf
sub r8, 0x4b60d40d
popf
lea rdx, [0x1e5781e0a]
pushf
sub rdx, 0x6574dab2
popf
mov ecx, 0xedf44fac
pushf
not ecx
add ecx, 0xce0a8687
xor ecx, 0xf2b25113
rol ecx, 0x61
popf
pushf
not ecx
add ecx, 0xd0f7778d
xor ecx, 0xaaa8ba83
rol ecx, 0x72
popf
pushf
not ecx
add ecx, 0xfc62a3de
xor ecx, 0x867e9fd5
rol ecx, 0xff
popf
call fcn.18001f7d0
test rax, rax
je 0x1800b61bb
push rax
pushf
mov eax, 0x6e9b039b
pushf
not eax
add eax, 0xdabe5426
xor eax, 0x92a9b749
rol eax, 0x4e
popf
pushf
not eax
add eax, 0xabffd9fe
xor eax, 0xf294b953
rol eax, 0x84
popf
pushf
not eax
add eax, 0xa856ca2b
xor eax, 0xc2db510a
rol eax, 0xb
popf
pushf
not eax
add eax, 0xfae5b7f0
xor eax, 0x9ca0b50d
rol eax, 0x80
popf
jmp 0x1800b6083
push rax
pushf
mov eax, 0xa1867807
pushf
not eax
add eax, 0xb2f62e5b
xor eax, 0xcd4eb942
rol eax, 0x6c
popf
pushf
not eax
add eax, 0xfbee34b1
xor eax, 0xd53305a0
rol eax, 0x3b
popf
pushf
not eax
add eax, 0xa289f822
xor eax, 0xcaffead2
rol eax, 0x1c
popf
pushf
not eax
add eax, 0xf55bd5d2
xor eax, 0x85b48efc
rol eax, 0x85
popf
jmp 0x1800b6083
movabs r10, 0xf9a8818488e59efb
pushf
not r10
add r10, 0x73c0e5f4
xor r10, 0x5397f55d
rol r10, 0x31
popf
pushf
not r10
add r10, 0x4541fcd1
xor r10, 0x418907e3
rol r10, 0x6e
popf
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
jmp 0x1800b625c
call qword [0x18002f410]
jmp 0x1800b62b2
xor edx, edx
mov rcx, rbp
call fcn.1800c6fc9
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
jmp 0x1800b6279
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push rax
pushf
mov eax, 0xbf447630
pushf
not eax
add eax, 0xb40881e8
xor eax, 0x86bc2f1b
rol eax, 0x21
popf
pushf
not eax
add eax, 0x93574a13
xor eax, 0xae5700ba
rol eax, 0x4c
popf
jmp 0x1800b6083
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18017c3ad
Capabilities:
Encode data using base64

Disassembly:
push rax
pushf
mov eax, 0x78e01e2a
pushf
not eax
add eax, 0xe17447d3
xor eax, 0x914c1abc
rol eax, 0
popf
pushf
not eax
add eax, 0x81bcaaa1
xor eax, 0x87e4778c
rol eax, 0x9a
popf
cmp eax, 4
jne 0x18017c3ea
popf
pop rax
jmp 0x18017c593
cmp eax, 0
jne 0x18017c3f9
popf
pop rax
jmp 0x18017c435
cmp eax, 3
jne 0x18017c408
popf
pop rax
jmp 0x18017c531
cmp eax, 1
jne 0x18017c417
popf
pop rax
jmp 0x18017c4ba
cmp eax, 5
jne 0x18017c426
popf
pop rax
jmp 0x18017c5d4
cmp eax, 2
jne 0x18017c435
popf
pop rax
jmp 0x18017c52b
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x18017c487
push rax
pushf
mov eax, 0x29c9846e
pushf
not eax
add eax, 0x8422c1da
xor eax, 0xc1bb658c
rol eax, 0xea
popf
pushf
not eax
add eax, 0x8bfa4570
xor eax, 0x8a946181
rol eax, 0x69
popf
pushf
not eax
add eax, 0xdd678c51
xor eax, 0xd7ca8940
rol eax, 0x2c
popf
jmp 0x18017c3db
push rax
pushf
mov eax, 0x49d48ac2
pushf
not eax
add eax, 0x9a47c6d5
xor eax, 0xfeb8a576
rol eax, 0xc0
popf
pushf
not eax
add eax, 0xa824ea70
xor eax, 0xfb59510b
rol eax, 0x28
popf
jmp 0x18017c3db
call fcn.1800afb7c
mov dword [rax], 0x16
call fcn.1800e5695
or eax, 0xffffffff
jmp 0x18017c5d4
sub dword [rcx + 0x10], 1
jns 0x18017c593
add rsp, 0x28
jmp fcn.180096e64
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
push rax
pushf
mov eax, 0xc6bcc40d
pushf
not eax
add eax, 0x9d65f960
xor eax, 0x976d85d4
rol eax, 0x4b
popf
pushf
not eax
add eax, 0x8030a59b
xor eax, 0xfaac738c
rol eax, 0x43
popf
jmp 0x18017c3db
add rsp, 0x28
ret
Function at 0x140993058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409931df
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 0x140993089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14099306f
add dl, dl
jne 0x140993096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409930f6
xor eax, eax
add dl, dl
jne 0x1409930a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409931ad
add dl, dl
jne 0x1409930b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409930c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409930d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409930dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409930ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14099307e
mov eax, 1
add dl, dl
jne 0x140993106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140993113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409930fb
sub eax, ebx
mov ebx, 1
jne 0x14099314c
mov ecx, 1
add dl, dl
jne 0x14099312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14099313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140993123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140993168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140993175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14099315d
cmp eax, 0x7d00
jae 0x14099319b
cmp eax, 0x500
jb 0x140993196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099307e
cmp eax, 0x7f
ja 0x14099319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409931d2
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 0x14099307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140027dc0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140027de1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140027e0e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140027e10
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140027e69
test ecx, ecx
jle 0x140027e49
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140027e69
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140027e69
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add eax, 0xe89c800
add byte [rdi], ch
sbb eax, dword [0x14537afd7]
add ah, bl
mov dword [rsi], ecx
add byte [rax + 0x1b], al
add eax, 0x51be300
add eax, 0xe89ec00
Function at 0x415f20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4160cb
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432700
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x415f8e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415fa1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415fc5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415fd9
cmp rbx, 0x1000
jae 0x415f98
nop
jmp 0x416049
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x415fed
xor edx, edx
jmp 0x416040
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432700
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x415fcf
jmp 0x415fb5
call fcn.00460bc0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436cc0
lea rax, [0x004db218]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.004375c0
mov rax, qword [rsp + 0x38]
call fcn.004372c0
lea rax, [0x004db2d8]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004375c0
mov rax, qword [rsp + 0x30]
call fcn.004372c0
call fcn.00436f20
call fcn.00436d40
lea rax, [0x004dde20]
mov ebx, 0x21
call fcn.00435400
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415f20
Function at 0x416100
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41632a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432780
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x41617b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41618e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4161b0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4161c4
cmp rbx, 0x1000
jae 0x416185
jmp 0x41624e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4161d6
xor esi, esi
jmp 0x416240
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00432780
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x4161ba
jmp 0x4161a2
call fcn.00460bc0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4162c9
call fcn.00436cc0
lea rax, [0x004db882]
mov ebx, 0x19
call fcn.004375c0
mov rax, qword [rsp + 0x68]
call fcn.004372c0
lea rax, [0x004db2d8]
mov ebx, 0x19
nop
call fcn.004375c0
mov eax, dword [rsp + 0x34]
call fcn.004372c0
call fcn.00436f20
call fcn.00436d40
lea rax, [0x004d7653]
mov ebx, 0xd
call fcn.00435400
cmp eax, 0x5af
je 0x416273
call fcn.00436cc0
lea rax, [0x004db882]
mov ebx, 0x19
call fcn.004375c0
mov rax, qword [rsp + 0x38]
call fcn.004372c0
lea rax, [0x004db2d8]
mov ebx, 0x19
nop dword [rax]
call fcn.004375c0
mov eax, dword [rsp + 0x34]
call fcn.004372c0
call fcn.00436f20
call fcn.00436d40
lea rax, [0x004dd60d]
mov ebx, 0x1f
call fcn.00435400
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416100