joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044f60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140045007
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140044fba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400474b0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14002db60
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401b8bbe]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14004500f
mov rcx, rbx
call fcn.14002db60
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140045480
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401b8bc8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400454e3
mov qword [rsp], rbx
lea rbx, [0x1400ce420]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400454c3
cmp byte [r8], r9b
jne 0x1400454c3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400454b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140045517
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14004551e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140045504
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14007e070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rbx, rcx
mov esi, 1
mov ecx, dword [rcx + 0x10]
mov r11d, ecx
and r11d, 7
je 0x14007e106
cmp ecx, r11d
jge 0x14007e0f7
mov edx, dword [rbx + 0x14]
mov r9d, ecx
shlx eax, esi, ecx
mov r8d, ecx
cmp edx, eax
jae 0x14007e0ed
mov r10, qword [rbx + 8]
nop dword [rax]
mov rax, qword [rbx]
cmp rax, r10
jb 0x14007e0bc
xor cl, cl
jmp 0x14007e0c5
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
shlx ecx, eax, r9d
or edx, ecx
lea ecx, [r9 + 8]
mov dword [rbx + 0x14], edx
mov dword [rbx + 0x10], ecx
cmp ecx, 0x18
jg 0x14007e0f7
shlx eax, esi, ecx
mov r9d, ecx
mov r8d, ecx
cmp edx, eax
jb 0x14007e0b0
mov rax, qword [rbx + 8]
mov ecx, r8d
mov qword [rbx], rax
shrx eax, dword [rbx + 0x14], r11d
sub ecx, r11d
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x10], ecx
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x14007e13e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax + rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x14007e120
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14007e16b
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x14007e19f
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax + rax]
cmp rax, r8
jb 0x14007e189
xor dl, dl
jmp 0x14007e192
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14007e180
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14007e142
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14007e212
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14007e22c
mov rcx, rbx
call fcn.14007d530
test eax, eax
je 0x14007e200
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, esi
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x140087570
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, rdx
mov dword [rsp + 0x28], 1
lea rdx, str.open
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret
Function at 0x1400b3da0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov ebx, dword [rcx + 0x14]
mov rsi, rcx
call fcn.1400b3ad0
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1400b3ad0
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x1400b3f2b
xor eax, eax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
cmp ebx, 2
mov qword [rsp + 0x20], r15
lea r14, [rsp + 0x40]
setne al
lea r15, [rsp + 0x40]
add r14, rax
xor rax, 1
add r15, rax
movzx edi, byte [r14]
movzx eax, byte [r15]
shl edi, 8
or edi, eax
lea eax, [rdi - 0xdc00]
cmp eax, 0x3ff
ja 0x1400b3e35
lea rcx, [rsi + 0x18]
mov edx, 0xfffd
call fcn.1400b3b70
jmp 0x1400b3f1c
lea eax, [rdi - 0xd800]
mov qword [rsp + 0x48], rbp
cmp eax, 0x3ff
ja 0x1400b3f09
mov rcx, rsi
call fcn.1400b3ad0
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1400b3ad0
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
lea rbp, [rsi + 0x18]
test al, al
je 0x1400b3ee9
nop
movzx eax, byte [r15]
movzx ebx, byte [r14]
shl ebx, 8
or ebx, eax
lea eax, [rbx - 0xdc00]
cmp eax, 0x3ff
jbe 0x1400b3ef0
lea rbp, [rsi + 0x18]
mov edx, 0xfffd
mov rcx, rbp
call fcn.1400b3b70
lea eax, [rbx - 0xd800]
cmp eax, 0x7ff
ja 0x1400b3f0d
mov rcx, rsi
mov edi, ebx
call fcn.1400b3ad0
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1400b3ad0
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x1400b3e80
mov edx, 0xfffd
jmp 0x1400b3f0f
and edi, 0x3ff
and ebx, 0x3ff
shl edi, 0xa
or edi, ebx
add edi, 0x10000
jmp 0x1400b3f0d
lea rbp, [rsi + 0x18]
mov edx, edi
mov rcx, rbp
call fcn.1400b3b70
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
Function at 0x1400bc2f0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400bc32a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400bc32f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400bc378
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400ccea0]
cmp byte [rcx + rax], 0
je 0x1400bc378
dec r8
sub rdx, 1
jne 0x1400bc35e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400bda1c
Capabilities:
Parse pe header

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

Disassembly:
mov r11, rdx
xor edx, edx
test r11, r11
je 0x625420bb
cmp r11, 0xffffffffffffffff
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
je 0x625420c0
mov rax, 0xffffffffffffffff
xor edx, edx
div r11
not rdx
nop word cs:[rax + rax]
lea rax, [r8 + r9]
xor r9, r8
ror r8, 9
mov r10, r9
xor r8, r9
ror r9, 0x1c
shl r10, 0xe
xor r8, r10
cmp rdx, rax
jb 0x62542080
movq xmm0, r8
movq xmm1, r9
add r11, 1
punpcklqdq xmm0, xmm1
xor edx, edx
movups xmmword [rcx], xmm0
div r11
mov rax, rdx
ret
lea rdx, [r8 + r9]
xor r9, r8
ror r8, 9
mov rax, r9
xor r8, r9
ror r9, 0x1c
shl rax, 0xe
mov qword [rcx + 8], r9
xor r8, rax
mov rax, rdx
mov qword [rcx], r8
ret

Function at 0x62543750
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [fcn.6255abc0]
mov rsi, qword [rcx]
mov ecx, 1
call rbx
mov rcx, rax
mov rdx, rsi
call fcn.62543650
mov ecx, 1
call rbx
mov r8d, 1
mov edx, 1
lea rcx, [0x6255c0d7]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbx
mov rcx, rax
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush
Function at 0x625495f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.62550e60
test rax, rax
je 0x62549657
mov r9, qword [rax]
test r9, r9
jle 0x62549657
mov r8, rax
add r9, rbx
sub r8, rbx
nop dword [rax]
nop word cs:[rax + rax]
mov rcx, rbx
mov rdx, rbx
sar rcx, 8
sar rdx, 0x10
xor ecx, ebx
and edx, 0xffffffee
and ecx, 0xffffffee
xor cl, byte [r8 + rbx + 0x10]
xor ecx, edx
mov rdx, rbx
sar rdx, 0x18
and edx, 0xffffffee
xor ecx, edx
mov byte [r8 + rbx + 0x10], cl
add rbx, 1
cmp rbx, r9
jne 0x62549620
add rsp, 0x20
pop rbx
ret
Function at 0x6254b000
Capabilities:
Check for peb beingdebugged flag

Disassembly:
sub rsp, 0x38
lea rcx, [0x6255d540]
mov edx, 0x6d54b28a
call fcn.625495f0
mov edx, 0x720d4ee
mov rcx, rax
call fcn.625497c0
xor eax, eax
mov rdx, qword gs:[0x60]
cmp byte [rdx + 2], 0
jne 0x6254b040
add rsp, 0x38
ret
lea rcx, [0x6255d5a0]
mov edx, 0x1676b72a
mov qword [rsp + 0x28], 0
call fcn.625495f0
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rax
call fcn.62543750
mov eax, 1
add rsp, 0x38
ret

