joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180012340
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x180012381
lea rcx, [0x180012b60]
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rdx
lea rdx, [rbp - 0x39]
mov rcx, rbx
call rax
jmp 0x1800124f8
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdx]
mov qword [rbp - 0x19], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 0x11], rax
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [rbp + 7], xmm1
xor esi, esi
mov qword [rdx + 0x20], rsi
mov qword [rdx + 0x28], setsockopt
mov byte [rdx + 0x10], sil
mov eax, dword [rdx + 0x30]
mov dword [rbp + 0x17], eax
mov rax, qword [rdx + 0x38]
mov qword [rbp + 0x1f], rax
mov rax, qword [rdx + 0x40]
mov qword [rbp + 0x27], rax
movups xmm0, xmmword [rdx + 0x48]
movups xmmword [rbp + 0x2f], xmm0
mov rax, qword [rdx + 0x58]
mov qword [rbp + 0x3f], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x7f], rax
lea rax, [rbp + 0x67]
mov qword [rbp - 0x39], rax
mov ecx, dword [0x1800a2b50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180012403
mov rdx, qword [rax + 8]
jmp 0x180012406
mov rdx, rsi
mov r8d, reloc.WS2_32.dll_WSASetLastError
call fcn.180012520
mov rdx, rax
mov qword [rbp - 0x29], rsi
mov rcx, qword [rbp - 0x19]
mov qword [rax + 8], rcx
mov rcx, qword [rbp - 0x11]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x28], rsi
mov qword [rax + 0x30], rsi
movups xmm0, xmmword [rbp - 9]
movups xmmword [rax + 0x18], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [rax + 0x28], xmm1
mov qword [rbp + 7], rsi
mov qword [rbp + setsockopt], 0xf
mov byte [rbp - 9], 0
mov eax, dword [rbp + 0x17]
mov dword [rdx + 0x38], eax
mov rax, qword [rbp + 0x1f]
mov qword [rdx + 0x40], rax
mov rax, qword [rbp + 0x27]
mov qword [rdx + 0x48], rax
movups xmm0, xmmword [rbp + 0x2f]
movups xmmword [rdx + 0x50], xmm0
mov rax, qword [rbp + 0x3f]
mov qword [rdx + 0x60], rax
lea rax, [0x180013130]
mov qword [rdx], rax
mov qword [rbp + 0x77], rdx
mov qword [rbp - 0x31], rsi
lea rcx, [rbp - 0x39]
call fcn.1800128f0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x1800124cd
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800124c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001250b
call fcn.18004a624
mov qword [rbp + 7], rsi
mov qword [rbp + setsockopt], 0xf
mov byte [rbp - 9], 0
lea rdx, [rbp + 0x77]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1800124f8
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call fcn.180055d94
int3
Function at 0x1800126d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov r8, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x180012714
lea rcx, [0x180013260]
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x51], rdx
lea rdx, [rbp - 0x59]
mov rcx, rbx
call rax
jmp 0x1800128c1
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdx]
mov qword [rbp - 0x39], rax
mov rdx, qword [rdx + 0x18]
xor esi, esi
mov qword [r8 + 0x18], rsi
mov rcx, qword [r8 + 0x10]
mov qword [r8 + 0x10], rsi
mov rax, qword [r8 + 8]
mov qword [r8 + 8], rsi
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], rdx
mov rax, qword [r8 + 0x20]
mov qword [rbp - 0x19], rax
mov rax, qword [r8 + 0x28]
mov qword [rbp - 0x11], rax
mov rax, qword [r8 + 0x30]
mov qword [rbp - 9], rax
mov rax, qword [r8 + 0x38]
mov qword [rbp - 1], rax
mov eax, dword [r8 + 0x40]
mov dword [rbp + 7], eax
movups xmm0, xmmword [r8 + 0x48]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [r8 + 0x58]
movups xmmword [rbp + 0x1f], xmm1
movups xmm0, xmmword [r8 + 0x68]
movups xmmword [rbp + 0x2f], xmm0
mov rax, qword [r8 + 0x78]
mov qword [rbp + 0x3f], rax
lea rax, [rbp - 0x39]
mov qword [rbp + 0x7f], rax
lea rax, [rbp + 0x67]
mov qword [rbp - 0x59], rax
mov ecx, dword [0x1800a2b50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1800127b6
mov rdx, qword [rax + 8]
jmp 0x1800127b9
mov rdx, rsi
mov r8d, 0x90
call fcn.180012520
mov r9, rax
mov qword [rbp - 0x49], rsi
mov rcx, qword [rbp - 0x39]
mov qword [rax + 8], rcx
mov r8, qword [rbp - 0x21]
mov qword [rbp - 0x21], rsi
mov rdx, qword [rbp - 0x29]
mov qword [rbp - 0x29], rsi
mov rcx, qword [rbp - 0x31]
mov qword [rbp - 0x31], rsi
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], r8
mov rax, qword [rbp - 0x19]
mov qword [r9 + 0x28], rax
mov rax, qword [rbp - 0x11]
mov qword [r9 + 0x30], rax
mov rax, qword [rbp - 9]
mov qword [r9 + 0x38], rax
mov rax, qword [rbp - 1]
mov qword [r9 + 0x40], rax
mov eax, dword [rbp + 7]
mov dword [r9 + 0x48], eax
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [r9 + 0x50], xmm0
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [r9 + 0x60], xmm1
movups xmm0, xmmword [rbp + 0x2f]
movups xmmword [r9 + 0x70], xmm0
mov rax, qword [rbp + 0x3f]
mov qword [r9 + 0x80], rax
lea rax, [0x180013270]
mov qword [r9], rax
mov qword [rbp + 0x77], r9
mov qword [rbp - 0x51], rsi
lea rcx, [rbp - 0x59]
call fcn.180013060
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1800128a6
mov rdx, qword [rbp - 0x21]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012895
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800128d4
call fcn.18004a624
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rsi
lea rdx, [rbp + 0x77]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1800128c1
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
call fcn.180055d94
int3
Function at 0x1800128f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rdi, rcx
test rbx, rbx
je 0x18001295d
mov rdx, qword [rbx + 0x30]
cmp rdx, 0x10
jb 0x180012941
mov rcx, qword [rbx + 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x18001293c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800129bf
mov rcx, r8
call fcn.18004a624
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x30], setsockopt
mov byte [rbx + 0x18], 0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1800129b4
mov ecx, dword [0x1800a2b50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1800129a4
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1800129a4
cmp qword [rcx + 0x10], 0
jne 0x1800129a4
movzx eax, byte [rbx + 0x70]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.18004a660
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.180055d94
int3
Function at 0x180012db0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x11], rax
mov rax, qword [rcx]
mov qword [rbp - 9], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov r8, qword [rcx + 0x10]
test r8, r8
je 0x180012df5
lock inc dword [r8 + 8]
mov r8, qword [rcx + 0x10]
mov rax, qword [rcx + 8]
mov qword [rbp - 1], rax
mov qword [rbp + 7], r8
mov rax, qword [rcx + 0x18]
mov qword [rbp + 0xf], rax
mov rax, qword [rcx + 0x20]
mov qword [rbp + 0x17], rax
mov eax, dword [rcx + 0x28]
mov dword [rbp + 0x1f], eax
movups xmm0, xmmword [rcx + 0x30]
movups xmmword [rbp + 0x27], xmm0
mov rax, qword [rcx + 0x40]
mov qword [rbp + 0x37], rax
movups xmm0, xmmword [rcx + 0x48]
movups xmmword [rbp + 0x3f], xmm0
mov rsi, qword [rdx]
lea rdi, [rdx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x1800a2b60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180012e62
nop word [rax + rax]
cmp qword [rax], rbx
je 0x180012f7b
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180012e50
lea rax, [rbp - 0x11]
mov qword [rbp - 0x29], rax
lea rdx, [rbp + 0x37]
mov ecx, 0xa0
call fcn.180005020
mov r8, rax
mov qword [rbp - 0x21], rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x180013450]
mov qword [r8 + 0x28], rax
mov qword [r8], rcx
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rcx
mov qword [r8 + 0x18], rcx
mov dword [r8 + 0x30], ecx
mov rax, qword [rbp - 0x11]
mov qword [r8 + 0x38], rax
mov rax, qword [rbp - 9]
mov qword [r8 + 0x40], rax
mov qword [r8 + 0x48], rcx
mov qword [r8 + 0x50], rcx
mov rax, qword [rbp + 7]
test rax, rax
je 0x180012ec8
lock inc dword [rax + 8]
mov rax, qword [rbp - 1]
mov qword [r8 + 0x48], rax
mov rax, qword [rbp + 7]
mov qword [r8 + 0x50], rax
mov rax, qword [rbp + 0xf]
mov qword [r8 + 0x58], rax
mov rax, qword [rbp + 0x17]
mov qword [r8 + 0x60], rax
mov eax, dword [rbp + 0x1f]
mov dword [r8 + 0x68], eax
movups xmm0, xmmword [rbp + 0x27]
movups xmmword [r8 + 0x70], xmm0
mov rax, qword [rbp + 0x37]
mov qword [r8 + 0x80], rax
movups xmm0, xmmword [rbp + 0x3f]
movups xmmword [r8 + 0x88], xmm0
mov qword [rbp - 0x19], rcx
mov qword [rbp - 0x21], rcx
mov rdx, rdi
mov rcx, rsi
call fcn.180008740
nop
lea rcx, [rbp - 0x29]
call fcn.1800133c0
nop
mov rbx, qword [rbp + 7]
test rbx, rbx
je 0x180012f62
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180012f62
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180012f62
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
cmp qword [rax + 8], 0
je 0x180012e62
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x11]
call fcn.180013810
nop
jmp 0x180012f2d
Function at 0x180013060
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
xor esi, esi
mov rdi, rcx
test rbx, rbx
je 0x1800130c7
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800130c3
mov rdx, qword [rbx + 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x1800130b2
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001311b
mov rcx, r8
call fcn.18004a624
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
mov qword [rdi + 0x10], rsi
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x18001310b
mov ecx, dword [0x1800a2b50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1800130ff
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1800130ff
cmp qword [rcx + 0x10], rsi
jne 0x1800130ff
movzx eax, byte [rbx + 0x90]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
jmp 0x180013107
mov rcx, rbx
call fcn.18004a660
mov qword [rdi + 8], rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call fcn.180055d94
int3

Function at 0x1800137e0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
add rcx, 0x10
xor r9d, r9d
mov r8, qword [rcx + 0x78]
lea rdx, [rcx + 0x68]
add rsp, 0x28
jmp fcn.18000ffc0

Function at 0x18001ba40
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x18009e010]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x200
call fcn.180051780
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rdi, qword [rbx + 0x140]
test rdi, rdi
je 0x18001baa8
cmp rsi, rdi
je 0x18001baa8
xor al, al
jmp 0x18001bb32
lea rdx, str.setup_graphics_window:
lea rcx, [0x1800a1160]
call fcn.18000d1b0
mov rdx, rsi
mov rcx, rax
call fcn.18001d110
mov rcx, rax
call fcn.18000d4c0
call fcn.18001d490
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.18001d8a0
mov rcx, rax
call fcn.18001dbc0
cmp rdi, rsi
jne 0x18001bafb
cmp qword [rbx + 0x170], 0
je 0x18001bafb
mov al, 1
jmp 0x18001bb32
test rdi, rdi
je 0x18001bb27
mov r8, qword [rbx + 0x170]
test r8, r8
je 0x18001bb1e
mov rcx, qword [rbx + 0x140]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
xor eax, eax
xchg qword [rbx + 0x140], rax
mov rdx, rsi
mov rcx, rbx
call fcn.18001c810
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.180049ee0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180025280
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ecx, dword [0x1800a0fd0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x1800a2bd8], eax
jle 0x1800252e2
lea rcx, [0x1800a2bd8]
call fcn.18004a088
cmp dword [0x1800a2bd8], 0xffffffff
jne 0x1800252e2
call fcn.18001ad10
lea rcx, [0x18007b260]
call fcn.18004a60c
nop
lea rcx, [0x1800a2bd8]
call fcn.18004a028
mov rax, qword [0x1800a2d20]
test rax, rax
je 0x1800252fb
mov al, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rbx]
cmp dword [0x1800a2bd8], eax
jle 0x180025338
lea rcx, [0x1800a2bd8]
call fcn.18004a088
cmp dword [0x1800a2bd8], 0xffffffff
jne 0x180025338
call fcn.18001ad10
lea rcx, [0x18007b260]
call fcn.18004a60c
nop
lea rcx, [0x1800a2bd8]
call fcn.18004a028
mov rdi, qword [0x1800a2d18]
test rdi, rdi
je 0x1800253cc
lea rdx, str.setGraphicsWindow_by_injectedWindow:
lea rcx, [0x1800a1160]
call fcn.18000d1b0
mov rdx, rdi
mov rcx, rax
call fcn.18001d110
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt eax, 0x1b
jb 0x1800253cc
test eax, 0xc0000000
je 0x180025388
test eax, 0x14000000
je 0x1800253cc
mov eax, dword [rbx]
cmp dword [0x1800a2bd8], eax
jle 0x1800253c5
lea rcx, [0x1800a2bd8]
call fcn.18004a088
cmp dword [0x1800a2bd8], 0xffffffff
jne 0x1800253c5
call fcn.18001ad10
lea rcx, [0x18007b260]
call fcn.18004a60c
nop
lea rcx, [0x1800a2bd8]
call fcn.18004a028
xchg qword [0x1800a2d20], rdi
mov eax, dword [rbx]
cmp dword [0x1800a2bd8], eax
jle 0x180025409
lea rcx, [0x1800a2bd8]
call fcn.18004a088
cmp dword [0x1800a2bd8], 0xffffffff
jne 0x180025409
call fcn.18001ad10
lea rcx, [0x18007b260]
call fcn.18004a60c
nop
lea rcx, [0x1800a2bd8]
call fcn.18004a028
mov rax, qword [0x1800a2d20]
test rax, rax
jne 0x1800254bd
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x20]
lea rcx, [0x180025520]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x28], 0
je 0x1800254bd
lea rdx, str.gg_overlay
lea rcx, [0x1800a1160]
call fcn.18000d1b0
mov rcx, rax
lea rdx, str.setGraphicsWindow_by_enum:
call fcn.18000d1b0
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.18001d110
mov eax, dword [rbx]
cmp dword [0x1800a2bd8], eax
jle 0x1800254b1
lea rcx, [0x1800a2bd8]
call fcn.18004a088
cmp dword [0x1800a2bd8], 0xffffffff
jne 0x1800254b1
call fcn.18001ad10
lea rcx, [0x18007b260]
call fcn.18004a60c
nop
lea rcx, [0x1800a2bd8]
call fcn.18004a028
mov rax, qword [rsp + 0x28]
xchg qword [0x1800a2d20], rax
mov eax, dword [rbx]
cmp dword [0x1800a2bd8], eax
jle 0x1800254fa
lea rcx, [0x1800a2bd8]
call fcn.18004a088
cmp dword [0x1800a2bd8], 0xffffffff
jne 0x1800254fa
call fcn.18001ad10
lea rcx, [0x18007b260]
call fcn.18004a60c
nop
lea rcx, [0x1800a2bd8]
call fcn.18004a028
mov rax, qword [0x1800a2d20]
test rax, rax
setne al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180028ea0
Capabilities:
Link function at runtime on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x18009e010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbp, r8
mov rdi, rdx
mov qword [rsp + 0x28], rdx
cmp qword [rdx + 0x18], 0x10
jb 0x180028ed0
mov rdx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov ecx, 0x40
call fcn.18004a198
mov rsi, rax
mov qword [rsp + 0x20], rax
mov qword [rax], 0
lea rcx, [rax + 8]
mov rdx, rdi
call fcn.180003fd0
mov qword [rsi + 0x28], rbx
mov qword [rsi + 0x30], rbp
mov byte [rsi + 0x38], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180028f40
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180028f3b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180028f70
mov rcx, r8
call fcn.18004a624
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], setsockopt
mov byte [rdi], 0
mov rax, rsi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180049ee0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
call fcn.180055d94
int3

Function at 0x180029170
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x70
xor eax, eax
lea rbx, [rcx + 0x28]
test rcx, rcx
mov ecx, dword [0x1800a2b50]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1800292b3
cmp qword [rax], rbx
je 0x1800291ac
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180029198
add rsp, 0x70
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1800292b3
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x180029280
cmp ecx, 1
jne 0x1800292b3
lea rdx, [rbx + 0x20]
mov dword [rbx + 0x18], 2
lea rcx, [rsp + 0x30]
call fcn.18004be9c
lea rax, str.unknown
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x30]
lea rax, [0x18008e478]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rax
call fcn.18004be9c
lea rcx, [rsp + 0x30]
call fcn.18004bf7c
lea rcx, [rsp + 0x20]
call fcn.18004bef0
lea r8, [0x18009c490]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18004bec4
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.18004be9c
lea rcx, [rsp + 0x20]
call fcn.18004bf7c
lea rcx, [rsp + 0x60]
call fcn.18004bf7c
lea rax, method.std::logic_error.virtual_0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x50], rax
lea rcx, [rbx + 0x20]
call fcn.18004be94
lea rcx, [rsp + 0x40]
call fcn.18004bf7c
add rsp, 0x70
pop rbx
ret
lea rcx, [rsp + 0x20]
mov dword [rbx + 0x18], 1
call fcn.18004bef0
lea rcx, [rsp + 0x20]
call fcn.18004befc
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x20]
call fcn.18004be94
lea rcx, [rsp + 0x20]
call fcn.18004bf7c
add rsp, 0x70
pop rbx
ret
Function at 0x180029960
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x18009e010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
lea rdx, [0x18009f4e0]
lea rcx, [rsp + 0x38]
call fcn.180003df0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1800297f0
nop
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r8, qword [rsp + 0x58]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rbp, rax
xor edi, edi
test rax, rax
jne 0x180029a6d
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
xor r8d, r8d
lea rdx, [0x18008d4a8]
mov rcx, rbx
call fcn.1800040b0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x180029a41
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180029a3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180029b32
call fcn.18004a624
mov rax, rbx
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180049ee0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], 7
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x180029ab0
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.1800040b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rbx + 0x10], xmm1
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x180029a41
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180029a3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180029a3c
call fcn.180055d94
int3
Function at 0x18002bbd0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x50
mov rsi, rdx
mov r14, rcx
xor ebx, ebx
test byte [rcx + 0xc], 1
jne 0x18002bc2e
mov rax, qword [rcx]
mov r8, qword [rax + 0x10]
lea rdi, [r8 + 0x28]
test r8, r8
cmove rdi, rbx
mov ecx, dword [0x1800a2b50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18002bc2e
nop dword [rax + rax]
cmp qword [rax], rdi
je 0x18002bc55
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18002bc20
lea rax, [r14 + 8]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1800a2b50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18002bcfe
mov rdx, qword [rax + 8]
jmp 0x18002bd01
cmp qword [rax + 8], rbx
je 0x18002bc2e
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x28], rax
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.18002c480
nop
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x18002bcb9
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18002bcb9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x18002bcb9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x18002bd72
mov rdx, rbx
mov r8d, 0x50
call fcn.18000d070
mov rdx, rax
mov qword [rax + 0x20], rbx
lea rax, [0x18002c380]
mov qword [rdx + 0x28], rax
mov qword [rdx], rbx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rbx
mov dword [rdx + 0x30], ebx
mov qword [rdx + 0x38], rbx
mov qword [rdx + 0x40], rbx
mov rcx, qword [rsi]
mov qword [rdx + 0x38], rcx
mov rax, qword [rsi + 8]
mov qword [rdx + 0x40], rax
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov rcx, qword [r14]
mov rcx, qword [rcx + 0x10]
call fcn.180005640
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x30]
call fcn.18002bf60
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret