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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5a42e6
push rbp
mov rbp, rsp
sub rsp, 0x30
movabs rdx, 0x336b626349446573
mov qword [rsp + 0x26], rdx
mov word [rsp + 0x2e], 0x744f
movabs rdx, 0x502030407080803
mov qword [rsp + 0x1c], rdx
mov word [rsp + 0x24], 0x805
xor eax, eax
jmp 0x5a4280
movzx r9d, byte [rsp + rsi + 0x26]
lea edx, [r9 + rdx]
lea edx, [rdx + 5]
mov byte [rsp + rdi + 0x26], dl
mov byte [rsp + rsi + 0x26], r8b
add rax, 2
nop dword [rax]
cmp rax, 0xa
jge 0x5a42b2
movzx edx, byte [rsp + rax + 0x1c]
movzx esi, byte [rsp + rax + 0x1d]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xa
jae 0x5a42d7
movzx r8d, byte [rsp + rdi + 0x26]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 5]
cmp rsi, 0xa
jb 0x5a4262
jmp 0x5a42cb
xor eax, eax
lea rbx, [rsp + 0x26]
mov ecx, 0xa
nop
call fcn.0044e180
add rsp, 0x30
pop rbp
ret
mov eax, esi
mov ecx, 0xa
call fcn.00463f80
mov eax, edi
mov ecx, 0xa
nop
call fcn.00463f80
nop
call fcn.00461d00
jmp fcn.005a4220

Function at 0x5b8ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5b8da6
push rbp
mov rbp, rsp
sub rsp, 0x30
movabs rdx, 0xf233b8ddfb6e316b
mov qword [rsp + 0x24], rdx
mov dword [rsp + 0x2c], 0x6c6fdeee
movabs rdx, 0x40907050302010a
mov qword [rsp + 0x18], rdx
mov dword [rsp + 0x20], 0x3010a08
xor eax, eax
jmp 0x5b8d40
movzx r9d, byte [rsp + rsi + 0x24]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x74]
mov byte [rsp + rdi + 0x24], dl
mov byte [rsp + rsi + 0x24], r8b
add rax, 2
nop
cmp rax, 0xc
jge 0x5b8d72
movzx edx, byte [rsp + rax + 0x18]
movzx esi, byte [rsp + rax + 0x19]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xc
jae 0x5b8d97
movzx r8d, byte [rsp + rdi + 0x24]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x74]
cmp rsi, 0xc
jb 0x5b8d24
jmp 0x5b8d8b
xor eax, eax
lea rbx, [rsp + 0x24]
mov ecx, 0xc
nop
call fcn.0044e180
add rsp, 0x30
pop rbp
ret
mov eax, esi
mov ecx, 0xc
call fcn.00463f80
mov eax, edi
mov ecx, 0xc
nop
call fcn.00463f80
nop
call fcn.00461d00
jmp fcn.005b8ce0

Function at 0x5b8dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5b8ea6
push rbp
mov rbp, rsp
sub rsp, 0x40
movabs rdx, 0xd6dee165c2dfe1d6
mov qword [rsp + 0x1d], rdx
movabs rdx, 0x57c3dae5a45649d6
mov qword [rsp + 0x24], rdx
movabs rdx, 0x60c0d0606060b0a
mov qword [rsp + 0x2c], rdx
movabs rdx, 0xd070102060c0d06
mov qword [rsp + 0x30], rdx
movabs rdx, 0x3050c0b000800
mov qword [rsp + 0x38], rdx
xor eax, eax
nop
jmp 0x5b8e40
movzx r9d, byte [rsp + rsi + 0x1d]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x7b]
mov byte [rsp + rdi + 0x1d], dl
mov byte [rsp + rsi + 0x1d], r8b
add rax, 2
nop dword [rax]
cmp rax, 0x14
jge 0x5b8e72
movzx edx, byte [rsp + rax + 0x2c]
movzx esi, byte [rsp + rax + 0x2d]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xf
jae 0x5b8e97
movzx r8d, byte [rsp + rdi + 0x1d]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x7b]
cmp rsi, 0xf
jb 0x5b8e22
jmp 0x5b8e8b
xor eax, eax
lea rbx, [rsp + 0x1d]
mov ecx, 0xf
nop
call fcn.0044e180
add rsp, 0x40
pop rbp
ret
mov eax, esi
mov ecx, 0xf
call fcn.00463f80
mov eax, edi
mov ecx, 0xf
nop
call fcn.00463f80
nop
call fcn.00461d00
jmp fcn.005b8dc0
Function at 0x5b8ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5b8f8c
push rbp
mov rbp, rsp
sub rsp, 0x38
movabs rdx, 0xb56de06eeb161852
mov qword [rsp + 0x1d], rdx
movabs rdx, 0xe765130ab9b56de0
mov qword [rsp + 0x22], rdx
movabs rdx, 0x1020c030c070809
mov qword [rsp + 0x2a], rdx
movabs rdx, 0xc09050c070a0102
mov qword [rsp + 0x30], rdx
xor eax, eax
jmp 0x5b8f2f
movzx r9d, byte [rsp + rsi + 0x1d]
sub r9d, edx
lea edx, [r9 + 0x58]
mov byte [rsp + rdi + 0x1d], dl
lea edx, [r8 + 0x58]
mov byte [rsp + rsi + 0x1d], dl
add rax, 2
cmp rax, 0xe
jge 0x5b8f5c
movzx edx, byte [rsp + rax + 0x2a]
movzx esi, byte [rsp + rax + 0x2b]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xd
jae 0x5b8f7f
movzx r8d, byte [rsp + rdi + 0x1d]
sub r8d, edx
cmp rsi, 0xd
jb 0x5b8f12
jmp 0x5b8f73
xor eax, eax
lea rbx, [rsp + 0x1d]
mov ecx, 0xd
call fcn.0044e180
add rsp, 0x38
pop rbp
ret
mov eax, esi
mov ecx, 0xd
call fcn.00463f80
mov eax, edi
mov ecx, 0xd
call fcn.00463f80
nop
call fcn.00461d00
jmp fcn.005b8ec0
Function at 0x140001487
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1401fb3a0]
mov dword [rax], 1
mov rax, qword [0x1401fb3b0]
mov dword [rax], 1
mov rax, qword [0x1401fb3c0]
mov dword [rax], 1
mov rax, qword [0x1401fb320]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d8
mov eax, 0
jmp 0x140001585
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 0x140001504
mov eax, 0
jmp 0x140001585
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 0x14000152a
cmp eax, 0x20b
je 0x140001551
jmp 0x140001580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000153d
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000156c
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14014a4a0
Capabilities:
Query environment variable

Disassembly:
push r13
mov eax, 0x10078
push r12
call fcn.1401d5660
sub rsp, rax
xor eax, eax
mov r8d, 0x28
mov rdx, rcx
lea r12, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea r13, [rsp + 0x70]
mov rcx, r12
call fcn.140168040
mov rdx, r13
mov r8d, 0x10000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14014a501
mov rcx, r13
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop r12
pop r13
ret

Function at 0x14014a510
Capabilities:
Set environment variable

Disassembly:
push r13
push r12
sub rsp, 0x78
xor eax, eax
mov r8d, 0x28
lea r13, [rsp + 0x20]
mov r12, rdx
mov rdx, rcx
mov word [rsp + 0x20], ax
mov rcx, r13
call fcn.140168040
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x78
pop r12
pop r13
ret
Function at 0x14014a660
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0x70
mov rbx, rdx
mov r14, r8
mov r15, rcx
call fcn.1401638f0
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python311.dll_PyObject_GetAttrString]
mov rcx, rbx
mov r12, rax
call qword [sym.imp.python311.dll_PyUnicode_FromString]
mov r13, rax
test r14, r14
je 0x14014a71a
mov rdx, r14
mov rcx, rbx
call fcn.14014a510
mov rcx, r14
mov rdx, 0xffffffffffffffff
call sub.python311.dll_PyUnicode_FromWideChar
mov rdx, r13
mov rcx, r12
mov r14, rax
mov r8, rax
call qword [sym.imp.python311.dll_PyObject_SetItem]
test eax, eax
jne 0x14014a75c
sub qword [r14], 1
jne 0x14014a6e1
mov rcx, r14
call fcn.14014a5d0
sub qword [r13], 1
jne 0x14014a6f0
mov rcx, r13
call fcn.14014a5d0
sub qword [r12], 1
jne 0x14014a70c
mov rcx, r12
add rsp, 0x70
pop rbx
pop r12
pop r13
pop r14
pop r15
jmp fcn.14014a5d0
add rsp, 0x70
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x20]
mov r8d, 0x28
mov rdx, rbx
mov word [rsp + 0x20], 0
mov rcx, r14
call fcn.140168040
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.python311.dll_PyObject_DelItem]
test eax, eax
je 0x14014a6e1
mov rcx, r15
call fcn.14014a5e0
jmp 0x14014a6e1
mov ecx, 1
call qword [sym.imp.python311.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python311.dll_Py_Exit]
nop
nop word cs:[rax + rax]
nop
Function at 0x1401ca640
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hash data with crc32

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x14021a529], 0
mov r12, rcx
mov r13, rdx
mov rdi, r8
je 0x1401ca6c8
lea rdx, [0x1401f9762]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1401ca7e0
mov rsi, qword [0x14021a3e0]
jmp 0x1401ca685
lea rsi, [rdx + rax + 4]
mov rdx, rsi
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rsi
mov ebx, eax
call sub.msvcrt.dll_strlen
lea rdx, [rsi + rax + 1]
mov eax, dword [rdx]
test ebx, ebx
jne 0x1401ca680
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, r12
mov rdx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp fcn.1401b8010
mov r8d, 0xa
mov edx, 3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x14021a3e0], rax
mov rdx, rax
mov r9d, dword [rax]
lea rax, [rax + 4]
mov qword [0x14021a3e0], rax
mov eax, dword [rdx + 4]
lea rcx, [rdx + 8]
mov qword [0x14021a3e0], rcx
test eax, eax
je 0x1401ca7c8
sub eax, 1
lea r8, [rdx + rax + 9]
mov eax, 0xffffffff
nop word [rax + rax]
movzx edx, byte [rcx]
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
shr eax, 1
and edx, 1
add rcx, 1
neg edx
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor eax, edx
cmp r8, rcx
jne 0x1401ca730
not eax
cmp r9d, eax
jne 0x1401ca848
mov byte [0x14021a529], 1
jmp 0x1401ca65d
cmp byte [0x14021a528], 0
jne 0x1401ca674
mov rbx, qword [sym.imp.python311.dll_PyDict_New]
call rbx
mov qword [0x14021ae88], rax
call rbx
mov qword [0x14021ae80], rax
call rbx
mov qword [0x14021ae78], rax
call rbx
mov qword [0x14021ae70], rax
call rbx
mov qword [0x14021ae68], rax
call rbx
mov qword [0x14021ae60], rax
call rbx
mov qword [0x14021ae58], rax
call rbx
mov byte [0x14021a528], 1
mov qword [0x14021ae50], rax
jmp 0x1401ca674
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x1401d4360
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1401e56c0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1401e56c0
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1401d5012
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14021b348]
test eax, eax
je 0x1401d50aa
lea rax, [0x14021b320]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14021b350]
mov qword [rbp - 8], rax
jmp 0x1401d508e
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 0x1401d5082
cmp qword [rbp - 0x10], 0
je 0x1401d5082
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 0x1401d5048
lea rax, [0x14021b320]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1401d50ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1401d51b0
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 0x1401d51d8
mov eax, 0
jmp 0x1401d5226
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 0x1401d5201
mov eax, 0
jmp 0x1401d5226
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 0x1401d5221
mov eax, 0
jmp 0x1401d5226
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1401d522c
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 0x1401d52aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1401d52a1
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 0x1401d52a1
mov rax, qword [rbp - 8]
jmp 0x1401d52bf
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 0x1401d5274
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x62b4af00
Capabilities:
Parse credit card information

