joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002a740
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
cmp qword [rsp + 0x98], 0
jne 0x14002a8c5
mov dword [rsp + 0x20], 0x200
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
mov qword [rsp + 0x48], rax
mov eax, 2
mov rcx, qword [rsp + 0x48]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400cd718
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov r8, qword [rax + 8]
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add eax, 2
cmp eax, dword [rsp + 0x20]
jb 0x14002a880
mov eax, dword [rsp + 0x20]
add eax, 0x200
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.14013aa70
cmp qword [rsp + 0x38], 0
jne 0x14002a80d
mov qword [rsp + 0x58], 0
jmp 0x14002a820
mov qword [rsp + 0x28], 0x8123
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
mov qword [rsp + 0x60], rax
mov eax, 2
mov rcx, qword [rsp + 0x60]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400cd718
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov r8, qword [rax + 8]
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [rsp + 0x30], eax
jmp 0x14002a7c8
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14013aa70
cmp qword [rsp + 0x40], 0
jne 0x14002a8a7
mov qword [rsp + 0x70], 0
jmp 0x14002a8ba
mov qword [rsp + 0x28], 0x8123
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x30]
add eax, 2
jmp 0x14002a8e6
mov rax, qword [rsp + 0x90]
mov r8, qword [rax + 8]
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
add rsp, 0x88
ret
Function at 0x14002b810
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov byte [rax + 0x68], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x10], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x10], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x10325476
ret

Function at 0x14002b8d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x518
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14031f2d0]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x68]
call fcn.14000f250
nop
lea rdx, [0x1402a9694]
mov rcx, qword [rsp + 0x528]
call fcn.140226d10
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14002b9e3
mov r9, qword [rsp + 0x28]
mov r8d, 0x400
mov edx, 1
lea rcx, [rsp + 0x100]
call fcn.140227008
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x90]
call fcn.14002b7b0
cmp qword [rsp + 0x30], 0
je 0x14002b9a9
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x90]
call fcn.14002b8a0
mov r9, qword [rsp + 0x28]
mov r8d, 0x400
mov edx, 1
lea rcx, [rsp + 0x100]
call fcn.140227008
mov qword [rsp + 0x30], rax
jmp 0x14002b963
mov rcx, qword [rsp + 0x28]
call fcn.140225ecc
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x90]
call fcn.14002d880
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.14002db40
lea rcx, [rsp + 0x48]
call fcn.14000f150
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x520]
call fcn.14000f180
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x68]
call fcn.14000f150
mov rax, qword [rsp + 0x520]
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14013a450
add rsp, 0x518
ret
Function at 0x14002d880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14031f2d0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0xa0]
call fcn.14002b7d0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], InitCommonControls
lea rcx, [rsp + 0x60]
call fcn.14000f250
nop
mov rax, qword [rsp + 0x48]
shl rax, 1
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140026bb0
mov byte [rsp + 0x20], gethostbyname
mov byte [rsp + 0x21], gethostbyname
mov byte [rsp + 0x22], gethostbyname
mov byte [rsp + 0x23], gethostbyname
mov byte [rsp + 0x24], reloc.WS2_32.dll_gethostbyname
mov byte [rsp + 0x25], gethostname
mov byte [rsp + 0x26], gethostname
mov byte [rsp + 0x27], gethostname
mov byte [rsp + 0x28], gethostname
mov byte [rsp + 0x29], reloc.WS2_32.dll_gethostname
mov byte [rsp + 0x2a], 0x61
mov byte [rsp + 0x2b], 0x62
mov byte [rsp + 0x2c], 0x63
mov byte [rsp + 0x2d], 0x64
mov byte [rsp + 0x2e], 0x65
mov byte [rsp + 0x2f], 0x66
mov qword [rsp + 0x38], 0
jmp 0x14002d957
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x38], rax
jae 0x14002d9d7
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x30]
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x40]
movzx r8d, byte [rsp + rax + 0x20]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1400105f0
movsxd rax, dword [rsp + 0x44]
movzx r8d, byte [rsp + rax + 0x20]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1400105f0
jmp 0x14002d94a
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xa8]
call fcn.14000f180
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x60]
call fcn.14000f150
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14013a450
add rsp, 0x98
ret
Function at 0x14002dce0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x14031f2d0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x14002dd1d
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002dd24
mov al, 1
jmp 0x14002de60
call fcn.140023cf0
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
mov edx, eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x48]
call qword [rax + Ordinal_26]
mov dword [rsp + 0x38], eax
call fcn.140023cf0
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x3c]
call fcn.140023c60
movzx eax, al
test eax, eax
je 0x14002dd75
xor al, al
jmp 0x14002de60
mov qword [rsp + 0x50], 0x20
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x68]
call fcn.14002e060
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14002ddda
cmp dword [rsp + 0x30], 1
je 0x14002dde6
cmp dword [rsp + 0x30], 3
je 0x14002de5a
jmp 0x14002de5e
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x14002de31
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140226380
cmp qword [rsp + 0x40], rax
je 0x14002de31
xor al, al
jmp 0x14002de60
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002de4b
mov dword [rsp + 0x34], 1
jmp 0x14002de53
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14002de60
mov al, 1
jmp 0x14002de60
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14013a450
add rsp, 0x98
ret

Function at 0x14002e360
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x78], 0
jne 0x14002e387
xor al, al
jmp 0x14002e439
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x14002e399
xor al, al
jmp 0x14002e439
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], 0x400
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14002e3df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
xor al, al
jmp 0x14002e439
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x14002e3f2
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x38]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
jmp 0x14002e42c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov al, 1
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x14002e5c0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x14031f2d0]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dword [rsp + 0x3c], 0
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x207
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x1402a9c5c]
lea rcx, [rsp + 0x78]
call fcn.14000ab90
nop
mov dword [rsp + 0x70], reloc.WS2_32.dll_gethostbyname
xor edx, edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14002e798
mov qword [rsp + 0x30], 0
cmp qword [rsp + 0x30], 0
jne 0x14002e69f
movsxd rax, dword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov eax, 2
mov rcx, qword [rsp + 0x48]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400cd718
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x14002e65c
mov r9, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x38]
xor edx, edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14002e75e
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x68]
lea rdx, [0x1402a9c6c]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14002e75e
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0xc]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0xc]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rsp + 0x68]
mov edx, dword [rdx + 8]
and rdx, 0xffff
movzx edx, dx
mov rdi, qword [rsp + 0x68]
mov edi, dword [rdi + 8]
shr rdi, 0x10
and rdi, 0xffff
movzx edi, di
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
mov r8d, edi
lea rdx, str._d._d._d._d
mov rcx, qword [rsp + 0x30]
call fcn.140015490
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.140005040
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14013aa70
cmp qword [rsp + 0x40], 0
jne 0x14002e785
mov qword [rsp + 0x58], 0
jmp 0x14002e798
mov qword [rsp + 0x30], 0x8123
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x2d0]
call fcn.140005120
mov eax, dword [rsp + 0x3c]
or eax, 1
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0x78]
call fcn.1400050f0
mov rax, qword [rsp + 0x2d0]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14013a450
add rsp, 0x2c0
pop rdi
ret
Function at 0x140037ec0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
test eax, eax
je 0x140037ed7
jmp 0x140037f26
mov rax, qword [rsp + 0x40]
mov byte [rax], 1
mov rcx, qword [rsp + 0x40]
call fcn.14003c7f0
mov rcx, qword [rsp + 0x40]
call fcn.14003cf00
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x140037e20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x80], rax
add rsp, 0x38
ret

Function at 0x140037f30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x68], 0
je 0x140037f60
mov rax, qword [rsp + 0x60]
add rax, 0xa8
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.140038030
jmp 0x140037f86
mov rax, qword [rsp + 0x60]
add rax, 0x108
mov rcx, rax
call fcn.140040af0
mov rax, qword [rsp + 0x60]
add rax, 0x168
mov rcx, rax
call fcn.140040af0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140037fb8
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.140031590
mov qword [rsp + 0x40], rax
jmp 0x140037fc1
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 1]
test eax, eax
je 0x140037fd0
jmp 0x140038020
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 1
mov rcx, qword [rsp + 0x60]
call fcn.14003cc80
mov rcx, qword [rsp + 0x60]
call fcn.14003cfe0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x60]
lea r8, [0x140037e70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x88], rax
add rsp, 0x58
ret
Function at 0x140039480
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x348
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x14031f2d0]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov qword [rsp + 0x40], 0
lea r8, [0x1402ab4b4]
mov rdx, qword [rsp + 0x350]
lea rcx, [rsp + 0x98]
call fcn.1400373f0
nop
lea r8, [0x1402acac8]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xb8]
call fcn.1400373f0
nop
lea rcx, [rsp + 0xb8]
call fcn.14000ab60
lea rdx, [rsp + 0xe0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x140039544
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0xb8]
call fcn.1400050f0
nop
lea rcx, [rsp + 0x98]
call fcn.1400050f0
mov rax, qword [rsp + 0x58]
jmp 0x1400396da
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400396a5
lea rax, [rsp + 0x10c]
lea rcx, [0x1402ab4a4]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x140039587
add rax, 2
test dx, dx
jne 0x140039571
xor eax, eax
jmp 0x14003958c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400395c1
lea rax, [rsp + 0x10c]
lea rcx, [0x1402ac61c]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400395b8
add rax, 2
test dx, dx
jne 0x1400395a2
xor eax, eax
jmp 0x1400395bd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400395c3
jmp 0x140039544
lea r8, [rsp + 0x10c]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x78]
call fcn.1400373f0
nop
mov eax, dword [rsp + 0xe0]
and eax, 0x10
test eax, eax
je 0x14003960b
lea rcx, [rsp + 0x78]
call fcn.140039480
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x140039696
lea rcx, [rsp + 0x78]
call fcn.14000ab60
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x140039661
lea rcx, [rsp + 0x78]
call fcn.1400050f0
jmp 0x140039544
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003968a
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x78]
call fcn.1400050f0
jmp 0x140039544
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xb8]
call fcn.1400050f0
nop
lea rcx, [rsp + 0x98]
call fcn.1400050f0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.14013a450
add rsp, 0x348
ret
Function at 0x14003cde0
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x48
cmp qword [0x14072c888], 0
je 0x14003ceac
mov rax, qword [0x14072c888]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0xbb8
mov rax, qword [0x14072c888]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14003ce64
mov rax, qword [0x14072c888]
cmp qword [rax + 0x78], 0
je 0x14003ce64
mov edx, 0xffffffff
mov rax, qword [0x14072c888]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rax, qword [0x14072c888]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x14072c888]
mov qword [rax + 0x78], 0
mov rax, qword [0x14072c888]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14003ce98
mov edx, 1
mov rcx, qword [rsp + 0x20]
call fcn.14003cec0
mov qword [rsp + 0x30], rax
jmp 0x14003cea1
mov qword [rsp + 0x30], 0
mov qword [0x14072c888], 0
add rsp, 0x48
ret
Function at 0x14003d690
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14031f2d0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003d78c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14003d780
cmp dword [rsp + 0x24], 0x2af9
jne 0x14003d71a
call fcn.14000aa60
lea rdx, str.Host_not_found_n
mov rcx, rax
call fcn.140037b30
call fcn.14000a9d0
lea rdx, [0x1402ae2a8]
mov rcx, rax
call fcn.140037b30
jmp 0x14003d780
cmp dword [rsp + 0x24], 0x2afc
jne 0x14003d74e
call fcn.14000aa60
lea rdx, str.No_data_record_found_n
mov rcx, rax
call fcn.140037b30
call fcn.14000a9d0
lea rdx, [0x1402ae278]
mov rcx, rax
call fcn.140037b30
jmp 0x14003d780
call fcn.14000aa60
mov r8d, dword [rsp + 0x24]
lea rdx, str.Function_failed_with_error:__ld_n
mov rcx, rax
call fcn.140037b30
call fcn.14000a9d0
mov r8d, dword [rsp + 0x24]
lea rdx, [0x1402ae2f8]
mov rcx, rax
call fcn.140037b30
xor al, al
jmp 0x14003d88f
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
movsx eax, word [rax + 0x10]
cmp eax, 2
jne 0x14003d857
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x18]
cmp qword [rcx + rax*8], 0
je 0x14003d855
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rsp + 0x30], rax
call fcn.14000aa60
mov rcx, qword [rsp + 0x30]
mov r9, rcx
mov r8d, dword [rsp + 0x20]
lea rdx, str._tIP_Address__d:__s_n
mov rcx, rax
call fcn.140037b30
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rsp + 0x38], rax
call fcn.14000a9d0
mov rcx, qword [rsp + 0x38]
mov r9, rcx
mov r8d, dword [rsp + 0x20]
lea rdx, [0x1402ae2c8]
mov rcx, rax
call fcn.140037b30
jmp 0x14003d7a6
jmp 0x14003d88d
mov rax, qword [rsp + 0x28]
movsx eax, word [rax + 0x10]
cmp eax, 0x11
jne 0x14003d88d
call fcn.14000aa60
lea rdx, str.NETBIOS_address_was_returned_n
mov rcx, rax
call fcn.140037b30
call fcn.14000a9d0
lea rdx, [0x1402ae3c8]
mov rcx, rax
call fcn.140037b30
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14013a450
add rsp, 0x68
ret
Function at 0x14004c5d0
Capabilities:
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
mov dword [rsp], eax
mov eax, dword [rsp]
shr eax, 0x10
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0x85ebca6b
mov dword [rsp], eax
mov eax, dword [rsp]
shr eax, 0xd
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0xc2b2ae35
mov dword [rsp], eax
mov eax, dword [rsp]
shr eax, 0x10
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x18], rax
mov eax, dword [rsp]
and rax, qword [rsp + 0x18]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 0
jmp 0x14004c660
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x18]
cmp qword [rsp + 0x10], rax
ja 0x14004c6c8
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 8]
cmp qword [rax + rcx*8], 0
jne 0x14004c694
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x40]
mov qword [rax + rcx*8], rdx
mov al, 1
jmp 0x14004c6ca
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x40]
cmp qword [rax + rcx*8], rdx
jne 0x14004c6ad
xor al, al
jmp 0x14004c6ca
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x10]
lea rax, [rax + rcx + 1]
and rax, qword [rsp + 0x18]
mov qword [rsp + 8], rax
jmp 0x14004c653
xor al, al
add rsp, 0x28
ret
Function at 0x140079120
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.140226380
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14007ea80
Capabilities:
Write file on windows

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [0x14031f2d0]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rdx, [0x1402bf598]
mov rcx, qword [rsp + 0x48]
call fcn.140226d10
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0
je 0x14007eaf9
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14007eaf9
mov eax, 0xfeff
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 8]
mov r8d, 1
mov edx, 2
lea rcx, [rsp + 0x20]
call fcn.140226380
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14013a450
add rsp, 0x38
ret