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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5201bb
push rbp
mov rbp, rsp
sub rsp, 0x48
movabs rdx, 0xf90f14e8176c154d
mov qword [rsp + 0x35], rdx
movabs rdx, 0x1fdf65f90f14e817
mov qword [rsp + 0x38], rdx
movabs rdx, 0x33151a451d1e4639
mov qword [rsp + 0x40], rdx
movabs rdx, 0xa040a0905110301
mov qword [rsp + 0x1b], rdx
movabs rdx, 0xf0a070c11030904
mov qword [rsp + 0x23], rdx
movabs rdx, 0xf0e0f0a070c1103
mov qword [rsp + 0x25], rdx
movabs rdx, 0x1120d100f060b0c
mov qword [rsp + 0x2d], rdx
xor eax, eax
jmp 0x520159
movzx r9d, byte [rsp + rsi + 0x35]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x17]
mov byte [rsp + rdi + 0x35], dl
mov byte [rsp + rsi + 0x35], r8b
add rax, 2
cmp rax, 0x1a
jge 0x52018b
movzx edx, byte [rsp + rax + 0x1b]
movzx esi, byte [rsp + rax + 0x1c]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x13
jae 0x5201ae
movzx r8d, byte [rsp + rdi + 0x35]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x17]
cmp rsi, 0x13
jb 0x52013f
jmp 0x5201a2
xor eax, eax
lea rbx, [rsp + 0x35]
mov ecx, 0x13
call fcn.00447260
add rsp, 0x48
pop rbp
ret
mov eax, esi
mov ecx, 0x13
call fcn.0045a040
mov eax, edi
mov ecx, 0x13
call fcn.0045a040
nop
nop dword [rax + rax]
call fcn.00457d60
jmp fcn.005200c0
Function at 0x52a460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x52a526
push rbp
mov rbp, rsp
sub rsp, 0x30
movabs rdx, 0x5841732f02504028
mov qword [rsp + 0x25], rdx
mov dword [rsp + 0x2c], 0x94d3958
movabs rdx, 0x6020107000a0703
mov qword [rsp + 0x19], rdx
mov dword [rsp + 0x21], 0x90a0801
xor eax, eax
jmp 0x52a4c0
movzx r9d, byte [rsp + rsi + 0x25]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x1a]
mov byte [rsp + rdi + 0x25], dl
mov byte [rsp + rsi + 0x25], r8b
add rax, 2
nop
cmp rax, 0xc
jge 0x52a4f2
movzx edx, byte [rsp + rax + 0x19]
movzx esi, byte [rsp + rax + 0x1a]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xb
jae 0x52a517
movzx r8d, byte [rsp + rdi + 0x25]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x1a]
cmp rsi, 0xb
jb 0x52a4a4
jmp 0x52a50b
xor eax, eax
lea rbx, [rsp + 0x25]
mov ecx, 0xb
nop
call fcn.00447260
add rsp, 0x30
pop rbp
ret
mov eax, esi
mov ecx, 0xb
call fcn.0045a040
mov eax, edi
mov ecx, 0xb
nop
call fcn.0045a040
nop
call fcn.00457d60
jmp fcn.0052a460

Function at 0x52a620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x52a7a7
push rbp
mov rbp, rsp
sub rsp, 0x90
movabs rdx, 0x45ea27de20c34681
mov qword [rsp + 0x59], rdx
movabs rdx, 0x9e2f75206469d645
mov qword [rsp + 0x60], rdx
movabs rdx, 0x741772575e66c4af
mov qword [rsp + 0x68], rdx
movabs rdx, 0xa300d91b134562d1
mov qword [rsp + 0x70], rdx
movabs rdx, 0x6165fb0f2a656c04
mov qword [rsp + 0x78], rdx
movabs rdx, 0x224f4369100e6465
mov qword [rsp + 0x80], rdx
movabs rdx, 0xce4e625050de5ffd
mov qword [rsp + 0x88], rdx
movabs rdx, 0x3102341d2e080e1f
mov qword [rsp + 0x1b], rdx
movabs rdx, 0xf001a10242a2a1e
mov qword [rsp + 0x23], rdx
movabs rdx, 0x2f292604362f0f00
mov qword [rsp + 0x29], rdx
movabs rdx, 0x361b02041c0f0f1d
mov qword [rsp + 0x31], rdx
movabs rdx, 0x153117152d060602
mov qword [rsp + 0x39], rdx
movabs rdx, 0x1192a0518241f0d
mov qword [rsp + 0x41], rdx
movabs rdx, 0x220d1e23121c07
mov qword [rsp + 0x49], rdx
movabs rdx, 0x15292f002a2c2631
mov qword [rsp + 0x51], rdx
xor eax, eax
jmp 0x52a742
movzx r9d, byte [rsp + rsi + 0x59]
sub r9d, edx
lea edx, [r9 + 0x72]
mov byte [rsp + rdi + 0x59], dl
lea edx, [r8 + 0x72]
mov byte [rsp + rsi + 0x59], dl
add rax, 2
cmp rax, 0x3e
jge 0x52a76f
movzx edx, byte [rsp + rax + 0x1b]
movzx esi, byte [rsp + rax + 0x1c]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x37
jae 0x52a79a
movzx r8d, byte [rsp + rdi + 0x59]
sub r8d, edx
cmp rsi, 0x37
jb 0x52a725
jmp 0x52a78e
xor eax, eax
lea rbx, [rsp + 0x59]
mov ecx, 0x37
nop dword [rax + rax]
call fcn.00447260
add rsp, 0x90
pop rbp
ret
mov eax, esi
mov ecx, 0x37
call fcn.0045a040
mov eax, edi
mov ecx, 0x37
call fcn.0045a040
nop
call fcn.00457d60
jmp fcn.0052a620
Function at 0x52f9c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x52fa9b
push rbp
mov rbp, rsp
sub rsp, 0x70
movzx edx, byte [rax + 0x4c]
mov byte [rax + 0x4c], cl
nop
movabs rsi, 0x3a1e47043a36e1c2
mov qword [rsp + 0x57], rsi
movabs rsi, 0x963a1e47043a36e1
mov qword [rsp + 0x58], rsi
movabs rsi, 0x8119da03a2f08816
mov qword [rsp + 0x60], rsi
xor ecx, ecx
jmp 0x52fa27
lea rsi, [0x00575ca1]
movzx edi, byte [rsi + rcx]
movzx r8d, byte [rsp + rcx + 0x57]
xor r8d, edi
mov byte [rsp + rcx + 0x57], r8b
inc rcx
cmp rcx, 0x11
jl 0x52fa0b
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
mov byte [rsp + 0x36], dl
lea rdx, [rax + 0x40]
mov qword [rsp + 0x68], rdx
lea rbx, [rsp + 0x57]
mov ecx, 0x11
lea rax, [rsp + 0x37]
call fcn.00447260
mov ecx, 0x10
xor edi, edi
mov esi, 0x76
mov r8, rax
mov r9, rbx
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
nop dword [rax]
call fcn.0052d300
movzx edx, byte [rsp + 0x36]
mov rsi, qword [rsp + 0x80]
mov byte [rsi + 0x4c], dl
add rsp, 0x70
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
call fcn.00457d60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
nop dword [rax]
jmp fcn.0052f9c0

Function at 0x535e60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x535f2c
push rbp
mov rbp, rsp
sub rsp, 0x38
movabs rdx, 0x495c3a5350563325
mov qword [rsp + 0x2c], rdx
mov dword [rsp + 0x34], 0x295d5f52
movabs rdx, 0x8030a0a06090502
mov qword [rsp + 0x1e], rdx
movabs rdx, 0x401040103080803
mov qword [rsp + 0x24], rdx
xor eax, eax
jmp 0x535ec5
movzx r9d, byte [rsp + rsi + 0x2c]
lea edx, [r9 + rdx]
lea edx, [rdx - 0x19]
mov byte [rsp + rdi + 0x2c], dl
mov byte [rsp + rsi + 0x2c], r8b
add rax, 2
cmp rax, 0xe
jge 0x535efc
movzx edx, byte [rsp + rax + 0x1e]
movzx esi, byte [rsp + rax + 0x1f]
mov edi, edx
xor edx, esi
add edx, eax
nop dword [rax + rax]
cmp rdi, 0xc
jae 0x535f1f
movzx r8d, byte [rsp + rdi + 0x2c]
lea r8d, [r8 + rdx]
lea r8d, [r8 - 0x19]
cmp rsi, 0xc
jb 0x535eab
jmp 0x535f13
xor eax, eax
lea rbx, [rsp + 0x2c]
mov ecx, 0xc
call fcn.00447260
add rsp, 0x38
pop rbp
ret
mov eax, esi
mov ecx, 0xc
call fcn.0045a040
mov eax, edi
mov ecx, 0xc
call fcn.0045a040
nop
call fcn.00457d60
jmp fcn.00535e60
Function at 0x538720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x53880c
push rbp
mov rbp, rsp
sub rsp, 0x40
movabs rdx, 0xc2603534d0320dc7
mov qword [rsp + 0x2f], rdx
movabs rdx, 0x38c2603534d0320d
mov qword [rsp + 0x30], rdx
movabs rdx, 0x7866cf7702a193ff
mov qword [rsp + 0x38], rdx
movabs rdx, 0xb060b03010c0d03
mov qword [rsp + 0x1b], rdx
movabs rdx, 0xe000e0a0b060b03
mov qword [rsp + 0x1f], rdx
movabs rdx, 0x10c070b00090c
mov qword [rsp + 0x27], rdx
xor eax, eax
jmp 0x5387aa
movzx r9d, byte [rsp + rsi + 0x2f]
lea edx, [r9 + rdx]
lea edx, [rdx - 0x7a]
mov byte [rsp + rdi + 0x2f], dl
mov byte [rsp + rsi + 0x2f], r8b
add rax, 2
cmp rax, 0x14
jge 0x5387dc
movzx edx, byte [rsp + rax + 0x1b]
movzx esi, byte [rsp + rax + 0x1c]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x11
jae 0x5387ff
movzx r8d, byte [rsp + rdi + 0x2f]
lea r8d, [r8 + rdx]
lea r8d, [r8 - 0x7a]
cmp rsi, 0x11
jb 0x538790
jmp 0x5387f3
xor eax, eax
lea rbx, [rsp + 0x2f]
mov ecx, 0x11
call fcn.00447260
add rsp, 0x40
pop rbp
ret
mov eax, esi
mov ecx, 0x11
call fcn.0045a040
mov eax, edi
mov ecx, 0x11
call fcn.0045a040
nop
call fcn.00457d60
jmp fcn.00538720

