joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004a7b4
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, r9
mov dword [rax - 0x30], 1
and dword [rax - 0x38], 0
xor r9d, r9d
mov esi, ecx
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18004a815
and dword [rdi], 0
cmp esi, 0x17
jne 0x18004a810
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
lea edx, [rsi + 0x12]
mov dword [rsp + 0x20], 4
lea r8d, [rsi + 4]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, rbx
jmp 0x18004a839
call fcn.1800030bc
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x38], eax
or rax, 0xffffffffffffffff
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [rsp + 0x38]
movdqu xmmword [rdi], xmm0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x18004ac80
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 8]
mov r11, r9
mov rsi, r8
mov r10, rdx
mov rbx, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x78], 0
je 0x18004acb2
xor r9d, r9d
xor r8d, r8d
jmp 0x18004acc1
cmp qword [rdx], 0xffffffffffffffff
jne 0x18004accf
xor r9d, r9d
mov r8d, 0x2719
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
jmp 0x18004ad48
mov eax, dword [rsp + 0x70]
lea r9, [rsp + 0x78]
and qword [rsp + 0x30], 0
mov r8d, r11d
mov rdi, qword [rsp + 0x80]
mov rdx, rsi
mov rcx, qword [r10]
and dword [rsp + 0x78], 0
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x18004ad21
mov eax, 0x2746
jmp 0x18004ad2e
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x18004ad4f
cmp eax, 0x3e5
je 0x18004ad4f
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.18003f550
jmp 0x18004ad5b
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.18003f5fc
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18004ade0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 8]
mov r11, r9
mov rbx, r8
mov r10, rdx
mov rdi, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x78], 0
je 0x18004ae12
xor r9d, r9d
xor r8d, r8d
jmp 0x18004ae21
cmp qword [rdx], 0xffffffffffffffff
jne 0x18004ae2f
xor r9d, r9d
mov r8d, 0x2719
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
jmp 0x18004ae92
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x78]
mov eax, dword [rsp + 0x70]
mov r8d, r11d
mov rsi, qword [rsp + 0x80]
mov rdx, rbx
mov rcx, qword [r10]
and dword [rsp + 0x78], 0
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
je 0x18004ae99
cmp eax, 0x3e5
je 0x18004ae99
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.18003f550
jmp 0x18004aea5
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.18003f5fc
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x18004aeb8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x40
xor r9d, r9d
mov r14d, r8d
mov rsi, rdx
mov rbp, rcx
xor r8d, r8d
xor ecx, ecx
lea r12d, [r9 + 1]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 8], rax
mov rdi, rax
test rax, rax
jne 0x18004af24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, r12d
mov rcx, rsi
mov ebx, eax
call qword [r8]
mov dword [rsp + 0x30], ebx
call fcn.1800030bc
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x18004b015
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x10], rax
mov qword [rsi + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x18004af6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, r12d
mov rcx, rsi
mov ebx, eax
call qword [r8]
mov dword [rsp + 0x30], ebx
call fcn.1800030bc
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x18004b027
and dword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r8, [0x18004ce5c]
and dword [rsp + 0x20], 0
mov r9, rsi
mov edx, r14d
xor ecx, ecx
call fcn.180061f20
mov qword [rbp + 8], rax
test rax, rax
jne 0x18004afe2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, r12d
mov rcx, rsi
mov ebx, eax
call qword [r8]
test rdi, rdi
je 0x18004afc1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x18004afd0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x30], ebx
call fcn.1800030bc
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x18004b039
test rdi, rdi
je 0x18004affc
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r12
pop rdi
ret
lea rdx, str.thread.entry_event
lea rcx, [rsp + 0x30]
call fcn.180002cc0
int3
lea rdx, str.thread.exit_event
lea rcx, [rsp + 0x30]
call fcn.180002cc0
int3
lea rdx, str.thread
lea rcx, [rsp + 0x30]
call fcn.180002cc0
int3
Function at 0x18004fde8
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov ecx, 0x400
call fcn.180054640
movzx ecx, word [0x1800a6720]
xor ebx, ebx
mov word [rbp + 0x38], cx
mov rsi, rax
mov cl, byte [0x1800a6722]
xor eax, eax
mov byte [rbp + 0x3a], cl
mov word [rbp + 0x3b], ax
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rbx
mov qword [rbp - 0x10], rbx
call qword [0x1800c6b60]
lea r15d, [rbx + 2]
mov r14d, eax
mov edi, r15d
mov edx, r14d
mov ecx, edi
shr edx, cl
test dl, 1
je 0x18004feb3
lea eax, [rdi + 0x41]
mov byte [rbp + 0x38], al
movsxd rax, ebx
add ebx, r15d
movsxd rcx, ebx
add ebx, r15d
mov word [rax + rsi], r15w
movzx eax, word [rbp + 0x38]
mov word [rcx + rsi], ax
lea rcx, [rbp + 0x38]
mov rax, qword [0x1800c6b68]
call rax
movsxd rcx, ebx
lea r9, [rbp + 0x48]
lea r8, [rbp + 0x40]
add ebx, 4
lea rdx, [rbp - 0x10]
mov dword [rcx + rsi], eax
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov rax, qword [rbp + 0x40]
movsxd rcx, ebx
add ebx, 8
mov qword [rcx + rsi], rax
mov rax, qword [rbp + 0x48]
movsxd rcx, ebx
add ebx, 8
mov qword [rcx + rsi], rax
inc edi
cmp edi, 0x1a
jl 0x18004fe40
mov rcx, qword [0x1800c6a08]
mov r9d, ebx
mov r8, rsi
mov edx, 0x5aea5caa
mov rcx, qword [rcx]
call fcn.180023988
mov rcx, rsi
call fcn.180054638
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x18004ff74
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [0x1800c6a08]
mov rcx, qword [rax + 0x20]
and dword [rcx + 8], 0
mov dword [rcx + 0xc], 1
jmp fcn.18000e1a8

Function at 0x180050060
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
xor r8d, r8d
cmp dword [rcx + 0x838], r8d
je 0x18005008b
mov rcx, qword [0x1800c6a08]
xor r9d, r9d
mov edx, 0x5a7b11b3
mov rcx, qword [rcx]
add rsp, 0x38
jmp fcn.180023988
mov rax, qword [0x1800c6b28]
xor r9d, r9d
mov qword [rsp + 0x28], r8
xor ecx, ecx
mov dword [rsp + 0x20], r8d
mov r8, rdx
xor edx, edx
call rax
mov rcx, rax
add rsp, 0x38
jmp qword [0x1800c6bf0]
Function at 0x1400017c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov byte [rsp + 0x50], 0x88
mov byte [rsp + 0x51], 0x7f
mov byte [rsp + 0x52], 0x17
mov byte [rsp + 0x53], 0x25
mov byte [rsp + 0x54], 0x67
mov byte [rsp + 0x55], 8
mov byte [rsp + 0x56], 0xa8
mov byte [rsp + 0x57], 4
mov byte [rsp + 0x58], 0x57
mov byte [rsp + 0x59], 0xc2
mov dword [rsp + 0x24], 0x21931615
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, 0xa
jae 0x14000185d
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
sub eax, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x24]
rol al, cl
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
ror eax, 0xb
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140001815
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000187c
xor eax, eax
jmp 0x1400019b3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000189c
xor eax, eax
jmp 0x1400019b3
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0x4550
je 0x1400018c9
xor eax, eax
jmp 0x1400019b3
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400018fd
xor eax, eax
jmp 0x1400019b3
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x20], 0
je 0x1400019a8
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x18], 0
je 0x1400019a8
mov rax, qword [rsp + 0x70]
cmp qword [rax + 8], 0
je 0x1400019a8
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x1400019a8
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x10], 0
jne 0x1400019ae
xor eax, eax
jmp 0x1400019b3
mov eax, 1
add rsp, 0x68
ret
Function at 0x1401f5b00
Capabilities:
Get disk size
Manipulate console buffer

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x1f8
movabs rax, 0x73c1161bcb4186
mov qword [rsp + 0x40], rax
movabs rax, 0x7693f43436c6a8
cmp qword [rsp + 0x40], rax
jb 0x1401f5b7d
movabs rax, 0x7397938bec2a93
cmp qword [rsp + 0x40], rax
jb 0x1401f5b7b
mov dword [rsp + 0x200], 0x3dd8
call qword [sym.imp.KERNEL32.dll_AreFileApisANSI]
mov dword [rsp + 0x78], eax
call fcn.1401f5210
mov dword [rsp + 0x200], 0xd0a5
movabs rax, 0x7bc18d251c154a
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1401f5ba2
movabs rax, 0x7810b968da0fc7
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
movzx eax, word [0x140273278]
mov word [rsp + 0x34], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x30], 0x15
mov eax, dword [rsp + 0x200]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1401f5bc5
jmp 0x1401f5c23
mov eax, dword [rsp + 0x200]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1401f5bd9
jmp 0x1401f5bf4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x3c], 0xa8
mov eax, 0x149
mov word [rsp + 0x38], ax
jmp 0x1401f5c1e
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x58]
lea rcx, str.C:intelligencesInsult_soullessRape
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov dword [rsp + 0x58], eax
jmp 0x1401f5d1c
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
add rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov dword [rsp + 0x200], 0x42a5
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
movabs rax, 0x70dd6c5f21f1af
cmp qword [rsp + 0x88], rax
je 0x1401f5c69
jmp 0x1401f5d0d
movsx eax, word [rsp + 0x34]
mov rcx, qword [rsp + 0x70]
movsx ecx, word [rcx]
and eax, ecx
movsx ecx, word [0x140273278]
cmp eax, ecx
jle 0x1401f5d0b
lea r9, [rsp + 0x34]
mov r8d, 0x50
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov dword [rsp + 0x7c], eax
movabs rax, 0x72d18692801629
mov rcx, qword [rsp + 0x60]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x90], rcx
movzx ecx, al
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
shr rax, cl
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [rsp + 0x80], eax
jmp 0x1401f5d1c
movzx eax, word [rsp + 0x38]
or eax, 0xc70
mov word [rsp + 0x38], ax
lea rax, [rsp + 0x38]
mov qword [rsp + 0xa8], rax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x3d], al
mov eax, dword [0x140274b90]
add rsp, 0x1f8
ret
Function at 0x1401f6a50
Capabilities:
Parse pe header

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

Function at 0x1401f9efc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401f9f6b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401f9f6b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401f9f6b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401f9f6b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401f9f6b
cmp dword [rcx + 0x84], 0xe
jbe 0x1401f9f6b
cmp dword [rcx + 0xf8], 0
je 0x1401f9f6b
mov ecx, ebx
call fcn.1401fa01c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401f9df8
nop
cmp dword [rbp + 0x20], 0
je 0x1401f9fb9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401f9fc4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1401f9efc

Function at 0x1401fa100
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401f9efc
Function at 0x1401fd1b4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401fd1e4
xor eax, eax
jmp 0x1401fd2a7
mov rbp, rbx
cmp word [rax], si
je 0x1401fd209
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401fd1f0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401fd1ec
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1401fd0d4
movsxd r14, eax
test eax, eax
jne 0x1401fd247
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401fd1dd
mov rcx, r14
call fcn.1401fdc48
mov rdi, rax
test rax, rax
jne 0x1401fd260
xor ecx, ecx
call fcn.1401fb70c
jmp 0x1401fd23c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1401fd0d4
test eax, eax
jne 0x1401fd291
mov rcx, rdi
call fcn.1401fb70c
jmp 0x1401fd29b
xor ecx, ecx
call fcn.1401fb70c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140202a10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140202a38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140202a38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001f24
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13b0
call fcn.1800587d0
sub rsp, rax
mov rbx, rcx
xor ecx, ecx
call fcn.180068010
or dword [rsp + 0x13a4], 0xffffffff
mov r8d, 1
mov edx, r8d
mov dword [rsp + 0x24], eax
mov r9d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x24], ecx
mov eax, ecx
add rdx, r8
cmp rdx, r9
jb 0x180001f58
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], r9d
lea rcx, [rsp + 0x13c0]
mov dword [rsp + 0x13c0], r8d
mov dword [rsp + 0x13c4], 6
call fcn.18000e2f4
mov dword [rbx + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, dword [rbx + 0x30]
sub edx, 1
je 0x180002052
sub edx, 1
je 0x180002038
sub edx, 1
je 0x18000201b
sub edx, 1
je 0x180002001
sub edx, 1
je 0x180001fe4
cmp edx, 1
jne 0x18000206c
mov ecx, 0x21f0
call fcn.1800581cc
mov qword [rbx + 0x28], rax
jmp 0x18000206c
xor ecx, ecx
mov edx, 0x21f0
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbx + 0x20], rax
jmp 0x18000206c
mov edx, 8
mov r8d, 0x21f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx + 0x18], rax
jmp 0x18000206c
xor ecx, ecx
mov edx, 0x21f0
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbx + 0x10], rax
jmp 0x18000206c
mov edx, 8
mov r8d, 0x21f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx + 8], rax
jmp 0x18000206c
xor ecx, ecx
mov edx, 0x21f0
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbx], rax
mov rax, rbx
add rsp, 0x13b0
pop rbx
ret
Function at 0x180002114
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
xor edx, edx
mov rbx, rcx
lea rcx, [rbp + 7]
lea r8d, [rdx + 0x48]
call fcn.180080510
lea rax, [0x180002318]
mov qword [rbp + 0x1f], rbx
lea rdi, str.BrainStorm
mov qword [rbp + 0xf], rax
lea rcx, [rbp + 7]
mov qword [rbp + 0x47], rdi
call qword [sym.imp.USER32.dll_RegisterClassW]
and qword [rsp + 0x58], 0
lea r8, str.Brain_Storm
mov qword [rsp + 0x50], rbx
mov eax, 0xf0
and qword [rsp + 0x48], 0
mov r9d, 0xcf0000
and qword [rsp + 0x40], 0
mov rdx, rdi
mov dword [rsp + 0x38], eax
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov eax, 0x80000000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
mov qword [0x180102d18], rax
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x180102d18]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea r13, [0x180102cd0]
mov ecx, 1
mov rax, r13
lea r8, [0x180102d10]
mov edx, 4
mov dword [rax], ecx
inc ecx
add rax, 4
sub rdx, 1
jne 0x1800021ef
cmp rax, r8
jl 0x1800021ea
and dword [0x180102d0c], edx
xor ecx, ecx
mov dword [0x180102d38], 3
mov dword [0x180102cc8], 3
call fcn.180068010
mov rcx, rax
call fcn.1800667e8
mov esi, 0x3e8
mov ebx, dword [0x180102d38]
mov edi, dword [0x180102cc8]
call fcn.1800667bc
and eax, 0x80000003
jge 0x18000224f
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x18000226e
sub eax, 1
je 0x18000226a
sub eax, 1
je 0x180002266
cmp eax, 1
jne 0x180002270
inc ebx
jmp 0x180002270
dec ebx
jmp 0x180002270
inc edi
jmp 0x180002270
dec edi
cmp ebx, 3
ja 0x1800022b6
cmp edi, 3
ja 0x1800022b6
movsxd rcx, dword [0x180102d38]
movsxd rax, dword [0x180102cc8]
mov dword [0x180102d38], ebx
mov dword [0x180102cc8], edi
lea r8, [rax + rcx*4]
movsxd rcx, ebx
movsxd rax, edi
lea rdx, [rax + rcx*4]
mov eax, dword [r13 + r8*4]
mov ecx, dword [r13 + rdx*4]
mov dword [r13 + rdx*4], eax
mov dword [r13 + r8*4], ecx
sub rsi, 1
jne 0x180002230
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
jmp 0x1800022e5
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x29]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1800022d1
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r13, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
add rsp, 0x28
jmp 0x180002114
Function at 0x18000632c
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
xor edx, edx
mov rdi, rcx
lea rcx, [rbp + 7]
lea r8d, [rdx + 0x48]
call fcn.180080510
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
lea rbx, str.ConvClass
lea rcx, [rbp + 7]
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x47], rbx
call qword [sym.imp.USER32.dll_RegisterClassA]
and qword [rsp + 0x58], 0
lea r8, str.Currency_Converter
mov qword [rsp + 0x50], rdi
mov eax, 0x80000000
and qword [rsp + 0x48], 0
mov r9d, 0xcf0000
and qword [rsp + 0x40], 0
mov rdx, rbx
mov dword [rsp + 0x38], 0x12c
xor ecx, ecx
mov dword [rsp + 0x30], 0x190
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
and qword [rsp + 0x58], 0
lea r8, [0x18008f465]
mov qword [rsp + 0x50], rdi
lea rdx, str.EDIT
and qword [rsp + 0x48], 0
mov r9d, 0x50802000
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov dword [rsp + 0x38], 0x1e
mov rbx, rax
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x28], 0x32
mov dword [rsp + 0x20], 0x32
call qword [sym.imp.USER32.dll_CreateWindowExA]
and qword [rsp + 0x58], 0
lea r8, str.Convert_to_Euro
mov qword [rsp + 0x50], rdi
lea rdx, str.BUTTON
and qword [rsp + 0x48], 0
mov r9d, 0x50000001
mov qword [rsp + 0x40], rbx
xor ecx, ecx
mov dword [rsp + 0x38], 0x1e
mov dword [rsp + 0x30], 0x96
mov dword [rsp + 0x28], 0x32
mov dword [rsp + 0x20], 0xa0
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
and qword [rsp + 0x58], 0
lea r8, [0x18008f465]
mov qword [rsp + 0x50], rdi
lea rdx, str.EDIT
and qword [rsp + 0x48], 0
mov r9d, 0x50800804
mov qword [rsp + 0x40], rbx
xor ecx, ecx
mov dword [rsp + 0x38], 0x96
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x32
call qword [sym.imp.USER32.dll_CreateWindowExA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
jmp 0x1800064fa
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x29]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1800064e6
mov eax, dword [rbp - 0x19]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
add rsp, 0x28
jmp 0x18000632c