joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006e90
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x140006e90
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x5f0
mov rax, qword [0x140125350]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
mov rdi, rcx
lea rcx, [rsp + 0x2b1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x2b0], 0
call fcn.14008ca20
lea rcx, [rsp + 0x3c1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x3c0], 0
call fcn.14008ca20
xor ebp, ebp
cmp qword [0x1401279d0], rbp
je 0x140006f8c
mov qword [rsp + 0x618], r15
lea r15, [0x1401279d0]
xor r14d, r14d
mov rbx, r15
nop dword [rax + rax]
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.14000123a
mov rsi, rax
test rax, rax
je 0x140006f64
mov r8, qword [r14 + r15 + 0x10]
mov rdx, qword [r14 + r15 + 8]
mov rcx, qword [rax + 0x60]
call fcn.140001898
or dword [rsi + 0x54], 0x8000000c
mov rcx, rsi
call fcn.140001361
test eax, eax
je 0x140006f64
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.140001136
inc ebp
lea rcx, [rbp*2]
add rcx, rbp
lea r14, [rcx*8]
cmp qword [r14 + r15], 0
lea rbx, [r14 + r15]
jne 0x140006f20
mov r15, qword [rsp + 0x618]
xor r9d, r9d
lea rcx, [rsp + 0x2b0]
mov edx, 0x104
lea r8d, [r9 + 2]
mov qword [rsp + 0x20], 0
call fcn.140001b59
lea rcx, [rsp + 0x2b0]
call fcn.140007850
lea r14, [0x1400dd488]
lea r8, [0x1400dd48c]
lea rdx, [rsp + 0x3c0]
mov r9, r14
mov ecx, 0x104
call fcn.140007b70
mov ecx, 0x104
call fcn.14008c958
mov rbx, rax
test rax, rax
je 0x140007150
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.14008ca20
lea rax, [rsp + 0x3c0]
lea r9, [rsp + 0x2b0]
mov qword [rsp + 0x28], rax
lea rax, [0x1400dd47c]
lea r8, [0x1400dd480]
lea rdx, [rsp + 0x4d0]
mov ecx, 0x104
mov qword [rsp + 0x20], rax
call fcn.140007b70
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140007144
lea r8, [rsp + 0x19c]
or r9, 0xffffffffffffffff
mov edx, 0x104
mov rcx, rbx
call fcn.14008cdb8
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call fcn.14008ca20
mov edx, 0x104
mov rcx, rbx
call fcn.14008d154
mov rcx, rax
add rax, 0xfffffffffffffffc
cmp rax, 0xff
ja 0x14000711f
mov byte [rbx + rcx - 3], 0
mov rdx, rbx
mov rcx, rdi
call fcn.140001519
test rax, rax
jne 0x14000711f
mov rdx, rbx
mov rcx, rdi
call fcn.14000123a
mov rsi, rax
test rax, rax
je 0x14000711f
lea r9, [rax + 0x14]
lea rcx, [rsp + 0x30]
mov edx, 0x104
mov r8d, 2
mov qword [rsp + 0x20], r14
call fcn.140001b59
mov rcx, qword [rsi + 0x60]
lea r8, [0x1400dd490]
lea rdx, [rsp + 0x30]
call fcn.1400014f1
mov rcx, rsi
call fcn.140001361
test eax, eax
je 0x14000711f
mov rdx, rbx
mov rcx, rdi
call fcn.140001136
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14000713b
lea r8, [rsp + 0x5c]
jmp 0x140007069
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
call fcn.14008c8c8
xor eax, eax
jmp 0x140007155
mov eax, 0x708
mov rcx, qword [rsp + 0x5e0]
xor rcx, rsp
call fcn.14008d900
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14000e420
Capabilities:
Encode data using base64

