joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006d842
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
lea ecx, [esp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], eax
push 0xffff
push ecx
call fcn.1007d4c0
add esp, 8
test eax, eax
jne 0x1006d913
mov edi, 0xffff
add edi, dword [esp + 0xc]
jo 0x1006d930
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov al, byte [esp + 0x2c]
mov dword [esp + 0xc], edi
movzx eax, al
mov ebx, 2
sub ebx, eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp], eax
push ebx
call fcn.10081f6c
add esp, 4
movsd xmm0, qword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
movzx eax, word [ebp + 0x3c]
mov edx, dword [esp + 4]
mov dword [esi + 0x78], edx
mov edx, dword [esp]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edi
xor edx, edx
mov dword [esi + 0x7c], edx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], 0x7fffffff
mov dword [esi + 0x28], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x50], edx
movsd qword [esi + 0x10], xmm0
mov dword [esi + 0x18], ecx
movaps xmm0, xmmword [0x10103250]
movups xmmword [esi + 0x64], xmm0
mov dword [esi + 0x74], edx
mov dword [esi + 8], edx
mov word [esi + 0x88], ax
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x10]
mov dword [eax], edx
push 0x101147ac
push 0x10114470
push eax
push 0x22
push str.invalid_initial_remote_window_sizemain.rs_srcproto_streams_recv.rs
call fcn.10101580
lea eax, [esp + 0x10]
mov dword [eax], 3
push 0x101147bc
push 0x10114470
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__valuemain.rs_srclib.rsinvalid_keyinternal_error:_entered_unreachable_code
call fcn.10101580

Function at 0x10071cf3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov edi, dword [ebp + 8]
mov ebx, 0xac
add ebx, dword [ebp + 0xc]
add edi, 0x64
mov esi, esp
push edi
push ebx
push esi
call fcn.1007d3af
add esp, 0xc
mov eax, dword [esi]
xor eax, 6
or eax, dword [esi + 4]
je 0x10071d45
mov ecx, esi
call fcn.1006c1db
push edi
push ebx
push esi
call fcn.1007d3af
add esp, 0xc
mov eax, dword [esp]
xor eax, 6
or eax, dword [esp + 4]
jne 0x10071d27
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1008b037
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x80
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
mov al, byte [edi + 0x24]
cmp al, 0xc
jne 0x1008b089
mov byte [edi + 0x24], 0xc
lea eax, [edi + 0x25]
lea ecx, [esp + 0x28]
push 0x57
push ecx
push eax
call fcn.100e9d70
add esp, 0xc
mov ebx, esp
push edi
push ebx
call fcn.100845c9
add esp, 8
cmp dword [ebx], 2
jne 0x1008b0c6
mov dword [esi], 8
jmp 0x1008b19d
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x2c]
mov ebp, dword [edi + 0x34]
mov ebx, dword [edi + 0x30]
mov byte [edi + 0x24], 0xb
cmp al, 0xb
jne 0x1008b105
mov eax, dword [edi + 0x38]
mov dword [edi + 0x38], 0
test eax, eax
je 0x1008b12a
mov dword [esi], 4
mov dword [esi + 4], eax
movsd xmm0, qword [edi + 0x3c]
movsd qword [esi + 8], xmm0
mov eax, dword [edi + 0x44]
jmp 0x1008b19a
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
movups xmm0, xmmword [esp]
movups xmmword [esp + 0x28], xmm0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
movups xmm1, xmmword [esp + 0x14]
movups xmmword [esp + 0x3c], xmm1
movups xmmword [esi], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [esi + 0x20], xmm0
movups xmm0, xmmword [esp + 0x38]
movups xmmword [esi + 0x10], xmm0
jmp 0x1008b19d
mov dword [esi], 3
mov byte [esi + 4], al
movzx eax, word [edi + 0x25]
mov word [esi + 5], ax
mov al, byte [edi + 0x27]
mov byte [esi + 7], al
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], ebx
jmp 0x1008b19d
mov eax, dword [edi + 0x48]
mov dword [edi + 0x48], 0
test eax, eax
je 0x1008b150
mov dword [esi], 2
mov dword [esi + 4], eax
movsd xmm0, qword [edi + 0x4c]
movsd qword [esi + 8], xmm0
mov eax, dword [edi + 0x54]
jmp 0x1008b19a
mov eax, dword [edi + 0x58]
mov dword [edi + 0x58], 0
test eax, eax
je 0x1008b176
mov dword [esi], 5
mov dword [esi + 4], eax
movsd xmm0, qword [edi + 0x5c]
movsd qword [esi + 8], xmm0
mov eax, dword [edi + 0x64]
jmp 0x1008b19a
mov eax, dword [edi + 0x68]
mov dword [edi + 0x68], 0
test eax, eax
je 0x1008b1aa
mov dword [esi], 6
mov dword [esi + 4], eax
movsd xmm0, qword [edi + 0x6c]
movsd qword [esi + 8], xmm0
mov eax, dword [edi + 0x74]
mov dword [esi + 0x10], eax
mov eax, esi
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, word [edi + 0x78]
mov word [edi + 0x78], 0
test ax, ax
je 0x1008b1c5
mov dword [esi], 7
mov word [esi + 4], ax
jmp 0x1008b19d
lea ecx, [edi + 0x24]
call fcn.1006c133
jmp 0x1008b056
Function at 0x1008d47f
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x1008d460
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1008d41e
mov esi, eax
cmp eax, 1
jne 0x1008d44d
xor eax, eax
jmp 0x1008d45d
mov al, byte [0x1017f1d9]
push 4
push 0x1c
call fcn.10007540
add esp, 8
test eax, eax
je 0x1008d476
mov esi, eax
mov dword [eax], edi
mov dword [eax + 4], 0
mov eax, dword [edi]
test eax, eax
je 0x1008d46b
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
add esi, 4
push dword [esp + 0x10]
push esi
call fcn.1008d360
add esp, 8
pop esi
pop edi
ret
push edi
call fcn.10100b60
add esp, 4
jmp 0x1008d408
push edi
call fcn.10100b60
add esp, 4
jmp 0x1008d445
push 0x1c
push 4
call fcn.10101000
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
test eax, eax
je 0x1008d4a8
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x1008d3fb
cmp dword [eax + 4], 0
je 0x1008d3fb
add eax, 8
ret
push ecx
call fcn.10100b60
add esp, 4
jmp 0x1008d48a