Function at 0x6254b080
Capabilities:
Access peb ldr_data

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rsi, [0x6255d500]
mov rbx, rcx
mov ebp, edx
mov edx, 0x6d54b28a
lea rcx, [0x6255d540]
call fcn.625495f0
mov edx, 0x720d4ee
mov rcx, rax
call fcn.625497c0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r12, qword [rax + 0x20]
lea rdi, [rax + 0x20]
nop dword [rax + rax]
movzx eax, word [rbx]
mov rdx, rbx
test ax, ax
je 0x6254b100
nop dword [rax + rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x6254b210
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x6254b0e0
mov rdx, qword [r12 + 0x50]
movzx eax, word [rdx]
test ax, ax
je 0x6254b132
mov rcx, rdx
lea r8d, [rax - 0x41]
cmp r8w, 0x19
ja 0x6254b230
add eax, 0x20
add rcx, 2
mov word [rcx - 2], ax
movzx eax, word [rcx]
test ax, ax
jne 0x6254b110
mov rcx, rbx
call fcn.62541fc0
mov edx, 0x2040a00a
mov rcx, rsi
mov r13, rax
call fcn.625495f0
mov edx, 0x1622ad6e
mov rcx, rax
call fcn.625497c0
test r13, r13
je 0x6254b250
mov r12, qword [r12]
cmp rdi, r12
jne 0x6254b0d0
test ebp, ebp
je 0x6254b270
lea rcx, [0x6255d480]
mov edx, 0x32da4eea
call fcn.625495f0
lea rsi, [rsp + 0x30]
mov edx, 0x49bb8e0e
mov rcx, rax
call fcn.625497c0
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [0x62593548]
lea r9, [rsp + 0x28]
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [0x62593468]
mov edx, 0x77aa3a4e
lea rcx, [0x6255d440]
mov ebx, eax
call fcn.625495f0
mov edx, 0x2040a00a
mov rcx, rax
call fcn.625497c0
test ebx, ebx
jne 0x6254b28e
mov rax, qword [rsp + 0x28]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
add rdx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x6254b0e0
jmp 0x6254b100
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x6254b110
jmp 0x6254b132
mov rax, qword [r12 + 0x20]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rcx, [0x6255d400]
mov edx, 0x4fbbefae
call fcn.625495f0
mov edx, 0x4697042a
mov rcx, rax
call fcn.625497c0
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x6254b8a0
Capabilities:
Parse credit card information

Disassembly:
cmp cx, 0x16
je 0x6254bb40
jbe 0x6254b900
cmp cx, 0x25
je 0x6254bd30
jbe 0x6254ba40
cmp cx, 0x44
je 0x6254bd20
ja 0x6254ba10
cmp cx, 0x41
je 0x6254bd10
jbe 0x6254b950
cmp cx, 0x42
je 0x6254bd00
cmp cx, 0x43
jne 0x6254bcf0
lea rcx, [0x6255c8e0]
jmp fcn.62550e60
cmp cx, 0xa
je 0x6254bce0
ja 0x6254b9d0
cmp cx, 4
je 0x6254bcd0
jbe 0x6254b990
cmp cx, 7
je 0x6254bcc0
jbe 0x6254b970
cmp cx, 8
je 0x6254bcb0
cmp cx, 9
jne 0x6254bcf0
lea rcx, [0x6255cc60]
jmp fcn.62550e60
cmp cx, 0x26
je 0x6254bca0
cmp cx, 0x40
jne 0x6254bcf0
lea rcx, [0x6255c940]
jmp fcn.62550e60
cmp cx, 5
je 0x6254bc90
cmp cx, 6
jne 0x6254bcf0
lea rcx, [0x6255ccc0]
jmp fcn.62550e60
cmp cx, 1
je 0x6254bc80
test cx, cx
je 0x6254bc70
cmp cx, 2
je 0x6254bc60
cmp cx, 3
jne 0x6254bcf0
lea rcx, [0x6255cd20]
jmp fcn.62550e60
cmp cx, 0x10
je 0x6254bc50
jbe 0x6254bb10
cmp cx, 0x13
je 0x6254bc40
jbe 0x6254baf0
cmp cx, 0x14
je 0x6254bc30
cmp cx, 0x15
jne 0x6254bcf0
lea rcx, [0x6255cb00]
jmp fcn.62550e60
cmp cx, 0x47
je 0x6254bc20
jbe 0x6254ba80
cmp cx, 0x48
je 0x6254bc10
cmp cx, 0xfff
jne 0x6254bcf0
lea rcx, [0x6255c7e0]
jmp fcn.62550e60
cmp cx, 0x1b
je 0x6254bc00
jbe 0x6254bac0
cmp cx, 0x1e
je 0x6254bbf0
jbe 0x6254baa0
cmp cx, 0x1f
je 0x6254bbe0
cmp cx, 0x24
jne 0x6254bcf0
lea rcx, [0x6255c9a0]
jmp fcn.62550e60
cmp cx, 0x45
je 0x6254bbd0
cmp cx, 0x46
jne 0x6254bcf0
lea rcx, [0x6255c840]
jmp fcn.62550e60
cmp cx, 0x1c
je 0x6254bbc0
cmp cx, 0x1d
jne 0x6254bcf0
lea rcx, [0x6255ca00]
jmp fcn.62550e60
cmp cx, 0x18
je 0x6254bbb0
jb 0x6254bba0
cmp cx, 0x19
je 0x6254bb90
cmp cx, 0x1a
jne 0x6254bcf0
lea rcx, [0x6255ca60]
jmp fcn.62550e60
cmp cx, 0x11
je 0x6254bb80
cmp cx, 0x12
jne 0x6254bcf0
lea rcx, [0x6255cb60]
jmp fcn.62550e60
cmp cx, 0xc
je 0x6254bb70
jb 0x6254bb60
cmp cx, 0xd
je 0x6254bb50
cmp cx, 0xe
jne 0x6254bcf0
lea rcx, [0x6255cbc0]
jmp fcn.62550e60
lea rcx, [0x6255cae0]
jmp fcn.62550e60
lea rcx, [0x6255cbe0]
jmp fcn.62550e60
lea rcx, [0x6255cc20]
jmp fcn.62550e60
lea rcx, [0x6255cc00]
jmp fcn.62550e60
lea rcx, [0x6255cb80]
jmp fcn.62550e60
lea rcx, [0x6255ca80]
jmp fcn.62550e60
lea rcx, [0x6255cac0]
jmp fcn.62550e60
lea rcx, [0x6255caa0]
jmp fcn.62550e60
lea rcx, [0x6255ca20]
jmp fcn.62550e60
lea rcx, [0x6255c860]
jmp fcn.62550e60
lea rcx, [0x6255c9c0]
jmp fcn.62550e60
lea rcx, [0x6255c9e0]
jmp fcn.62550e60
lea rcx, [0x6255ca40]
jmp fcn.62550e60
lea rcx, [0x6255c800]
jmp fcn.62550e60
lea rcx, [0x6255c820]
jmp fcn.62550e60
lea rcx, [0x6255cb20]
jmp fcn.62550e60
lea rcx, [0x6255cb40]
jmp fcn.62550e60
lea rcx, [0x6255cba0]
jmp fcn.62550e60
lea rcx, [0x6255cd40]
jmp fcn.62550e60
lea rcx, [0x6255cd80]
jmp fcn.62550e60
lea rcx, [0x6255cd60]
jmp fcn.62550e60
lea rcx, [0x6255cce0]
jmp fcn.62550e60
lea rcx, [0x6255c960]
jmp fcn.62550e60
lea rcx, [0x6255cc80]
jmp fcn.62550e60
lea rcx, [0x6255cca0]
jmp fcn.62550e60
lea rcx, [0x6255cd00]
jmp fcn.62550e60
lea rcx, [0x6255cc40]
jmp fcn.62550e60
lea rcx, [0x6255ce40]
jmp fcn.62550e60
lea rcx, [0x6255c900]
jmp fcn.62550e60
lea rcx, [0x6255c920]
jmp fcn.62550e60
lea rcx, [0x6255c8a0]
jmp fcn.62550e60
lea rcx, [0x6255c980]
jmp fcn.62550e60
Function at 0x6254e650
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 0x6254e66f
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 0x62550620
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.6255abc0]
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 0x62550660
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.6255abc0]
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 0x62558a40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [0x6257a100]
mov rcx, qword [rax]
test rcx, rcx
je 0x62558a60
add rsp, 0x38
pop rbx
pop rsi
jmp 0x62559040
lea rcx, [0x62593ca0]
call fcn.62543620
lea rcx, [0x62579800]
mov rbx, rax
mov rsi, qword [rbx + 0x18]
lea rax, [0x62593d10]
mov qword [rbx], rax
lea rax, str.ReraiseDefect
mov qword [rbx + 0x10], rax
call fcn.62557e50
test rsi, rsi
mov qword [rbx + 0x18], rax
je 0x62558ac3
mov rax, qword [rsi - 0x10]
lea rdx, [rsi - 0x10]
sub rax, 8
cmp rax, 7
mov qword [rsi - 0x10], rax
ja 0x62558ac3
mov rcx, qword [0x6257a120]
add rcx, 0x18
call fcn.625551f0
mov qword [rsp + 0x20], 0x35
lea r9, str.fatal.nim
mov rcx, rbx
lea r8, str.sysFatal
lea rdx, str.ReraiseDefect
call fcn.62558980
nop
nop word [rax + rax]