Disassembly:
jmp 0x14000e420
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
xor eax, eax
movzx r11d, r8w
mov rdi, rdx
mov word [rsp + 0x19], ax
mov byte [rsp + 0x1b], al
mov eax, 0x55555556
xor r10d, r10d
mov byte [rsp + 0x18], 0
lea rsi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
imul r11d
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
lea eax, [rbx + rbx*2]
sub r11d, eax
test ebx, ebx
jle 0x14000e4f6
nop dword [rax]
movzx edx, r10w
lea r8, [rdi + rdx*2]
add r8, rdx
movzx edx, byte [r8]
movzx r9d, byte [r8 + 1]
movzx eax, dl
shl dl, 4
shr al, 2
mov byte [rsp + 0x18], al
movzx eax, r9b
shl r9b, 2
shr al, 4
or al, dl
movzx edx, byte [r8 + 2]
mov r8d, 4
and al, 0x3f
mov byte [rsp + 0x19], al
movzx eax, dl
shr al, 6
or al, r9b
and al, 0x3f
and dl, 0x3f
mov byte [rsp + 0x1b], dl
lea rdx, [rsp + 0x18]
mov byte [rsp + 0x1a], al
nop word [rax + rax]
movzx eax, byte [rdx]
inc rcx
lea rdx, [rdx + 1]
movzx eax, byte [rax + rsi]
mov byte [rcx - 1], al
dec r8
jne 0x14000e4d0
inc r10w
movzx eax, r10w
cmp eax, ebx
jl 0x14000e470
dec r11d
je 0x14000e580
dec r11d
jne 0x14000e56d
movzx edx, r10w
lea rax, [rdi + rdx*2]
movzx r8d, byte [rdx + rax]
movzx r10d, byte [rdx + rax + 1]
movzx edx, r10b
movzx r9d, r8b
shl r8b, 4
shr dl, 4
shr r9b, 2
and r10b, 0xf
movzx eax, r9b
or dl, r8b
movzx eax, byte [rax + rsi]
and dl, 0x3f
shl r10b, 2
mov byte [rcx], al
movzx eax, dl
movzx eax, byte [rax + rsi]
mov byte [rcx + 1], al
movzx eax, r10b
movzx eax, byte [rax + rsi]
mov byte [rcx + 2], al
mov word [rcx + 3], 0x3d
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x20]
ret
mov byte [rcx], 0
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x20]
ret
mov rbx, qword [rsp + 8]
movzx edx, r10w
lea rax, [rdi + rdx*2]
mov rdi, qword [rsp + 0x20]
movzx r8d, byte [rdx + rax]
movzx eax, r8b
and r8b, 3
shr al, 2
shl r8b, 4
movzx eax, al
movzx eax, byte [rax + rsi]
mov byte [rcx], al
movzx eax, r8b
movzx eax, byte [rax + rsi]
mov rsi, qword [rsp + 0x10]
mov byte [rcx + 1], al
mov word [rcx + 2], 0x3d3d
mov byte [rcx + 4], 0
ret
Function at 0x14000e670
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x14000e670
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140125350]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov ebx, r8d
mov rdi, rdx
mov qword [rsp + 0x24], rax
mov qword [rsp + 0x2c], rax
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
mov dword [rsp + 0x30], 0xc3d2e1f0
mov qword [rsp + 0x38], rax
mov rsi, rcx
mov dword [rsp + 0x20], 0x67452301
test r8d, 0xfffffe00
je 0x14000e6ff
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140001870
add ebx, 0xfffffe00
add rdi, 0x40
test ebx, 0xfffffe00
jne 0x14000e6e0
lea rcx, [rsp + 0x20]
movzx r8d, bx
mov rdx, rdi
call fcn.140001168
lea r9, [rsp + 0x20]
mov r8d, 5
sub r9, rsi
nop
mov ecx, dword [r9 + rsi]
lea rsi, [rsi + 4]
mov edx, ecx
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
or edx, eax
mov eax, ecx
shl ecx, 0x10
and eax, 0xff00
shr edx, 8
or eax, ecx
shl eax, 8
or edx, eax
mov dword [rsi - 4], edx
dec r8
jne 0x14000e720
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008d900
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000f540
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140125350]
xor rax, rsp
mov qword [rsp + 0x150], rax
cmp byte [0x140127a14], 0
mov ebx, edx
mov rdi, rcx
jne 0x14000f5fa
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], 0
call fcn.14008ca20
mov ecx, ebx
sub ecx, 0x194
je 0x14000f5a9
cmp ecx, 0x61
je 0x14000f5a0
lea rax, str.Server_Error
jmp 0x14000f5b0
lea rax, str.Not_Implemented
jmp 0x14000f5b0
lea rax, str.Not_Found
mov qword [rsp + 0x30], rax
lea r8, str.HTTP_1.1__d__s_r_n_r_n_h1__d__s__h1_
lea rdx, [rsp + 0x40]
mov r9d, ebx
mov ecx, 0x104
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.14000e980
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.14008d154
mov rcx, qword [rdi]
lea rdx, [rsp + 0x40]
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.WSOCK32.dll_send]
mov rcx, rdi
call fcn.1400011d1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14008d900
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret

Function at 0x14000fac0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1f8
mov rax, qword [0x140125350]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
xor eax, eax
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x196
mov word [rsp + 0x40], ax
call fcn.14008ca20
lea rdx, [rsp + 0x40]
mov ecx, 0x202
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x14000fb50
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x14000fb50
test dword [0x1401248cd], 0x40000
je 0x14000fb50
mov dword [rsp + 0x30], eax
lea rax, str.WSAStartup_failed:__d_n
lea r9, str.C:_tcag1work5f5931834a76de13ESIFProductsESIF_UFSourcesesif_uf_ccb_sock.h
mov qword [rsp + 0x28], rax
lea r8, str.esif_ccb_socket_init
mov edx, 1
mov ecx, 0x40000
mov dword [rsp + 0x20], 0x26
call fcn.140001a41
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14008d900
add rsp, 0x1f8
ret
Function at 0x140010730
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx]
xor r9d, r9d
mov rsi, r8
call qword [sym.imp.WSOCK32.dll_send]
movsxd rdi, eax
cmp rdi, 0xffffffffffffffff
je 0x140010771
cmp rdi, rsi
jne 0x140010771
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rbx]
call qword [sym.imp.WSOCK32.dll_closesocket]
mov qword [rbx], 0xffffffffffffffff
cmp dword [reloc.WSOCK32.dll_accept], 4
jl 0x1400107e2
test dword [0x140124900], 0x40000
je 0x1400107e2
lea rdx, str.Error_in_sending_packets_n
cmp rdi, 0xffffffffffffffff
lea rax, str.Incomplete_data_n
cmove rax, rdx
lea r9, str.........ESIF_WSSourcesesif_ws_server.c
lea r8, str.esif_ws_client_write_to_socket
mov qword [rsp + 0x30], rax
lea rax, str.Error_writing_to_socket:__s
mov edx, 4
mov qword [rsp + 0x28], rax
mov ecx, 0x40000
mov dword [rsp + 0x20], 0x230
call fcn.140001a41
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x140011460
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rsp + 0x50]
test r8, r8
lea rbx, [0x1400de3a0]
mov rsi, rbx
mov r14, rdx
lea rbp, [0x1400de3a4]
cmovne rsi, r8
movsxd r8, dword [rdx]
test r9, r9
cmovne rbx, r9
test rax, rax
mov rdi, rcx
cmovne rbp, rax
xor edx, edx
call fcn.14008ca20
mov qword [rdi], 2
movzx eax, byte [rsi]
cmp al, byte [0x1400de3a0]
jne 0x1400114d3
movzx edx, byte [0x1400de3a1]
cmp byte [rsi + 1], dl
je 0x1400114f0
mov rcx, rsi
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [rdi + 4], eax
cmp eax, 0xffffffff
jne 0x1400114e9
or eax, 0xffffffff
jmp 0x140011566
movzx edx, byte [0x1400de3a1]
movzx eax, byte [rbx]
cmp al, byte [0x1400de3a0]
jne 0x140011500
cmp byte [rbx + 1], dl
je 0x14001155d
movsx ecx, byte [rbx]
call fcn.14008f55c
mov rcx, rbx
test eax, eax
je 0x140011547
lea rdx, [rsp + 0x50]
mov r8d, 0xa
call fcn.1400922b0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140011535
cmp byte [rcx], 0
je 0x140011535
mov eax, 0xfffffffe
jmp 0x140011566
cmp eax, 0x7fff
ja 0x14001152e
movzx ecx, ax
call qword [sym.imp.WSOCK32.dll_htons]
jmp 0x140011559
mov rdx, rbp
call qword [sym.imp.WSOCK32.dll_getservbyname]
test rax, rax
je 0x14001152e
movzx eax, word [rax + 0x18]
mov word [rdi + 2], ax
mov dword [r14], reloc.WSOCK32.dll_recv
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140012cc0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
jmp 0x140012cc0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, qword [rsp + 0x70]
xor ebx, ebx
mov r15, r9
mov rbp, r8
mov rdi, rdx
mov r14, rcx
mov qword [r12], rbx
cmp rdx, 2
jb 0x140012e22
movzx ecx, word [rcx]
mov eax, 6
lea esi, [rbx + 2]
movzx edx, cx
mov r8d, 0x7e
lea r13d, [rbx + 0x7f]
shr dx, 0xf
and dl, 1
cmovne esi, eax
movzx eax, cx
shr ax, 8
and ax, 0x7f
cmp r8w, ax
jne 0x140012d36
add rsi, 2
jmp 0x140012d40
cmp r13w, ax
jne 0x140012d40
add rsi, 8
cmp rdi, rsi
jb 0x140012e22
test rsi, rsi
je 0x140012e22
test cl, 0x70
je 0x140012d61
mov eax, 0xf1
jmp 0x140012e27
test cl, cl
jns 0x140012d57
test dl, dl
je 0x140012d57
movzx ecx, byte [r14]
and cl, 0xf
lea eax, [rcx - 1]
cmp al, 1
jbe 0x140012d7e
lea eax, [rcx - 8]
cmp al, 2
ja 0x140012d57
movzx eax, cl
lea r8, [rsp + 0x70]
mov rdx, rdi
mov rcx, r14
mov dword [rsp + 0x70], eax
call fcn.140012bc0
mov r8, rax
test rax, rax
je 0x140012e1c
mov rax, rdi
sub rax, rsi
cmp r8, rax
ja 0x140012e22
jae 0x140012db4
sub rdi, rsi
sub rdi, r8
mov qword [r12], rdi
movzx ecx, word [r14]
movzx eax, cx
shr ax, 0xf
test al, 1
je 0x140012d57
shr cx, 8
mov eax, 0x7e
and cx, r13w
cmp ax, cx
jne 0x140012ddb
lea rdx, [r14 + 4]
jmp 0x140012de9
lea rdx, [r14 + 0xa]
cmp r13w, cx
je 0x140012de9
lea rdx, [r14 + 2]
test rdx, rdx
je 0x140012d57
lea rax, [rdx + 4]
mov qword [rbp], rax
mov qword [r15], r8
test r8, r8
je 0x140012e1c
mov rcx, qword [rbp]
mov rax, rbx
inc rbx
and eax, 3
movzx eax, byte [rax + rdx]
xor byte [rcx + rbx - 1], al
cmp rbx, qword [r15]
jb 0x140012e02
mov eax, dword [rsp + 0x70]
jmp 0x140012e27
mov eax, 0xf2
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140013630
Capabilities:
Write file on windows

Disassembly:
jmp 0x140013630
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor edi, edi
mov r14, r9
mov r15, r8
mov rbp, rdx
movsxd rbx, ecx
test rdx, rdx
je 0x14001366b
mov edx, 0x104
mov rcx, rbp
call fcn.14008d154
mov rsi, rax
jmp 0x14001366d
mov esi, edi
lea rbx, [rbx + rbx*2]
lea r12, [0x140127a70]
shl rbx, 4
lea rax, [rbx + r12]
mov rcx, rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea rax, [r12 + 0x28]
add rax, rbx
mov qword [rsp + 0x78], rax
cmp qword [rax], rdi
je 0x1400137a4
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x70], r13
call fcn.1400909bc
lea r12d, [rax + 2]
movsxd r13, r12d
mov rcx, r13
call fcn.14008c958
mov rbx, rax
test rax, rax
je 0x14001379f
mov r8, r13
xor edx, edx
mov rcx, rax
call fcn.14008ca20
mov r9, r15
or r8, 0xffffffffffffffff
mov rdx, r13
mov rcx, rbx
mov qword [rsp + 0x20], r14
call fcn.1400981b8
mov rcx, rbx
movsxd r11, eax
cmp byte [rbx], dil
je 0x14001371a
nop
cmp byte [rcx + 1], dil
lea rdx, [rcx + 1]
je 0x14001371a
cmp byte [rcx], 0xa
jne 0x140013712
mov byte [rcx], 9
mov rcx, rdx
cmp byte [rdx], dil
jne 0x140013700
test rbp, rbp
je 0x140013774
cmp r11d, esi
jle 0x140013774
lea edi, [rsi + r11]
cmp edi, r12d
jge 0x140013774
movsxd rax, esi
mov rcx, r11
mov r10, rbp
sub rcx, rax
add rcx, rbx
sub r10, rcx
nop
movzx r8d, byte [rcx]
movzx eax, byte [rcx + r10]
sub r8d, eax
jne 0x140013755
inc rcx
test eax, eax
jne 0x140013740
test r8d, r8d
je 0x140013774
test r12d, r12d
je 0x140013771
or r9, 0xffffffffffffffff
mov r8, rbp
mov rdx, r13
mov rcx, rbx
call fcn.14008e9ac
mov r11d, edi
mov rsi, qword [rsp + 0x78]
movsxd r8, r11d
mov edx, 1
mov r9, qword [rsi]
mov rcx, rbx
call fcn.14009092c
mov rcx, qword [rsi]
mov rdi, rax
call fcn.1400923e8
mov rcx, rbx
call fcn.14008c8c8
mov r13, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140013cc0
Capabilities:
Create thread

Disassembly:
jmp 0x140013cc0
sub rsp, 0x38
xor eax, eax
lock xadd qword [0x140127a28], rax
test rax, rax
jg 0x140013d4c
mov ecx, reloc.WSOCK32.dll_recv
mov qword [rsp + 0x30], rbx
call fcn.14008c958
mov rbx, rax
test rax, rax
je 0x140013d47
lea rax, [0x140015690]
lea r8, [0x140016050]
mov r9, rbx
mov qword [rbx], rax
lea rax, [0x140127b90]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rbx + 8], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140013d3f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x38
ret
mov rcx, rbx
call fcn.14008c8c8
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x38
ret
Function at 0x14001cfe0
Capabilities:
Enumerate files on windows

Disassembly:
sub rsp, 0x568
mov rax, qword [0x140125350]
xor rax, rsp
mov qword [rsp + 0x550], rax
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call fcn.14008ca20
call fcn.1400011fe
mov qword [0x140127c28], rax
test rax, rax
jne 0x14001d03e
mov eax, 0x708
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.14008d900
add rsp, 0x568
ret
xor r9d, r9d
lea rcx, [rsp + 0x3c0]
mov edx, 0x80
lea r8d, [r9 + 7]
mov qword [rsp + 0x560], rdi
mov qword [rsp + 0x20], 0
call fcn.140001b59
lea rax, str.upe_.dll
lea r9, [rsp + 0x3c0]
mov qword [rsp + 0x28], rax
lea rax, [0x1400dd47c]
lea r8, [0x1400dd480]
lea rdx, [rsp + 0x440]
mov ecx, 0x104
mov qword [rsp + 0x20], rax
call fcn.14001f090
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x440]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001d181
mov qword [rsp + 0x570], rbx
lea r8, [rsp + 0x16c]
lea rcx, [rsp + 0x30]
or r9, 0xffffffffffffffff
mov edx, 0x104
call fcn.14008cdb8
mov ecx, 0x30
call fcn.14008c958
mov rbx, rax
test rax, rax
je 0x14001d170
xor eax, eax
lea rcx, [rsp + 0x30]
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
lea edx, [rax + 0x2e]
mov qword [rbx + 0x28], rax
call fcn.14009107c
test rax, rax
je 0x14001d146
lea rcx, [rsp + 0x30]
mov byte [rax], 0
call fcn.14008decc
mov rdx, rbx
mov qword [rbx + 0x18], rax
mov rcx, qword [0x140127c28]
call fcn.1400019e2
jmp 0x14001d14e
mov rcx, rbx
call fcn.14008c8c8
lea rdx, [rsp + 0x280]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14001d170
lea r8, [rsp + 0x2ac]
jmp 0x14001d0d4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x570]
mov rdi, qword [rsp + 0x560]
xor eax, eax
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.14008d900
add rsp, 0x568
ret
Function at 0x140034420
Capabilities:
Create thread

Disassembly:
jmp 0x140034420
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp dword [reloc.WSOCK32.dll_accept], 3
jl 0x140034475
test dword [0x1401248ef], 0x1000000
je 0x140034475
lea rax, str.Entering_Function...
lea r9, str.....esif_uf_eventmgr.c
lea r8, str.EsifEventMgr_Init
mov qword [rsp + 0x28], rax
mov edx, 3
mov ecx, 0x1000000
mov dword [rsp + 0x20], 0x33e
call fcn.140001a41
lea rcx, [0x14013cee0]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
xor edi, edi
xor bl, bl
mov qword [0x14013cee8], rdi
mov dword [0x14013cef0], edi
lea rsi, [0x14013cce0]
nop word [rax + rax]
call fcn.1400011fe
mov rcx, rax
movzx eax, bl
mov qword [rsi + rax*8], rcx
test rcx, rcx
je 0x140034555
inc bl
cmp bl, 0x40
jb 0x1400344a0
lea rdx, str.UfQueue
xor r8d, r8d
or ecx, 0xffffffff
call fcn.140001717
mov qword [0x14013cf00], rax
call fcn.1400011fe
cmp qword [0x14013cf00], rdi
mov qword [0x14013cef8], rax
je 0x140034555
test rax, rax
je 0x140034555
mov ecx, reloc.WSOCK32.dll_recv
call fcn.14008c958
mov rbx, rax
test rax, rax
je 0x140034555
lea rax, [0x140034110]
lea r8, [0x140037650]
mov r9, rbx
mov qword [rbx], rax
lea rax, [0x14013cf14]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rbx + 8], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140034546
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003455f
mov rcx, rbx
call fcn.14008c8c8
mov edi, 0x3eb
jmp 0x14003455a
mov edi, 0x708
call fcn.140001190
cmp dword [reloc.WSOCK32.dll_accept], 3
jl 0x1400345a9
test dword [0x1401248ef], 0x1000000
je 0x1400345a9
lea rax, str.Exiting_function:_Exit_code__0x_08X...
mov dword [rsp + 0x30], edi
lea r9, str.....esif_uf_eventmgr.c
mov qword [rsp + 0x28], rax
lea r8, str.EsifEventMgr_Init
mov edx, 3
mov ecx, 0x1000000
mov dword [rsp + 0x20], 0x35b
call fcn.140001a41
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x140039260
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x60
mov rax, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1400392d3
cmp dword [reloc.WSOCK32.dll_accept], 1
jl 0x140039440
test dword [0x1401248cd], 0x800000
je 0x140039440
lea rax, str.logstring_is_NULL
lea r9, str.....esif_uf_loggingmgr.c
lea r8, str.EsifLogMgr_DataLogWrite
mov qword [rsp + 0x28], rax
mov edx, 1
mov ecx, 0x800000
mov dword [rsp + 0x20], 0x95c
call fcn.140001a41
add rsp, 0x60
pop rbx
ret
mov ecx, dword [rcx + 0x70]
test ecx, ecx
je 0x140039440
mov qword [rsp + 0x58], rbp
xor ebp, ebp
test cl, 8
jbe 0x140039304
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140001b22
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rbp
test byte [rbx + 0x70], 4
jbe 0x140039330
lea r9, [rsp + 0x80]
lea rdx, [0x1400e9234]
mov r8, rax
mov ecx, 5
call fcn.1400013de
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rbp
test byte [rbx + 0x70], 2
mov qword [rsp + 0x48], rdi
jbe 0x1400393b8
lea rdx, [rsp + 0x80]
mov rcx, rax
mov qword [rsp + 0x50], rsi
call fcn.1400909bc
mov qword [rsp + 0x30], rbp
inc eax
movsxd rsi, eax
mov rcx, rsi
call fcn.14008c958
mov rdi, rax
test rax, rax
je 0x1400393ae
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.14008ca20
mov r9, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
or r8, 0xffffffffffffffff
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400981b8
mov rcx, rdi
mov qword [rsp + 0x30], rbp
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call fcn.14008c8c8
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x50]
test byte [rbx + 0x70], 1
jbe 0x140039436
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400909bc
mov qword [rsp + 0x30], rbp
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.14008c958
mov rbx, rax
test rax, rax
je 0x140039436
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14008ca20
mov r9, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
or r8, 0xffffffffffffffff
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400981b8
mov ecx, 4
mov eax, 1
movzx edx, cx
mov r8, rbx
movzx ecx, ax
call fcn.1400016db
mov rcx, rbx
call fcn.14008c8c8
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
pop rbx
ret