Function at 0x5391c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5392ac
push rbp
mov rbp, rsp
sub rsp, 0x48
movabs rdx, 0x1826910c3832b61d
mov qword [rsp + 0x37], rdx
movabs rdx, 0x381826910c3832b6
mov qword [rsp + 0x38], rdx
movabs rdx, 0x58979cb1939fc339
mov qword [rsp + 0x40], rdx
movabs rdx, 0x10a0e0a0d050603
mov qword [rsp + 0x1f], rdx
movabs rdx, 0x601040c04060d
mov qword [rsp + 0x27], rdx
movabs rdx, 0xf030307010c060b
mov qword [rsp + 0x2f], rdx
xor eax, eax
jmp 0x53924a
movzx r9d, byte [rsp + rsi + 0x37]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x7a]
mov byte [rsp + rdi + 0x37], dl
mov byte [rsp + rsi + 0x37], r8b
add rax, 2
cmp rax, 0x18
jge 0x53927c
movzx edx, byte [rsp + rax + 0x1f]
movzx esi, byte [rsp + rax + 0x20]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x11
jae 0x53929f
movzx r8d, byte [rsp + rdi + 0x37]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x7a]
cmp rsi, 0x11
jb 0x539230
jmp 0x539293
xor eax, eax
lea rbx, [rsp + 0x37]
mov ecx, 0x11
call fcn.00447260
add rsp, 0x48
pop rbp
ret
mov eax, esi
mov ecx, 0x11
call fcn.0045a040
mov eax, edi
mov ecx, 0x11
call fcn.0045a040
nop
call fcn.00457d60
jmp fcn.005391c0
Function at 0x53aea0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x53b5f4
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x53aecd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x53b151
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x53b17d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x0059f900]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
nop dword [rax]
call fcn.0053b800
call fcn.00409cc0
mov rbx, rax
lea rax, [0x00550300]
call fcn.004313a0
inc rax
nop dword [rax]
cmp rax, r8
jge 0x53b1ae
mov r9, qword [rsi + rax*8]
xor r10d, r10d
jmp 0x53b1e3
lea rdi, [0x00550380]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x53aec3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x53b1c7
jmp 0x53b199
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00457d60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0053aea0

Function at 0x53b780
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x53b797
inc rax
cmp rax, 4
jge 0x53b7af
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x53b794
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x53b7c0
inc rax
cmp rax, 4
jge 0x53b7ce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x53b7f7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x53b7db
jmp 0x53b7bd

Function at 0x53d1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x53d2bd
push rbp
mov rbp, rsp
sub rsp, 0x50
movabs rdx, 0x2064671b6144ff69
mov qword [rsp + 0x38], rdx
movabs rdx, 0x6b1c454674743b46
mov qword [rsp + 0x40], rdx
movabs rdx, 0xbf182e5317464a5b
mov qword [rsp + 0x48], rdx
movabs rdx, 0x17110d131104160c
mov qword [rsp + 0x1a], rdx
movabs rdx, 0x11150102090c080d
mov qword [rsp + 0x22], rdx
movabs rdx, 0x216150f08161115
mov qword [rsp + 0x28], rdx
movabs rdx, 0xe17101114121305
mov qword [rsp + 0x30], rdx
xor eax, eax
jmp 0x53d260
movzx r9d, byte [rsp + rsi + 0x38]
sub r9d, edx
lea edx, [r9 + 0x39]
mov byte [rsp + rdi + 0x38], dl
lea edx, [r8 + 0x39]
mov byte [rsp + rsi + 0x38], dl
add rax, 2
nop dword [rax]
cmp rax, 0x1e
jge 0x53d28d
movzx edx, byte [rsp + rax + 0x1a]
movzx esi, byte [rsp + rax + 0x1b]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x18
jae 0x53d2b0
movzx r8d, byte [rsp + rdi + 0x38]
sub r8d, edx
cmp rsi, 0x18
jb 0x53d23f
jmp 0x53d2a4
xor eax, eax
lea rbx, [rsp + 0x38]
mov ecx, 0x18
call fcn.00447260
add rsp, 0x50
pop rbp
ret
mov eax, esi
mov ecx, 0x18
call fcn.0045a040
mov eax, edi
mov ecx, 0x18
call fcn.0045a040
nop
nop dword [rax]
call fcn.00457d60
jmp fcn.0053d1c0
Function at 0x540820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x54097a
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
movabs rdx, 0xe761a22a47f78af3
mov qword [rsp + 0x56], rdx
movabs rdx, 0x4d3a45ac353f6520
mov qword [rsp + 0x5e], rdx
movabs rdx, 0x4c674d3a45ac353f
mov qword [rsp + 0x60], rdx
movabs rdx, 0xff72206f0d4f6c25
mov qword [rsp + 0x68], rdx
movabs rdx, 0x750128068869396e
mov qword [rsp + 0x70], rdx
movabs rdx, 0xb4d9fd0b1f65d61d
mov qword [rsp + 0x78], rdx
movabs rdx, 0x1b11070d020f0d20
mov qword [rsp + 0x1e], rdx
movabs rdx, 0x2523031d001f280f
mov qword [rsp + 0x26], rdx
movabs rdx, 0x190b0c12041d0323
mov qword [rsp + 0x2e], rdx
movabs rdx, 0x23050d1f0b0a221e
mov qword [rsp + 0x36], rdx
movabs rdx, 0x290301262712200d
mov qword [rsp + 0x3e], rdx
movabs rdx, 0xd23140403152610
mov qword [rsp + 0x46], rdx
movabs rdx, 0x252620290429201e
mov qword [rsp + 0x4e], rdx
xor eax, eax
jmp 0x540918
movzx r9d, byte [rsp + rsi + 0x56]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x18]
mov byte [rsp + rdi + 0x56], dl
mov byte [rsp + rsi + 0x56], r8b
add rax, 2
cmp rax, 0x38
jge 0x54094a
movzx edx, byte [rsp + rax + 0x1e]
movzx esi, byte [rsp + rax + 0x1f]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x2a
jae 0x54096d
movzx r8d, byte [rsp + rdi + 0x56]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x18]
cmp rsi, 0x2a
jb 0x5408fe
jmp 0x540961
xor eax, eax
lea rbx, [rsp + 0x56]
mov ecx, 0x2a
call fcn.00447260
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov eax, esi
mov ecx, 0x2a
call fcn.0045a040
mov eax, edi
mov ecx, 0x2a
call fcn.0045a040
nop
call fcn.00457d60
nop
jmp fcn.00540820
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140005520]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x140005530]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call sym._amsg_exit
jmp 0x14000123c
mov rax, qword [0x140005530]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x140005530]
mov dword [rax], 1
mov rax, qword [0x140005570]
mov rdx, rax
mov rax, qword [0x140005560]
mov rcx, rax
call sym._initterm
jmp 0x14000123c
mov dword [0x140009024], 1
mov rax, qword [0x140005530]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x140005550]
mov rdx, rax
mov rax, qword [0x140005540]
mov rcx, rax
call sym._initterm
mov rax, qword [0x140005530]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140005520]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x140005470]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x140005470]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call sym._pei386_runtime_relocator
mov rax, qword [sym._gnu_exception_handler]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140005510]
mov qword [rdx], rax
lea rax, [sym.__mingw_invalidParameterHandler]
mov rcx, rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov eax, dword [0x140009004]
lea rdx, [0x140009008]
mov ecx, eax
call sym.duplicate_ppstrings
call sym.__main
mov rax, qword [0x1400054a0]
mov rax, qword [rax]
mov rdx, qword [0x140009010]
mov qword [rax], rdx
mov rcx, qword [0x140009010]
mov rdx, qword [0x140009008]
mov eax, dword [0x140009004]
mov r8, rcx
mov ecx, eax
call sym.main
mov dword [0x14000901c], eax
mov eax, dword [0x140009020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000901c]
mov ecx, eax
call sym.exit
mov eax, dword [0x140009024]
test eax, eax
jne 0x14000136c
call sym._cexit
mov eax, dword [0x14000901c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400054d0]
mov dword [rax], 1
mov rax, qword [0x1400054e0]
mov dword [rax], 1
mov rax, qword [0x1400054f0]
mov dword [rax], 1
mov rax, qword [0x140005490]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
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 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001d20
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x1400029f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009168]
test eax, eax
je 0x140002a8a
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009170]
mov qword [rbp - 8], rax
jmp 0x140002a6e
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 0x140002a62
cmp qword [rbp - 0x10], 0
je 0x140002a62
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 0x140002a28
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140002a8b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x180001250
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
xor ebx, ebx
movsxd rbp, edx
xor r11d, r11d
xor r10d, r10d
mov r14, r9
mov r15, r8
mov rdi, rcx
test edx, edx
jle 0x18000138c
mov rsi, rcx
lea r12, [0x18002a580]
neg rsi
mov rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x3d
jne 0x1800012a6
inc r11d
cmp r11d, 2
jg 0x1800012f9
cmp al, 0x7f
ja 0x1800012f9
movzx eax, al
movzx ecx, byte [rax + r12]
cmp cl, 0x7f
je 0x1800012f9
cmp cl, 0x40
jae 0x1800012c1
test r11d, r11d
jne 0x1800012f9
inc rdx
inc ebx
inc r10d
lea rax, [rsi + rdx]
cmp rax, rbp
jl 0x180001296
test ebx, ebx
je 0x18000138c
lea eax, [rbx + rbx*2]
lea eax, [rax*2 + 7]
sar eax, 3
cmp dword [r9], eax
jge 0x180001303
mov dword [r9], eax
mov eax, 0xfffffff0
jmp 0x18000138e
mov eax, 0xffffffee
jmp 0x18000138e
xor r8d, r8d
xor r11d, r11d
mov r9d, 3
mov rax, r15
test r10d, r10d
jle 0x180001386
nop word [rax + rax]
movzx ecx, byte [rdi]
movzx edx, byte [rcx + r12]
xor ecx, ecx
cmp dl, 0x40
sete cl
and edx, 0x3f
sub r9d, ecx
inc r11d
mov ecx, r8d
mov r8d, edx
shl ecx, 6
or r8d, ecx
cmp r11d, 4
jne 0x18000137b
xor r11d, r11d
test r9d, r9d
jle 0x18000135e
mov ecx, r8d
shr ecx, 0x10
mov byte [rax], cl
inc rax
cmp r9d, 1
jle 0x18000136f
mov ecx, r8d
shr ecx, 8
mov byte [rax], cl
inc rax
cmp r9d, 2
jle 0x18000137b
mov byte [rax], r8b
inc rax
dec r10d
inc rdi
test r10d, r10d
jg 0x180001320
sub eax, r15d
mov dword [r14], eax
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
Function at 0x180002100
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x798]
sub rsp, 0x898
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1800400b0]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov edi, r9d
mov r14, r8
mov rsi, rdx
mov rbx, rcx
lea r9, [rcx + 0xb0]
cmp qword [r9 + 0x18], 8
jb 0x18000214f
mov r9, qword [r9]
mov r8d, edi
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, edi
jne 0x1800022cb
mov qword [rsp + 0x50], 7
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
xor r8d, r8d
lea rdx, [0x18002a7e0]
lea rcx, [rsp + 0x38]
call fcn.180001930
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x80]
call fcn.180012620
mov r8d, edi
lea rdx, [0x18002a698]
lea rcx, [rbp - 0x80]
call fcn.180001bb0
lea rax, [rbp - 0x80]
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x58]
mov rcx, rbx
mov qword [rsp + 0x20], rax
cmp byte [rbx + 1], r15b
je 0x180002226
call fcn.180001fc0
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x180002224
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180002202
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.180001a80
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180001490
nop
jmp 0x180002277
call fcn.1800020c0
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x180002277
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180002255
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.180001a80
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180001490
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180002294
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.180001a80
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.180015984
mov ebx, eax
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x1800022c9
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.180001a80
mov eax, ebx
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.180010880
add rsp, 0x898
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret