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

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x14010e0b4
cmp r8d, 0xff
jne 0x14010dff1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x14010dfdb
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x168360]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1400ea7d0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1400ea7d0
cmp r8d, 0xfb
jne 0x14010e003
lea r9, str.WILL
jmp 0x14010e041
cmp r8d, 0xfc
jne 0x14010e015
lea r9, str.WONT
jmp 0x14010e041
cmp r8d, 0xfd
jne 0x14010e027
lea r9, [0x140168d84]
jmp 0x14010e041
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14010e09d
cmp r10d, 0x27
jg 0x14010e074
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x168980]
test r8, r8
jne 0x14010e084
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1400ea7d0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14010e05b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1400ea7d0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1400ea7d0
add rsp, 0x38
ret

Function at 0x14010e400
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14010e45f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400ea650
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.14010df90
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14010e610
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14010e7b8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14010e675
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14010e675
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14010e675
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14010e6ac
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14010e702
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010e702
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010e702
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010e702
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010e702
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14010e0c0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14010e764
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400ea650
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14010e490
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14010e7b0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400ea650
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14010ff20
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1401a9600]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14010ffb5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140110016
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400ea650
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140123840
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1401100d1
sub ecx, 1
je 0x140110144
sub ecx, 1
je 0x140110080
cmp ecx, 1
je 0x140110063
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14016cd2c]
call fcn.1400ea650
jmp 0x140110144
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14010fc50
test eax, eax
je 0x140110144
jmp 0x14010ffea
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140110144
sub rax, rsi
cmp rax, rbp
jae 0x140110144
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400ea7d0
jmp 0x140110144
cmp r8d, 4
jle 0x140110144
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140110144
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400ea570
mov esi, eax
test eax, eax
je 0x140110123
mov edx, 5
mov rcx, rbx
call fcn.140110c10
mov eax, esi
jmp 0x14010ffea
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400f9040
mov rcx, r14
call fcn.1400f9320
test eax, eax
je 0x14010ffe8
mov edx, 5
mov rcx, rbx
call fcn.140110c10
mov eax, Ordinal_46
jmp 0x14010ffea
Function at 0x140122ee0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140122f22
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140122f69
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140122fc2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140122f80
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140123003
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14016becb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14016becc]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140122fd0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1401230a0
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 0x1401230da
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401230df
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 0x140123128
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140123128
dec r8
sub rdx, 1
jne 0x14012310e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401248f4
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14000e0b5
cmp word [rcx], 0x5a4d
jne 0x14000e0b5
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x14000e0b5
call fcn.140006c4e
mov rcx, qword [0x140baf5c0]
mov rbx, rax
call fcn.140011db0
cmp byte [rax], 0
jne 0x14000e0b5
cmp dword [rbx], 0x4550
je 0x14000e0b7
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400119a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [sym.MZ_u1_3JnuOSF_iZ_Tc_bg__UdC:_IWP3]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400119c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400119c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400119c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140011a1d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140011a14
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400119c0
add rax, 0x28
cmp rax, r9
jne 0x140011a00
xor eax, eax
ret

Function at 0x140011a20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [sym.MZ_u1_3JnuOSF_iZ_Tc_bg__UdC:_IWP3]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140011a3f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140011a48
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140011a3f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140011ae0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [sym.MZ_u1_3JnuOSF_iZ_Tc_bg__UdC:_IWP3]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140011aff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140011b08
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140bc15a0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x140bc15cd
xor al, al
jmp 0x140bc172f
mov rax, qword [0x140be16b0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x140be16b8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x140be16c0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x140be16c8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140be16d0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x140be16d8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x140be16e0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x140be16e8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x140be16f0]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x140bc1721
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x140bc1679
mov r11d, 2
jmp 0x140bc169d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x140bc1693
mov r11d, 1
jmp 0x140bc169d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x140bc1745
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x140bc16e2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x140bc16fa
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x140bc170a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x140bc1718
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x140bc1660
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x140bc172a
Function at 0x45e200
Capabilities:
Parse pe header
Terminate process

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
cmp word [0x00400000], 0x5a4d
je 0x45e221
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
movsxd rax, dword [0x0040003c]
lea rcx, [0x00400000]
add rax, rcx
cmp dword [rax], 0x4550
je 0x45e242
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x45e280
cmp ecx, 0x20b
je 0x45e25e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
cmp dword [rax + 0x84], 0xe
ja 0x45e26f
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
cmp dword [rax + 0x74], 0xe
ja 0x45e28e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0x60], ebx
mov ecx, 1
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x00483dc8], 0xffffffffffffffff
mov qword [0x00483dd0], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x00481da4]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x00481da0]
mov dword [rcx], eax
call fcn.0045d2e0
cmp dword [0x004817b0], 0
jne 0x45e2f7
lea rcx, [fcn.0045d2e0]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x00460498]
lea rcx, [0x00460490]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x00481d9c]
mov dword [rsp + 0x68], r11d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x00481d98]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x00460488]
lea rcx, [0x00460430]
call sub.msvcrt.dll__initterm
mov r11, qword [rsp + 0x38]
mov rax, qword [sym.imp.msvcrt.dll___initenv]
mov qword [rax], r11
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
call 0x5fa000
mov edi, eax
mov dword [rsp + 0x34], eax
test ebx, ebx
jne 0x45e383
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x45e3a4
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x58
ret
Function at 0x1400069a0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
mov eax, 0x1060
call fcn.140022ee0
sub rsp, rax
mov rsi, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x48], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r14b
mov dword [rsp + 0x48], 1
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
test rax, rax
je 0x140006b84
mov r8d, 0x1bb
xor r9d, r9d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
test rax, rax
je 0x140006b84
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, rbp
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbp, rax
test rax, rax
je 0x140006b84
mov dword [rsp + 0x4c], 0x3300
lea r9d, [r14 + 4]
lea r8, [rsp + 0x4c]
lea edx, [r14 + 0x1f]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x140006b84
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140006b84
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140006b84
nop word [rax + rax]
mov dword [rsp + 0x44], r14d
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
call fcn.1400250c0
lea rdx, [rsp + 0x44]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [rsp + 0x44]
cmp eax, 0x1000
mov r8d, 0x1000
ja 0x140006b09
mov r8d, eax
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov esi, dword [rsp + 0x50]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140006b61
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140006b47
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140024a20
mov byte [rbx + rsi], 0
jmp 0x140006b79
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.140006500
cmp dword [rsp + 0x44], 0
ja 0x140006ad0
mov rax, rdi
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140008b80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140008bb4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140008ba0
ret
Function at 0x14000c7e0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000c8ac
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000c8ac
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14000c8c5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000c89c
cmp byte [rax], 0x5c
jne 0x14000c896
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14000c896
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000c882
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14000c893
test r8b, 0x10
jne 0x14000c896
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14000c896
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140009590
test edi, edi
jne 0x14000c800
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140009580
int3
Function at 0x140011000
Capabilities:
Encode data using xor

Disassembly:
movzx r10d, byte [rdx]
mov r11, rdx
mov r9, qword [rcx + 0x18]
movzx r8d, r10b
movzx eax, byte [r9 + 0x1d]
xor r8b, byte [rax + rcx + 0x71]
xor byte [r9], r8b
mov r9, qword [rcx + 0x18]
movzx eax, byte [r9 + 0x1e]
movzx r8d, byte [rax + rcx + 0x71]
xor byte [r9 + 1], r8b
mov r9d, 5
mov r8, qword [rcx + 0x18]
movzx eax, byte [r8 + 0x1f]
movzx edx, byte [rax + rcx + 0x71]
xor byte [r8 + 2], dl
mov r8, qword [rcx + 0x18]
movzx eax, byte [r8 + 0x1c]
movzx edx, byte [rax + rcx + 0x71]
movzx eax, r10b
xor byte [r8 + 3], dl
add r10b, r10b
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
xor dl, r10b
mov r10b, 4
mov byte [r11], dl
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rcx + 0x18]
movzx eax, r10b
add r10b, 4
lea r8, [rdx + r9]
movzx edx, byte [rax + rdx - 4]
xor byte [r8 - 1], dl
mov rax, qword [rcx + 0x18]
lea rdx, [rax + r9]
movzx eax, byte [rax + r9 - 4]
xor byte [rdx], al
mov rax, qword [rcx + 0x18]
lea rdx, [r9 + rax]
movzx eax, byte [r9 + rax - 3]
xor byte [rdx + 1], al
mov rax, qword [rcx + 0x18]
lea rdx, [r9 + rax]
movzx eax, byte [r9 + rax - 2]
xor byte [rdx + 2], al
lea r9, [r9 + 4]
cmp r10b, 0x10
jb 0x140011080
mov r8, qword [rcx + 0x18]
mov r10b, 0x14
mov r9d, 0x15
movzx eax, byte [r8 + 0xc]
movzx edx, byte [rax + rcx + 0x71]
xor byte [r8 + 0x10], dl
mov r8, qword [rcx + 0x18]
movzx eax, byte [r8 + 0xd]
movzx edx, byte [rax + rcx + 0x71]
xor byte [r8 + 0x11], dl
mov r8, qword [rcx + 0x18]
movzx eax, byte [r8 + 0xe]
movzx edx, byte [rax + rcx + 0x71]
xor byte [r8 + 0x12], dl
mov r8, qword [rcx + 0x18]
movzx eax, byte [r8 + 0xf]
movzx edx, byte [rax + rcx + 0x71]
xor byte [r8 + 0x13], dl
nop word [rax + rax]
mov rdx, qword [rcx + 0x18]
movzx eax, r10b
add r10b, 4
lea r8, [rdx + r9]
movzx edx, byte [rax + rdx - 4]
xor byte [r8 - 1], dl
mov rax, qword [rcx + 0x18]
lea rdx, [rax + r9]
movzx eax, byte [rax + r9 - 4]
xor byte [rdx], al
mov rax, qword [rcx + 0x18]
lea rdx, [r9 + rax]
movzx eax, byte [r9 + rax - 3]
xor byte [rdx + 1], al
mov rax, qword [rcx + 0x18]
lea rdx, [r9 + rax]
movzx eax, byte [r9 + rax - 2]
xor byte [rdx + 2], al
lea r9, [r9 + 4]
cmp r10b, 0x20
jb 0x140011130
ret
Function at 0x1400177d0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x460
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140017827
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x140017869
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140017800
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x434
call fcn.1400250c0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
nop
cmp qword [rsp + 0x48], rdi
je 0x14001787a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140017850
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140017869
mov rcx, rdi
cmp eax, 1
je 0x140017895
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400177e0
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]