joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001db97
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [ebp + 0x20], 0
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0x18], ebx
je 0x1001dc9f
cmp byte [ebp + 0x14], 0
je 0x1001dbe5
mov eax, dword [ebp + 0x2c]
cmp byte [eax], 0
je 0x1001dd05
push 0x17c2
push 0xb53
push 0x239c
push 0x12a0
push 0
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
jmp 0x1001dd05
mov dword [ebp - 0x10], 0x73cb
cmp dword [ebp - 0x10], 0x776b
jle 0x1001dc87
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
mov dword [ebp - 0xc], esi
xor eax, eax
mov dword [ebp - 8], 0x37f7
mov dword [ebp + 0x20], eax
mov esi, dword [ebp + 0x20]
xor edi, edi
mov ecx, edi
mov dword [ebp - 0x14], esi
xor ebx, ebx
sar esi, cl
mov ecx, ebx
mov eax, esi
sar eax, cl
lea ecx, [ebp - 0x30]
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001dc3b
mov eax, dword [eax]
push eax
call fcn.1004b2d6
pop ecx
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.10001f3a
inc ebx
cmp ebx, 0x5c64
jl 0x1001dc20
mov esi, dword [ebp + 0x20]
inc edi
cmp edi, 0x508e
jl 0x1001dc17
mov esi, dword [ebp - 0xc]
add dword [ebp + 0x20], esi
dec dword [ebp - 8]
jne 0x1001dc12
inc esi
mov dword [ebp - 0xc], esi
cmp esi, 0x5b84
jl 0x1001dc06
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x10], 0x727c
jge 0x1001dc9b
push str.unm_ffw_jubvuuxz_mojc_rpto_pmbwwithl_bpbchmx_mzxub_upfzqbvzj
call fcn.1004b2d6
pop ecx
dec dword [ebx]
jmp 0x1001dd05
cmp byte [ebp + 8], 0
je 0x1001dcb8
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
sub ecx, dword [eax]
mov eax, dword [ebp + 0x18]
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
jmp 0x1001dd03
mov esi, dword [ebp + 0x1c]
xor edx, edx
mov edi, dword [ebp + 0x30]
mov eax, dword [esi]
mov ecx, dword [esi]
mov eax, dword [edi]
cmp eax, ecx
mov eax, dword [ebp - 0x14]
setle dl
xor ecx, ecx
mov eax, dword [eax]
cmp edx, eax
mov edx, dword [edi]
mov eax, dword [esi]
sete cl
add edx, ecx
xor ecx, ecx
test eax, eax
mov eax, dword [edi]
sete cl
add eax, ecx
xor ecx, ecx
cmp eax, edx
mov edx, dword [edi]
mov eax, dword [ebp + 0x24]
setg cl
imul edx, ecx
xor ecx, ecx
mov eax, dword [eax]
cmp edx, eax
mov eax, dword [ebp + 0x10]
setg cl
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001f3c7
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp byte [ebp + 8], 0
push esi
push edi
je 0x1001f46c
mov byte [ebp - 5], 0
mov dword [ebp - 0x14], 0x6df3
cmp dword [ebp - 0x14], 0x6f12
jle 0x1001f44a
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], 0x14ef
xor edi, edi
mov ecx, edi
mov eax, esi
shl eax, cl
lea ecx, [ebp - 0x30]
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001f419
mov eax, dword [eax]
push eax
call fcn.1004b2d6
pop ecx
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.10001f3a
inc edi
cmp edi, 0x3787
jl 0x1001f3fe
dec esi
dec dword [ebp - 0xc]
jne 0x1001f3fc
mov esi, dword [ebp - 0x10]
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 0x7dad
jl 0x1001f3f2
push ecx
mov dl, 1
lea ecx, [ebp - 5]
call fcn.1001d883
cmp dword [ebp - 0x14], 0x6b0e
pop ecx
jge 0x1001f47d
push str.tdp_xlk_vdn_zrziqj_ioniyc_hzgggv_pjjt
call fcn.1004b2d6
pop ecx
jmp 0x1001f47d
push 0x24aa
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001f920
Capabilities:
Create thread

Disassembly:
mov eax, 0x10062b40
call fcn.10061f70
sub esp, 0x18
mov byte [ebp - 0x14], cl
mov eax, edx
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x1001f9d6
mov dword [ebp - 0x1c], 0x3b7b
cmp dword [ebp - 0x1c], 0x3de4
jle 0x1001f991
xor esi, esi
mov dword [ebp - 0x18], esi
mov edi, esi
mov ebx, 0x2e3f
xor esi, esi
mov eax, edi
mov ecx, 0x1007d9f8
and eax, esi
cdq
push edx
push eax
call fcn.10001bd6
inc esi
cmp esi, 0x5079
jl 0x1001f961
dec edi
dec ebx
jne 0x1001f95f
mov esi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x1ad4
jl 0x1001f958
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0
je 0x1001f99e
push 0
call fcn.1001f3c7
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x39e7
jge 0x1001f9ba
mov edx, str.snzhn_sbx_lsq_xtyxoupvs
mov ecx, 0x1007d9f8
call fcn.1000358d
jmp 0x1001f9ee
push 0
push 0xffd
push 0
push 0
push 0x1c05
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003fd5a
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006320b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003fdb0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
push dword [eax]
push dword [ebp - 0x30]
call fcn.1003ff12
add esp, 0x10
jmp 0x1003ff01
lea eax, [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0x7965
mov dword [ebp - 0x48], str.cfpz_gyvdeqyq_cmzc_rfdicqge_zur_drzbpziyn
cmp dword [ebp - 0x24], 0x7b5f
jle 0x1003fe8c
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
and dword [ebp - 0x14], 0
jmp 0x1003fdee
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x49f8
jge 0x1003fe8c
and dword [ebp - 0x18], 0
jmp 0x1003fe08
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x76d9
jge 0x1003fe87
and dword [ebp - 0x1c], 0
jmp 0x1003fe1e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2e8a
jge 0x1003fe82
and dword [ebp - 0x20], 0
jmp 0x1003fe34
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4667
jge 0x1003fe80
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sar eax, cl
mov ecx, dword [ebp - 0x1c]
sar eax, cl
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x68]
call fcn.10001a31
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.10001bb6
push eax
call fcn.1004b2d6
pop ecx
lea ecx, [ebp - 0x68]
call fcn.10001bac
jmp 0x1003fe2d
jmp 0x1003fe17
jmp 0x1003fe01
jmp 0x1003fde7
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1003fea7
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x1003fec5
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1003fec5
push 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x7672
jge 0x1003fedb
push dword [ebp - 0x48]
call fcn.1004b2d6
pop ecx
jmp 0x1003fef7
or dword [ebp - 4], 0xffffffff
jmp 0x1003ff01
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005d90
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x10093034]
xor eax, esp
mov dword [esp + 0x194], eax
test cl, 2
je 0x10005ded
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10005dd6
mov eax, dword [esp]
cmp al, 2
jne 0x10005dd0
shr eax, 8
cmp al, 2
je 0x10005ded
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.1004f6b2
mov esp, ebp
pop ebp
ret
call fcn.10017400
test eax, eax
jne 0x10005e3d
mov ecx, 0x1008aa88
call fcn.10005e90
mov dword [0x100951a4], eax
test eax, eax
je 0x10005e15
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
push 3
sub esp, 8
lea ecx, [edx + 6]
call fcn.10017610
add esp, 0xc
test al, al
setne byte [0x100952b8]
push 0x100952b0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.1004f6b2
mov esp, ebp
pop ebp
ret
Function at 0x10005e90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push str.kernel32
mov esi, ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10005eb4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push str.LoadLibraryExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push 0x1008aac4
push esi
mov dword [ebp - 8], ebx
call fcn.10059ec0
add esp, 8
test eax, eax
je 0x10005efc
test ebx, ebx
je 0x10005eec
push 8
push 0
push esi
call ebx
pop ebx
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ebx
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10005f25
push str.AddDllDirectory
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005f25
push 0x800
push 0
push esi
call ebx
pop ebx
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x10005fd0
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005f41
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x100939a0]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10005fc6
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10005fc6
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005f72
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005f90
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x10005fa0
mov eax, dword [ebp - 8]
test eax, eax
je 0x10005fbd
push 8
push 0
push ebx
call eax
jmp 0x10005fc4
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x100939a8]
add esp, 4
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000a680
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [edx + 0x2a0]
mov dword [esp], ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea esi, [ecx + 0x17]
shl esi, 4
add esi, edx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x44], 3
je 0x1000a741
cmp dword [edx + ecx*4 + 0x160], 0x1000aa20
jne 0x1000a741
cmp dword [esi], 0
je 0x1000a6c8
test edi, edi
je 0x1000a741
mov ebx, dword [edx + ecx*4 + 0x148]
mov ecx, ebx
push 0
push 0
push 0xffffffffffffffff
call fcn.100220b0
add esp, 0xc
cmp eax, 0xffffffff
je 0x1000a741
test al, 1
je 0x1000a741
mov ecx, dword [esi]
test ecx, ecx
jne 0x1000a72a
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x4c0]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x100939a0]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
test ecx, ecx
jne 0x1000a719
lea eax, [ecx + 0x1b]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1000a741
add dword [esi + 8], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10093034]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov edx, dword [ecx + 0xc]
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x10]
mov ebx, dword [edx + eax*4 + 0x148]
push eax
mov dword [ebp - 0x110], ecx
call fcn.1000a680
add esp, 4
test eax, eax
je 0x1000a949
mov dword [esi], 0x1b
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1004f6b2
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp + 0x14]
push edi
push ebx
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
mov dword [esi], 0
cmp edi, 0xffffffff
jne 0x1000a9c5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x1000a98e
xor edi, edi
mov dword [esi], 0x51
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1004f6b2
mov esp, ebp
pop ebp
ret
push ecx
lea edx, [ebp - 0x10c]
mov ecx, ebx
call fcn.10027160
add esp, 4
push eax
push str.Send_failure:__s
push dword [ebp - 0x110]
call fcn.1000a7d0
mov eax, dword [ebp - 0x110]
add esp, 0xc
mov dword [eax + 0x900], ebx
mov dword [esi], 0x37
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004f6b2
mov esp, ebp
pop ebp
ret
Function at 0x1000ae80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov esi, edx
cmp byte [edi + 0x6b2], 0
je 0x1000af0c
cmp dword [edi + 0x1a8], 0
je 0x1000aecc
mov dl, 1
call fcn.1000a630
push dword [edi + 0x14c]
mov eax, dword [edi + 0x1a8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push edi
call eax
add esp, 0x14
xor dl, dl
mov ecx, edi
mov esi, eax
call fcn.1000a630
pop edi
mov eax, esi
pop esi
pop ebp
ret
mov ecx, esi
sub ecx, 0
je 0x1000aedd
sub ecx, 1
je 0x1000aedd
sub ecx, 1
jne 0x1000af0c
push dword [edi + 0x148]
lea eax, [esi*2 + 0x10089ec4]
push 1
add eax, esi
push 2
push eax
call fcn.10059734
push dword [edi + 0x148]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10059734
add esp, 0x20
pop edi
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1000b0a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10093034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
push edi
push 4
mov edi, edx
cmp byte [esi + 0x6bf], al
setne al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
js 0x1000b12c
mov ecx, dword [esi + 0x66c]
mov dword [ebp - 0x10], 1
call fcn.1000af70
mov ecx, dword [esi + 0x670]
imul eax, eax, 0x3e8
mov dword [ebp - 0xc], eax
call fcn.1000af70
imul eax, eax, 0x3e8
push 0
push 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004f6b2
mov esp, ebp
pop ebp
ret
Function at 0x1000ba50
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x10093034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
push 0x80
mov dword [ebp - 0x190], eax
mov ebx, ecx
lea eax, [ebp - 0x188]
mov dword [ebp - 0x18c], 0x80
push 0
push eax
call fcn.100520d0
add esp, 0xc
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x188]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1000bad1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea edx, [ebp - 0x108]
push ecx
mov ecx, esi
call fcn.10027160
add esp, 4
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x1000bb17
push dword [ebp - 0x190]
mov edx, dword [ebp - 0x18c]
lea ecx, [ebp - 0x188]
push edi
call fcn.1000b8c0
add esp, 8
test al, al
jne 0x1000bb20
call fcn.1005a731
mov esi, dword [eax]
call fcn.1005a731
push ecx
lea edx, [ebp - 0x108]
mov ecx, esi
mov edi, eax
call fcn.10027160
add esp, 4
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.1000a7d0
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004f6b2
mov esp, ebp
pop ebp
ret

Function at 0x1000c1b0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100951b4]
mov dword [ebp - 8], 0x4020
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
push esi
mov esi, ecx
test eax, eax
jne 0x1000c208
push 3
sub esp, 8
lea ecx, [eax + 6]
xor edx, edx
call fcn.10017610
add esp, 0xc
test al, al
je 0x1000c1fc
mov dword [0x100951b4], 2
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x100951b4], 1
jmp 0x1000c20d
cmp eax, 2
je 0x1000c249
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1000c232
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jg 0x1000c249
push 4
lea eax, [ebp - 8]
push eax
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000cc40
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + edx]
mov edx, 0x1505
cmp esi, edi
jae 0x1000cc68
mov cl, byte [esi]
call fcn.10015a70
movsx ecx, al
inc esi
mov eax, edx
shl eax, 5
add edx, eax
xor edx, ecx
cmp esi, edi
jb 0x1000cc50
pop edi
movzx eax, dl
pop esi
ret
Function at 0x1001b090
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push 0
push dword [ebp + 8]
mov edi, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 4
mov dword [ebp + 0xc], esi
call fcn.100520d0
add esp, 0xc
lea eax, [ebp - 8]
push 0xf0000040
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1001b161
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x800c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1001b143
push 0
push edi
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1001b143
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0xc]
push eax
push 4
push dword [ebp - 4]
call edi
test eax, eax
je 0x1001b143
cmp esi, dword [ebp - 0xc]
jb 0x1001b143
push 0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 2
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 4]
test eax, eax
je 0x1001b151
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x1001b161
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10022020
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [ebp - 4], ecx
test edi, edi
je 0x1002203d
cmp dword [edi], 0
jne 0x1002204f
test esi, esi
je 0x10022046
cmp dword [esi], 0
jne 0x1002204f
test ebx, ebx
je 0x10022097
cmp dword [ebx], 0
je 0x10022097
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.10030b50
add esp, 8
test ebx, ebx
je 0x10022069
cmp dword [ebx], 0
jne 0x1002206b
xor ebx, ebx
test esi, esi
je 0x10022074
cmp dword [esi], 0
jne 0x10022076
xor esi, esi
test edi, edi
je 0x1002207f
cmp dword [edi], 0
jne 0x10022081
xor edi, edi
push eax
mov eax, dword [ebp - 4]
push ebx
push esi
push edi
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10021fd0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10027ad0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10093034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov edi, edx
push eax
mov esi, ecx
call fcn.10026dd0
add esp, 4
movups xmm0, xmmword [eax]
push esi
movups xmmword [ebp - 0x18], xmm0
call fcn.100648ea
add esp, 4
mov ebx, eax
push edi
call fcn.100648ea
add esp, 4
mov esi, eax
push 1
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x10027b6b
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x28]
push eax
call fcn.10026dd0
movups xmm0, xmmword [ebp - 0x18]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.10026e80
add esp, 0x20
test edx, edx
ja 0x10027b98
jb 0x10027b59
cmp eax, 0x3e8
ja 0x10027b98
push 1
call edi
push 1
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x10027b24
test ebx, ebx
je 0x10027b78
push ebx
call fcn.10054967
add esp, 4
test esi, esi
je 0x10027b85
push esi
call fcn.10054967
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004f6b2
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10027ba5
push ebx
call fcn.10054967
add esp, 4
test esi, esi
je 0x10027bb2
push esi
call fcn.10054967
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004f6b2
mov esp, ebp
pop ebp
ret
Function at 0x1002b4c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1002b60a
push esi
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x1002b5f6
push edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1002b50e
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002b502
sub eax, edx
inc eax
jmp 0x1002b510
xor eax, eax
cmp dword [esi + 4], 2
mov dword [ebp - 4], eax
jne 0x1002b5b4
cmp dword [esi + 0x18], 0
je 0x1002b5b4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1002b5b4
cmp ecx, 0x10
jb 0x1002b5b4
add eax, 0x30
push eax
call dword [0x100939a0]
mov edi, eax
add esp, 4
test edi, edi
je 0x1002b5eb
mov ecx, dword [esi]
lea edx, [edi + 0x20]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0x10
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0x18]
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
test ecx, ecx
je 0x1002b5a2
lea eax, [edx + 0x10]
push ecx
mov dword [edi + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.100515d0
add esp, 0xc
mov eax, dword [ebp - 8]
test ebx, ebx
cmove ebx, edi
test eax, eax
je 0x1002b5b1
mov dword [eax + 0x1c], edi
mov dword [ebp - 8], edi
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x1002b4f8
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
pop edi
test eax, eax
je 0x1002b5d1
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x1002b5f2
mov ecx, ebx
call fcn.1002b4a0
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 8
jmp 0x1002b5c2
test ebx, ebx
jne 0x1002b602
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002c2e0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push edx
push 0x10013aa0
push 0
push 0
call fcn.10061822
add esp, 0x18
test eax, eax
je 0x1002c2ff
cmp eax, 0xffffffff
jne 0x1002c301
xor eax, eax
ret