Function at 0x1008d4c1
Capabilities:
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
mov esi, dword [edi]
mov eax, dword [esi]
test eax, eax
je 0x1008d50b
dec eax
push 1
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
cmp dword [edi + 4], 0
je 0x1008d4e9
lea ecx, [edi + 0xc]
call fcn.1008d521
push 4
push 0x1c
push edi
call fcn.10007550
add esp, 0xc
mov eax, dword [esi]
test eax, eax
je 0x1008d516
dec eax
push 0
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
xor eax, eax
pop esi
pop edi
ret
push esi
call fcn.10100b60
add esp, 4
jmp 0x1008d4d2
push esi
call fcn.10100b60
add esp, 4
jmp 0x1008d4fd
Function at 0x1008da82
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x1008d9e1
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1008d99d
mov esi, eax
xor eax, eax
cmp esi, 1
je 0x1008d9de
jmp 0x1008d9cc
mov al, byte [0x1017f1d9]
push 4
push 8
call fcn.10007540
add esp, 8
test eax, eax
je 0x1008d9f7
mov esi, eax
mov dword [eax], edi
mov dword [eax + 4], 0
mov eax, dword [edi]
test eax, eax
je 0x1008d9ec
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
add esi, 4
push dword [esp + 0x10]
push esi
call fcn.1008d939
add esp, 8
mov eax, esi
pop esi
pop edi
ret
push edi
call fcn.10100b60
add esp, 4
jmp 0x1008d987
push edi
call fcn.10100b60
add esp, 4
jmp 0x1008d9c4
push 8
push 4
call fcn.10101000
push edi
push esi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x1008da63
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1008da23
mov esi, eax
cmp eax, 1
jne 0x1008da53
xor eax, eax
jmp 0x1008da60
mov al, byte [0x1017f1d9]
push 8
push 0x48
call fcn.10007540
add esp, 8
test eax, eax
je 0x1008da79
mov esi, eax
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 0x40], edi
mov eax, dword [edi]
test eax, eax
je 0x1008da6e
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push dword [esp + 0x10]
push esi
call fcn.1008d827
add esp, 8
pop esi
pop edi
ret
push edi
call fcn.10100b60
add esp, 4
jmp 0x1008da0d
push edi
call fcn.10100b60
add esp, 4
jmp 0x1008da4b
push 0x48
push 8
call fcn.10101000
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
test eax, eax
je 0x1008daab
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x1008d97a
cmp dword [eax + 4], 0
je 0x1008d97a
add eax, 4
ret
push ecx
call fcn.10100b60
add esp, 4
jmp 0x1008da8d