Function at 0x62558af0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x158
cmp qword [0x62593cf8], 0
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x178], rdx
mov byte [rsp + 0x3f], 1
je 0x62558be4
mov rax, qword [0x6257a110]
lea rcx, [rsp + 0x40]
mov rdx, qword [rax]
mov qword [rax], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], rdx
xor edx, edx
call sub.msvcrt.dll__setjmp
cdqe
test rax, rax
mov qword [rsp + 0x48], rax
jne 0x62558c00
xor ebx, ebx
cmp qword [rsp + 0x170], 0
je 0x62558bba
mov rcx, qword [rsp + 0x170]
call sub.msvcrt.dll_strlen
mov edx, 0x18
mov qword [rsp + 0x28], 7
cmp rax, 6
mov rsi, rax
jbe 0x62558b89
lea rdx, [rax + 0x11]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x6257a170]
call fcn.62543440
lea r8, [rsi + 1]
movq xmm0, rsi
mov rdx, qword [rsp + 0x170]
lea rcx, [rax + 0x10]
movhps xmm0, qword [rsp + 0x28]
mov rbx, rax
movups xmmword [rax], xmm0
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [0x62593cf8]
cmp qword [rsp + 0x48], 0
mov byte [rsp + 0x3f], 0
mov rax, qword [0x6257a110]
mov rdx, qword [rax]
mov rdx, qword [rdx]
mov qword [rax], rdx
jne 0x62558c75
movzx eax, byte [rsp + 0x3f]
test al, al
jne 0x62558c80
add rsp, 0x158
pop rbx
pop rsi
ret
mov rax, qword [0x6257a110]
mov rdx, qword [rax]
mov rdx, qword [rdx]
mov qword [rsp + 0x48], 0
mov qword [rax], rdx
mov rdx, qword [0x6257a100]
mov rax, qword [rdx]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x62558c39
add qword [rbx - 0x10], 8
mov rax, qword [rdx]
test rax, rax
je 0x62558c5f
mov rsi, qword [rax - 0x10]
lea rdx, [rax - 0x10]
lea rcx, [rsi - 8]
cmp rcx, 7
mov qword [rax - 0x10], rcx
ja 0x62558c5f
mov rcx, qword [0x6257a120]
add rcx, 0x18
call fcn.625551f0
mov rax, qword [0x6257a100]
cmp qword [rsp + 0x48], 0
mov qword [rax], rbx
je 0x62558be4
call fcn.62558a40
jmp 0x62558be4
mov ecx, 2
call qword [fcn.6255abc0]
mov rcx, qword [rsp + 0x170]
mov edx, 1
mov r8, qword [rsp + 0x178]
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
jmp 0x62558bf1
Function at 0x62559a10
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x62580d04]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x62559b98
mov rax, qword [0x62580d08]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x62559a5c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x62559ae5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x62559a40
mov rcx, rbx
call fcn.6255a6b0
test rax, rax
mov r12, rax
je 0x62559bcd
mov rax, qword [0x62580d08]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.6255a7e0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x62580d08]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x62559bb0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x62559ade
sub eax, 0x40
and eax, 0xffffffbf
jne 0x62559b40
add dword [0x62580d04], 1
cmp edi, 8
jae 0x62559b13
test dil, 4
jne 0x62559b84
test edi, edi
je 0x62559b08
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x62559b9f
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 0x62559b08
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 0x62559b2c
jmp 0x62559b08
add rsi, qword [0x62580d08]
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 0x62559ade
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6255ad20
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x62559b08
xor esi, esi
jmp 0x62559a67
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x62559b08
mov rax, qword [0x62580d08]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.6255ad20
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.6255ad20
nop
nop dword [rax]

Function at 0x6255a320
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x62580fe0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x62580fc0]
test rbx, rbx
je 0x6255a374
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 0x6255a36b
test rsi, rsi
je 0x6255a36b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6255a350
lea rcx, [0x62580fe0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6255a6b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6257a080]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6255a71d
mov rcx, r8
call fcn.6255a590
test eax, eax
je 0x6255a71d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6255a71d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6255a714
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6255a71f
add rax, 0x28
cmp rax, r9
jne 0x6255a700
xor eax, eax
add rsp, 0x28
ret

Function at 0x6255ad20
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x625413a0]
jmp 0x62541380
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.6255abc0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.6255abc0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x62541390