Disassembly:
cmp cx, 0x16
je 0x62b4b1a0
jbe 0x62b4af60
cmp cx, 0x25
je 0x62b4b390
jbe 0x62b4b0a0
cmp cx, 0x44
je 0x62b4b380
ja 0x62b4b070
cmp cx, 0x41
je 0x62b4b370
jbe 0x62b4afb0
cmp cx, 0x42
je 0x62b4b360
cmp cx, 0x43
jne 0x62b4b350
lea rcx, [0x62fd0a40]
jmp fcn.62b56c90
cmp cx, 0xa
je 0x62b4b340
ja 0x62b4b030
cmp cx, 4
je 0x62b4b330
jbe 0x62b4aff0
cmp cx, 7
je 0x62b4b320
jbe 0x62b4afd0
cmp cx, 8
je 0x62b4b310
cmp cx, 9
jne 0x62b4b350
lea rcx, [0x62fd0dc0]
jmp fcn.62b56c90
cmp cx, 0x26
je 0x62b4b300
cmp cx, 0x40
jne 0x62b4b350
lea rcx, [0x62fd0aa0]
jmp fcn.62b56c90
cmp cx, 5
je 0x62b4b2f0
cmp cx, 6
jne 0x62b4b350
lea rcx, [0x62fd0e20]
jmp fcn.62b56c90
cmp cx, 1
je 0x62b4b2e0
test cx, cx
je 0x62b4b2d0
cmp cx, 2
je 0x62b4b2c0
cmp cx, 3
jne 0x62b4b350
lea rcx, [0x62fd0e80]
jmp fcn.62b56c90
cmp cx, 0x10
je 0x62b4b2b0
jbe 0x62b4b170
cmp cx, 0x13
je 0x62b4b2a0
jbe 0x62b4b150
cmp cx, 0x14
je 0x62b4b290
cmp cx, 0x15
jne 0x62b4b350
lea rcx, [0x62fd0c60]
jmp fcn.62b56c90
cmp cx, 0x47
je 0x62b4b280
jbe 0x62b4b0e0
cmp cx, 0x48
je 0x62b4b270
cmp cx, 0xfff
jne 0x62b4b350
lea rcx, [0x62fd0940]
jmp fcn.62b56c90
cmp cx, 0x1b
je 0x62b4b260
jbe 0x62b4b120
cmp cx, 0x1e
je 0x62b4b250
jbe 0x62b4b100
cmp cx, 0x1f
je 0x62b4b240
cmp cx, 0x24
jne 0x62b4b350
lea rcx, [0x62fd0b00]
jmp fcn.62b56c90
cmp cx, 0x45
je 0x62b4b230
cmp cx, 0x46
jne 0x62b4b350
lea rcx, [0x62fd09a0]
jmp fcn.62b56c90
cmp cx, 0x1c
je 0x62b4b220
cmp cx, 0x1d
jne 0x62b4b350
lea rcx, [0x62fd0b60]
jmp fcn.62b56c90
cmp cx, 0x18
je 0x62b4b210
jb 0x62b4b200
cmp cx, 0x19
je 0x62b4b1f0
cmp cx, 0x1a
jne 0x62b4b350
lea rcx, [0x62fd0bc0]
jmp fcn.62b56c90
cmp cx, 0x11
je 0x62b4b1e0
cmp cx, 0x12
jne 0x62b4b350
lea rcx, [0x62fd0cc0]
jmp fcn.62b56c90
cmp cx, 0xc
je 0x62b4b1d0
jb 0x62b4b1c0
cmp cx, 0xd
je 0x62b4b1b0
cmp cx, 0xe
jne 0x62b4b350
lea rcx, [0x62fd0d20]
jmp fcn.62b56c90
lea rcx, [0x62fd0c40]
jmp fcn.62b56c90
lea rcx, [0x62fd0d40]
jmp fcn.62b56c90
lea rcx, [0x62fd0d80]
jmp fcn.62b56c90
lea rcx, [0x62fd0d60]
jmp fcn.62b56c90
lea rcx, [0x62fd0ce0]
jmp fcn.62b56c90
lea rcx, [0x62fd0be0]
jmp fcn.62b56c90
lea rcx, [0x62fd0c20]
jmp fcn.62b56c90
lea rcx, [0x62fd0c00]
jmp fcn.62b56c90
lea rcx, [0x62fd0b80]
jmp fcn.62b56c90
lea rcx, [0x62fd09c0]
jmp fcn.62b56c90
lea rcx, [0x62fd0b20]
jmp fcn.62b56c90
lea rcx, [0x62fd0b40]
jmp fcn.62b56c90
lea rcx, [0x62fd0ba0]
jmp fcn.62b56c90
lea rcx, [0x62fd0960]
jmp fcn.62b56c90
lea rcx, [0x62fd0980]
jmp fcn.62b56c90
lea rcx, [0x62fd0c80]
jmp fcn.62b56c90
lea rcx, [0x62fd0ca0]
jmp fcn.62b56c90
lea rcx, [0x62fd0d00]
jmp fcn.62b56c90
lea rcx, [0x62fd0ea0]
jmp fcn.62b56c90
lea rcx, [0x62fd0ee0]
jmp fcn.62b56c90
lea rcx, [0x62fd0ec0]
jmp fcn.62b56c90
lea rcx, [0x62fd0e40]
jmp fcn.62b56c90
lea rcx, [0x62fd0ac0]
jmp fcn.62b56c90
lea rcx, [0x62fd0de0]
jmp fcn.62b56c90
lea rcx, [0x62fd0e00]
jmp fcn.62b56c90
lea rcx, [0x62fd0e60]
jmp fcn.62b56c90
lea rcx, [0x62fd0da0]
jmp fcn.62b56c90
lea rcx, [0x62fd0fa0]
jmp fcn.62b56c90
lea rcx, [0x62fd0a60]
jmp fcn.62b56c90
lea rcx, [0x62fd0a80]
jmp fcn.62b56c90
lea rcx, [0x62fd0a00]
jmp fcn.62b56c90
lea rcx, [0x62fd0ae0]
jmp fcn.62b56c90
Function at 0x62b506a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x62b506bf
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x62b51580
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.62b5c430]
mov r8d, 0x3f
mov edx, 1
lea rcx, str._GC__cannot_register_global_variable__too_many_global_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop

Function at 0x62b515c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.62b5c430]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop

Function at 0x62b5a330
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [0x62fd49c0]
mov rcx, qword [rax]
test rcx, rcx
je 0x62b5a350
add rsp, 0x38
pop rbx
pop rsi
jmp 0x62b598a0
lea rcx, [0x62feea10]
mov edx, 0x30
call fcn.62b57010
lea rcx, [0x62fd40a0]
mov rbx, rax
mov rsi, qword [rbx + 0x18]
lea rax, [0x62feea60]
mov qword [rbx], rax
lea rax, str.ReraiseDefect
mov qword [rbx + 0x10], rax
call fcn.62b56a00
test rsi, rsi
mov qword [rbx + 0x18], rax
je 0x62b5a3b8
mov rax, qword [rsi - 0x10]
lea rdx, [rsi - 0x10]
sub rax, 8
cmp rax, 7
mov qword [rsi - 0x10], rax
ja 0x62b5a3b8
mov rcx, qword [0x62fd49e0]
add rcx, 0x18
call fcn.62b55b10
mov qword [rsp + 0x20], 0x35
lea r9, str.fatal.nim
mov rcx, rbx
lea r8, str.sysFatal
lea rdx, str.ReraiseDefect
call fcn.62b599c0
nop
nop
Function at 0x62b5a3e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x150
cmp qword [0x62feea50], 0
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov byte [rbp - 0x111], 1
je 0x62b5a4dd
mov rax, qword [0x62fd49d0]
lea rcx, [rbp - 0x110]
mov rdx, qword [rax]
mov qword [rax], rcx
add rcx, 0x10
mov qword [rbp - 0x110], rdx
mov rdx, rbp
call sub.msvcrt.dll__setjmp
cdqe
test rax, rax
mov qword [rbp - 0x108], rax
jne 0x62b5a500
xor ebx, ebx
cmp qword [rbp + 0x20], 0
je 0x62b5a4af
mov rcx, qword [rbp + 0x20]
call sub.msvcrt.dll_strlen
mov edx, 0x18
mov qword [rbp - 0x128], 7
cmp rax, 6
mov rsi, rax
jbe 0x62b5a479
lea rdx, [rax + 0x11]
mov qword [rbp - 0x128], rax
mov r8, qword [0x62fd49e0]
mov rcx, qword [0x62fd4a40]
call fcn.62b56a90
mov rdx, qword [rbp + 0x20]
movq xmm0, rsi
lea rcx, [rax + 0x10]
movhps xmm0, qword [rbp - 0x128]
mov rbx, rax
movups xmmword [rax], xmm0
lea r8, [rsi + 1]
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [0x62feea50]
mov rax, qword [0x62fd49d0]
mov byte [rbp - 0x111], 0
cmp qword [rbp - 0x108], 0
mov rdx, qword [rax]
mov rdx, qword [rdx]
mov qword [rax], rdx
jne 0x62b5a579
movzx eax, byte [rbp - 0x111]
test al, al
jne 0x62b5a590
add rsp, 0x150
pop rbx
pop rsi
pop rbp
ret
mov rax, qword [0x62fd49d0]
mov rdx, qword [rax]
mov rdx, qword [rdx]
mov qword [rbp - 0x108], 0
mov qword [rax], rdx
mov rdx, qword [0x62fd49c0]
mov rax, qword [rdx]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x62b5a53b
add qword [rbx - 0x10], 8
mov rax, qword [rdx]
test rax, rax
je 0x62b5a561
mov rsi, qword [rax - 0x10]
lea rdx, [rax - 0x10]
lea rcx, [rsi - 8]
cmp rcx, 7
mov qword [rax - 0x10], rcx
ja 0x62b5a561
mov rcx, qword [0x62fd49e0]
add rcx, 0x18
call fcn.62b55b10
mov rax, qword [0x62fd49c0]
cmp qword [rbp - 0x108], 0
mov qword [rax], rbx
je 0x62b5a4dd
call fcn.62b5a330
jmp 0x62b5a4dd
mov ecx, 2
call qword [fcn.62b5c430]
mov rcx, qword [rbp + 0x20]
mov edx, 1
mov r8, qword [rbp + 0x28]
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
jmp 0x62b5a4ec
Function at 0x62b5b270
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x62fdbbc4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x62b5b3f8
mov rax, qword [0x62fdbbc8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x62b5b2bc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x62b5b345
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x62b5b2a0
mov rcx, rbx
call fcn.62b5bf10
test rax, rax
mov r12, rax
je 0x62b5b42d
mov rax, qword [0x62fdbbc8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.62b5c040
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x62fdbbc8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x62b5b410
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x62b5b33e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x62b5b3a0
add dword [0x62fdbbc4], 1
cmp edi, 8
jae 0x62b5b373
test dil, 4
jne 0x62b5b3e4
test edi, edi
je 0x62b5b368
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x62b5b3ff
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x62b5b368
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x62b5b38c
jmp 0x62b5b368
add rsi, qword [0x62fdbbc8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x62b5b33e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.62b5c590
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x62b5b368
xor esi, esi
jmp 0x62b5b2c7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x62b5b368
mov rax, qword [0x62fdbbc8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.62b5c590
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.62b5c590
nop
nop dword [rax]

Function at 0x62b5bb80
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x62fdbea0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x62fdbe80]
test rbx, rbx
je 0x62b5bbd4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x62b5bbcb
test rsi, rsi
je 0x62b5bbcb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x62b5bbb0
lea rcx, [0x62fdbea0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]