Function at 0x1008dab6
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
test eax, eax
je 0x1008dae0
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x1008da00
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x1008da00
add eax, 8
ret
push ecx
call fcn.10100b60
add esp, 4
jmp 0x1008dac1

Function at 0x1008df6e
Capabilities:
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [esp + 0xc]
mov esi, dword [eax]
mov edi, dword [esi + 0x40]
mov eax, dword [edi]
test eax, eax
je 0x1008dfb2
dec eax
push 1
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, esi
call fcn.1008e1f1
push 8
push 0x48
push esi
call fcn.10007550
add esp, 0xc
mov eax, dword [edi]
test eax, eax
je 0x1008dfbd
dec eax
push 0
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
xor eax, eax
pop esi
pop edi
ret
push edi
call fcn.10100b60
add esp, 4
jmp 0x1008df80
push edi
call fcn.10100b60
add esp, 4
jmp 0x1008dfa4
Function at 0x1008dfc8
Capabilities:
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
mov esi, dword [edi]
mov eax, dword [esi]
test eax, eax
je 0x1008e01c
dec eax
push 1
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, dword [edi + 4]
test eax, eax
je 0x1008dffa
lock dec dword [eax]
jne 0x1008dffa
lea eax, [edi + 4]
push eax
call fcn.1008e2f8
add esp, 4
push 4
push 8
push edi
call fcn.10007550
add esp, 0xc
mov eax, dword [esi]
test eax, eax
je 0x1008e027
dec eax
push 0
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
xor eax, eax
pop esi
pop edi
ret
push esi
call fcn.10100b60
add esp, 4
jmp 0x1008dfd9
push esi
call fcn.10100b60
add esp, 4
jmp 0x1008e00e
Function at 0x1009392a
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
mov edx, eax
xor edx, 3
lock cmpxchg dword [ecx], edx
jne 0x10093930
test al, 1
je 0x10093947
test al, 2
jne 0x10093958
xor eax, 3
ret
push 0x1012c3f4
push 0x23
push str.assertion_failed:_prev.is_running__
call fcn.10101280
push 0x1012c42c
push 0x25
push 0x1012c404
call fcn.10101280
Function at 0x100981e5
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
cmp word [esi], 0
je 0x1009823b
movups xmm0, xmmword [esi + 4]
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x18]
movzx ecx, word [esi + 0x1c]
rol cx, 8
movups xmmword [eax + 8], xmm0
mov dword [eax + 0x18], edi
xorps xmm0, xmm0
movups xmmword [eax + 0x1c], xmm0
movups xmmword [eax + 0x2c], xmm0
movups xmmword [eax + 0x3c], xmm0
movups xmmword [eax + 0x4c], xmm0
movups xmmword [eax + 0x5c], xmm0
movups xmmword [eax + 0x6c], xmm0
mov dword [eax + 0x7c], 0
mov esi, 0x1c
mov di, 0x17
jmp 0x10098276
movzx ecx, word [esi + 6]
rol cx, 8
mov edx, dword [esi + 2]
xorps xmm0, xmm0
movsd qword [eax + 0x78], xmm0
xorps xmm0, xmm0
movups xmmword [eax + 0x68], xmm0
movups xmmword [eax + 0x58], xmm0
movups xmmword [eax + 0x48], xmm0
movups xmmword [eax + 0x38], xmm0
movups xmmword [eax + 0x28], xmm0
movups xmmword [eax + 0x18], xmm0
movups xmmword [eax + 8], xmm0
mov esi, 0x10
mov di, 2
mov word [eax], di
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 0x80], esi
pop esi
pop edi
ret

Function at 0x100983b2
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x10]
push dword [eax + 0x80]
push eax
push dword [esp + 0x14]
call dword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x100983e0
call fcn.100c3d80
mov dword [esi + 4], eax
mov dword [esi], 0
jmp 0x100983e3
mov byte [esi], 4
mov eax, esi
pop esi
ret

Function at 0x100983e7
Capabilities:
Set socket configuration

Disassembly:
push esi
push eax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, esp
mov dword [edx], ecx
push edx
push 0x8004667e
push eax
call dword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x10098411
mov byte [esi], 4
jmp 0x1009841f
call fcn.100c3d80
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, esi
add esp, 4
pop esi
ret
Function at 0x100b9340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x448
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100c86e0
mov edi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 2
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 0
cmp edi, 0x201
jae 0x100b93d0
jmp 0x100b93be
jbe 0x100b9456
cmp edi, 0x201
jae 0x100b93d0
mov dword [ebp - 0x30], 0x200
lea ebx, [ebp - 0x454]
mov esi, edi
jmp 0x100b9401
mov esi, dword [ebp - 0x34]
sub edi, esi
je 0x100b93f5
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
mov edx, esi
push edi
call fcn.101005d0
add esp, 4
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x100b9425
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x100b94c3
cmp edi, esi
jne 0x100b93b0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100b94e2
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x100b93be
jmp 0x100b93d0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0
cmp edi, eax
ja 0x100b94ff
lea eax, [ebp - 0x44]
push edi
push ebx
push eax
call fcn.100bd230
add esp, 0xc
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3c]
mov esi, dword [ebp + 8]
movsd qword [ebp - 0x4c], xmm1
movsd qword [ebp - 0x54], xmm0
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100b94ad
add eax, eax
push 2
push eax
push dword [ebp - 0x24]
call fcn.10007550
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x448
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], 0x80000000
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x100b949d
jmp 0x100b94ad
mov dword [ebp - 0x10], 0
push 0x10170640
push 0x28
push str.internal_error:_entered_unreachable_code_rustc_a4472498d7e88041f6206faf4503eb1f246fd427library_alloc_src_vecmod.rs
call fcn.10101280
add esp, 0xc
jmp 0x100b950e
push 0x10170630
push eax
push edi
call fcn.10101620
add esp, 0xc
ud2
Function at 0x100bce40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
lea eax, [esp + 0x44]
push ebp
push ebx
push eax
call fcn.100d5450
add esp, 0xc
cmp word [esp + 0x44], 2
jne 0x100bcf28
lea ecx, [esp + 0x38]
lea edx, [esp + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], 0x3a
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x3a
call fcn.100b8420
cmp dword [esp + 0x38], 0
je 0x100bcf80
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
lea ecx, [ebx + eax]
sub ebp, eax
push ebp
push ecx
call fcn.100dab60
add esp, 8
mov ecx, 0x101709e0
test al, 1
jne 0x100bcf85
lea ecx, [esp + 0x10]
shr eax, 0x10
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
mov word [esp + 0x18], ax
mov eax, esp
push ecx
push eax
call fcn.100c6f50
add esp, 8
cmp dword [esp], 0
jne 0x100bcf8e
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
lea edx, [esp + 0x2c]
mov ecx, esi
call fcn.100bc850
jmp 0x100bcfa2
movzx eax, byte [0x1017f1d9]
push 4
push 0x20
call fcn.10007540
add esp, 8
test eax, eax
je 0x100bcfac
movsd xmm1, qword [esp + 0x54]
movsd xmm0, qword [esp + 0x5c]
movsd xmm2, qword [esp + 0x44]
mov ecx, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], 1
add ecx, 0x20
mov dword [esi + 0xc], ecx
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x4c]
movsd qword [eax + 0x18], xmm0
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
jmp 0x100bcfa2
mov ecx, 0x101709c0
mov byte [esp + 4], 2
mov dword [esp + 8], ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, esi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x20
push 4
call fcn.10101000
int3

Function at 0x100bd020
Capabilities:
Set socket configuration

Disassembly:
push esi
push eax
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp], ecx
mov ecx, esp
push 4
push ecx
push 1
push 6
push eax
call dword [sym.imp.ws2_32.dll_setsockopt]
mov cl, 4
cmp eax, 0xffffffff
jne 0x100bd060
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
ret
Function at 0x100bd070
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov edx, 0x7fffffff
mov ecx, dword [ecx]
cmp eax, 0x7fffffff
cmovb edx, eax
push 0
push edx
push dword [esp + 0x18]
push dword [ecx]
call dword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x100bd0b2
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, eax
xor eax, eax
cmp ecx, 0x274a
jne 0x100bd0bc
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
pop esi
ret
mov dword [esi + 4], ecx
mov dword [esi], 0
mov eax, esi
pop esi
ret

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

Disassembly:
push esi
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov edx, 0x7fffffff
mov ecx, dword [ecx]
cmp eax, 0x7fffffff
cmovb edx, eax
push 0
push edx
push dword [esp + 0x18]
push dword [ecx]
call dword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x100bd10a
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
pop esi
ret
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov byte [esi], 0
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov eax, esi
pop esi
ret

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

Disassembly:
push edi
push esi
push eax
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, esp
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov dword [esp], 0
push 0
push 0
push 0
push edi
push edx
push eax
push ecx
call dword [sym.imp.ws2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x100bd170
mov eax, dword [esp]
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x100bd17f
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
ret
Function at 0x100c3a10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
mov edi, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
je 0x100c3a54
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
xor eax, eax
mov ebx, 1
jmp 0x100c3a5a
xor ebx, ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
mov dword [esp + 0x18], ebx
push 0
push edx
push ecx
push dword [ebp + 8]
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x100c3a8f
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0xc0000011
jne 0x100c3a9f
mov dword [esi + 4], 0
jmp 0x100c3ab1
cmp eax, 0x103
je 0x100c3acb
test eax, eax
js 0x100c3abc
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov byte [esi], 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x100c3ab4
lea eax, [esp + 4]
mov dword [esp + 0x18], 0x1016ffc8
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
push ecx
push edx
call fcn.100bc190
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
call fcn.100b7610
mov ecx, 7
int 0x29
ud2
Function at 0x100c3b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
mov edi, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
je 0x100c3b74
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
xor eax, eax
mov ebx, 1
jmp 0x100c3b7a
xor ebx, ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
mov dword [esp + 0x18], ebx
push 0
push edx
push ecx
push dword [ebp + 8]
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x100c3bb6
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0x103
je 0x100c3bdb
test eax, eax
js 0x100c3bc5
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov al, 4
jmp 0x100c3bd1
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi + 4], eax
xor eax, eax
mov byte [esi], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
mov dword [esp + 0x18], 0x1016ffc8
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
push ecx
push edx
call fcn.100bc190
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
call fcn.100b7610
mov ecx, 7
int 0x29
ud2

Function at 0x100c3cc0
Capabilities:
Create udp socket

Disassembly:
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov ebx, 0x17
cmp word [eax], 0
mov eax, 2
cmove ebx, eax
push 0x81
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ws2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x100c3d04
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
pop esi
pop edi
pop ebx
ret
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x100c3d18
cmp eax, 0x2739
jne 0x100c3d43
push 1
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ws2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x100c3d4b
mov edi, eax
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x100c3d5c
mov dword [esi + 4], edi
jmp 0x100c3cfb
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x100c3cfe
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
jmp 0x100c3cfe
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
push edi
call dword [sym.imp.ws2_32.dll_closesocket]
jmp 0x100c3cfe