joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100183c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x2c], eax
mov esi, 1
mov eax, dword [ebp + 0x1c]
push edi
mov dword [ebp - 0x28], eax
call fcn.10017100
mov edi, eax
test edi, edi
je 0x1001845a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x51676552
push eax
push edi
mov dword [ebp - 0x13], 0x56797265
mov word [ebp - 0xc], 0x4565
mov word [ebp - 9], 0x57
mov word [ebp - 0xf], 0x6c61
mov byte [ebp - 0xa], 0x78
mov byte [ebp - 0xd], 0x75
mov byte [ebp - 0x14], 0x75
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018453
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d588
mov esp, ebp
pop ebp
ret

Function at 0x10018470
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0xe
call fcn.10017230
mov edi, eax
test edi, edi
je 0x100184dc
lea eax, [ebp - 0x14]
mov word [ebp - 0xd], 0x676e
push eax
push edi
mov word [ebp - 0xa], 0x6572
mov word [ebp - 7], 0x41
mov dword [ebp - 0x14], 0x53637052
mov word [ebp - 0x10], 0x7274
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 8], 0x65
mov byte [ebp - 0xb], 0x46
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100184d5
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d588
mov esp, ebp
pop ebp
ret

Function at 0x100184f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x18], eax
mov esi, 1
call fcn.100172c0
mov edi, eax
test edi, edi
je 0x10018558
lea eax, [ebp - 0x14]
mov dword [ebp - 0x11], 0x74656c65
push eax
push edi
mov dword [ebp - 0xb], 0x417965
mov word [ebp - 0x14], 0x4853
mov byte [ebp - 0x12], 0x44
mov word [ebp - 0xd], 0x4b65
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018551
push dword [ebp - 0x18]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d588
mov esp, ebp
pop ebp
ret
Function at 0x10018570
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x18], eax
mov esi, 1
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x1c], eax
call fcn.100172c0
mov edi, eax
test edi, edi
je 0x100185e2
lea eax, [ebp - 0x14]
mov word [ebp - 0x14], 0x4853
push eax
push edi
mov dword [ebp - 0x11], 0x74656c65
mov dword [ebp - 9], 0x416575
mov dword [ebp - 0xd], 0x6c615665
mov byte [ebp - 0x12], 0x44
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100185db
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d588
mov esp, ebp
pop ebp
ret

Function at 0x10018600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x20], eax
xor esi, esi
call fcn.10017270
mov edi, eax
test edi, edi
je 0x1001867e
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1b], 0x74654748
push eax
push edi
mov dword [ebp - 8], 0x416874
mov dword [ebp - 0x15], 0x61696365
mov dword [ebp - 0x10], 0x646c6f46
mov byte [ebp - 0x1c], 0x53
mov dword [ebp - 0xc], 0x61507265
mov word [ebp - 0x17], 0x7053
mov byte [ebp - 0x11], 0x6c
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018677
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x20]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d588
mov esp, ebp
pop ebp
ret

Function at 0x100186a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x20], eax
xor esi, esi
call fcn.10017270
mov edi, eax
test edi, edi
je 0x1001872a
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x19], 0x70537465
push eax
push edi
mov dword [ebp - 8], 0x576874
mov word [ebp - 0x12], 0x6c61
mov dword [ebp - 0xf], 0x65646c6f
mov word [ebp - 0x15], 0x6365
mov word [ebp - 0xb], 0x5072
mov byte [ebp - 0x13], 0x69
mov word [ebp - 0x1c], 0x4853
mov byte [ebp - 0x10], 0x46
mov byte [ebp - 0x1a], 0x47
mov byte [ebp - 9], 0x61
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018723
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x20]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d588
mov esp, ebp
pop ebp
ret
Function at 0x100187e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x14], eax
mov esi, 1
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x1c], eax
call fcn.100172c0
mov edi, eax
test edi, edi
je 0x1001885e
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x65534853
push eax
push edi
mov dword [ebp - 0xc], 0x6c615674
mov word [ebp - 7], 0x4165
mov byte [ebp - 8], 0x75
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018857
push dword [ebp + 0x1c]
push dword [ebp - 0x1c]
push dword [ebp + 0x14]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d588
mov esp, ebp
pop ebp
ret

Function at 0x100188d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x18], eax
xor esi, esi
call fcn.10017100
mov edi, eax
test edi, edi
je 0x10018948
lea eax, [ebp - 0x14]
mov word [ebp - 0x12], 0x7261
push eax
push edi
mov word [ebp - 0xf], 0x6553
mov word [ebp - 0x14], 0x7453
mov word [ebp - 0xc], 0x6976
mov word [ebp - 9], 0x4165
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 7], 0
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 0x10], 0x74
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018941
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d588
mov esp, ebp
pop ebp
ret

Function at 0x10018960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xf], 0x77656956
mov dword [ebp - 8], 0x656c69
mov word [ebp - 0xb], 0x664f
mov word [ebp - 0x14], 0x6e55
mov word [ebp - 0x11], 0x7061
mov byte [ebp - 0x12], 0x6d
mov byte [ebp - 9], 0x46
call fcn.10017150
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100189c2
push esi
call eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d588
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1003d588
mov esp, ebp
pop ebp
ret
Function at 0x100189e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x18], eax
mov esi, 0xe
call fcn.10017230
mov edi, eax
test edi, edi
je 0x10018a4c
lea eax, [ebp - 0x14]
mov dword [ebp - 0xa], 0x41676e
push eax
push edi
mov dword [ebp - 0x11], 0x536f5464
mov word [ebp - 0x14], 0x7555
mov word [ebp - 0xc], 0x6972
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0x12], 0x69
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018a45
push dword [ebp - 0x18]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d588
mov esp, ebp
pop ebp
ret

Function at 0x10018a60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x20], eax
call fcn.10017310
mov edi, eax
test edi, edi
je 0x10018ad8
lea eax, [ebp - 0x14]
mov word [ebp - 0xb], 0x6c61
push eax
push edi
mov dword [ebp - 9], 0x416575
mov dword [ebp - 0x10], 0x79726575
mov dword [ebp - 0x14], 0x51726556
mov byte [ebp - 0xc], 0x56
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018ad1
push dword [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003d588
mov esp, ebp
pop ebp
ret
Function at 0x10018c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc259
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 0
call fcn.10018da0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov esi, dword [edi + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 1
cmp esi, 0x20
ja 0x10018d0f
mov eax, dword [edi + 0x14]
cmp eax, 0x20
je 0x10018d0f
jae 0x10018cfc
push esi
push 0x20
mov ecx, edi
call fcn.10002743
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x10018d09
mov eax, dword [edi]
jmp 0x10018d0b
mov eax, edi
mov byte [eax + esi], 0
xor ebx, ebx
movzx esi, byte [ebp + ebx - 0x20]
mov ecx, edi
mov eax, esi
mov word [ebp - 0x29], 0x6362
shr eax, 4
mov dword [ebp - 0x34], 0x33323130
mov word [ebp - 0x2c], 0x3938
mov word [ebp - 0x26], 0x6665
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x27], 0x64
mov word [ebp - 0x2f], 0x3635
mov byte [ebp - 0x2a], 0x61
mov byte [ebp - 0x2d], 0x37
mov byte [ebp - 0x30], 0x34
movzx eax, byte [ebp + eax - 0x34]
push eax
push 1
call fcn.1000351e
and esi, 0xf
mov ecx, edi
movzx eax, byte [ebp + esi - 0x34]
push eax
push 1
call fcn.1000351e
inc ebx
cmp ebx, 0x10
jl 0x10018d11
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003d588
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b6c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x1001b6fc
xor edx, edx
cmp dword [esi + 0x3cc], edx
jle 0x1001b6f5
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, dword [esi + 0x3cc]
jl 0x1001b6e2
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x100e7038
lea ecx, [ebp - 0xc]
call fcn.1003cd7b
push 0x100e12a0
lea eax, [ebp - 0xc]
push eax
call fcn.1003d597
int3
Function at 0x1006f906
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x202
mov word [ebp - 0x198], ax
lea eax, [ebp - 0x194]
push eax
push dword [ebp - 0x198]
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x1006f94c
push 2
pop eax
jmp 0x1006f9c1
movzx eax, word [ebp - 0x194]
and eax, 0xff
movzx eax, al
movzx ecx, word [ebp - 0x198]
and ecx, 0xff
movzx ecx, cl
cmp eax, ecx
jne 0x1006f998
movzx eax, word [ebp - 0x194]
shr eax, 8
and eax, 0xff
movzx eax, al
movzx ecx, word [ebp - 0x198]
shr ecx, 8
and ecx, 0xff
movzx ecx, cl
cmp eax, ecx
je 0x1006f9a3
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 2
pop eax
jmp 0x1006f9c1
call fcn.10088b86
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
je 0x1006f9bf
mov eax, dword [ebp - 0x19c]
jmp 0x1006f9c1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d588
mov esp, ebp
pop ebp
ret
Function at 0x1007f1a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x54
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax + 0x1ec]
test eax, eax
je 0x1007f1cc
push dword [ebp + 8]
call fcn.100850f8
pop ecx
test eax, eax
jne 0x1007f1ca
xor al, al
jmp 0x1007f20d
jmp 0x1007f20b
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x1a8], 0xffffffff
jne 0x1007f1e5
xor al, al
jmp 0x1007f20d
push 2
push 1
lea eax, [ebp - 1]
push eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
push dword [ecx + eax + 0x1a8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x1007f20b
xor al, al
jmp 0x1007f20d
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x1007f633
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x4020
and dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
cmp dword [0x100f62c0], 0
jne 0x1007f681
push 3
push 2
push 0
push 6
call fcn.100b249d
add esp, 0x10
movzx eax, al
test eax, eax
je 0x1007f677
mov dword [0x100f62c0], 2
jmp 0x1007f681
mov dword [0x100f62c0], 1
cmp dword [0x100f62c0], 2
jne 0x1007f68c
jmp 0x1007f6ce
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1007f6b5
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jle 0x1007f6b5
jmp 0x1007f6ce
push 4
lea eax, [ebp - 8]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret

Function at 0x1007f6d2
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 6
push 4
lea eax, [ebp - 8]
push eax
push 1
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x1007f72a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [ebp + 8]
call fcn.100b3c46
pop ecx
pop ecx
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push dword [ebp - 4]
call fcn.100837f8
add esp, 0xc
jmp 0x1007f739
push str.TCP_NODELAY_set_n
push dword [ebp - 4]
call fcn.100837f8
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10080023
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x4e0]
test eax, eax
je 0x1008004a
mov dword [ebp - 0x18], 1
jmp 0x1008004e
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
push 4
lea eax, [ebp - 0x14]
push eax
push 8
push 0xffff
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x10080086
push dword [ebp + 0xc]
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push dword [ebp + 8]
call fcn.100837f8
add esp, 0xc
jmp 0x1008010f
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
push dword [eax + 0x4e4]
call fcn.10095a1e
pop ecx
mov dword [ebp - 0x14], eax
imul eax, dword [ebp - 0x14], 0x3e8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push dword [eax + 0x4e8]
call fcn.10095a1e
pop ecx
mov dword [ebp - 0x14], eax
imul eax, dword [ebp - 0x14], 0x3e8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x98000004
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1008010f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [ebp + 0xc]
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push dword [ebp + 8]
call fcn.100837f8
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d588
mov esp, ebp
pop ebp
ret
Function at 0x10080414
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x100e7260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x94], 2
jne 0x10080445
jmp 0x1008060a
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x38e]
test eax, eax
jne 0x10080601
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x3aa]
test eax, eax
jne 0x10080601
mov dword [ebp - 0x10c], 0x80
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x100804c9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x110], eax
push dword [ebp - 0x110]
push dword [ebp + 8]
call fcn.100b3c46
pop ecx
pop ecx
push eax
push dword [ebp - 0x110]
push str.getpeername___failed_with_errno__d:__s
push dword [ebp - 0x108]
call fcn.10083b69
add esp, 0x10
jmp 0x1008060a
mov dword [ebp - 0x10c], 0x80
push 0x80
push 0
lea eax, [ebp - 0x84]
push eax
call fcn.1003e130
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1008053f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x114], eax
push dword [ebp - 0x114]
push dword [ebp + 8]
call fcn.100b3c46
pop ecx
pop ecx
push eax
push dword [ebp - 0x114]
push str.getsockname___failed_with_errno__d:__s
push dword [ebp - 0x108]
call fcn.10083b69
add esp, 0x10
jmp 0x1008060a
mov eax, dword [ebp + 8]
add eax, 0x138
push eax
mov eax, dword [ebp + 8]
add eax, 0x10a
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.1007f73d
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x10080595
call fcn.1003fd84
push dword [eax]
push dword [ebp + 8]
call fcn.100b3c46
pop ecx
pop ecx
push eax
call fcn.1003fd84
push dword [eax]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push dword [ebp - 0x108]
call fcn.10083b69
add esp, 0x10
jmp 0x1008060a
mov esi, dword [ebp + 8]
add esi, 0x10a
mov edi, dword [ebp + 8]
add edi, 0x60
push 0xb
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp + 8]
add eax, 0x16c
push eax
mov eax, dword [ebp + 8]
add eax, 0x13c
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.1007f73d
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x10080601
call fcn.1003fd84
push dword [eax]
push dword [ebp + 8]
call fcn.100b3c46
pop ecx
pop ecx
push eax
call fcn.1003fd84
push dword [eax]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push dword [ebp - 0x108]
call fcn.10083b69
add esp, 0x10
jmp 0x1008060a
push dword [ebp + 8]
call fcn.1008011d
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003d588
mov esp, ebp
pop ebp
ret
Function at 0x1008182f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x10081850
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6c], 0
je 0x10081850
push 2
push 3
push dword [ebp + 8]
call fcn.1009fbf3
add esp, 0xc
push dword [ebp + 0xc]
call fcn.1008a6c5
pop ecx
cmp dword [ebp + 8], 0
je 0x10081874
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6c], 0
je 0x10081874
push 3
push dword [ebp + 8]
call fcn.1009fc41
pop ecx
pop ecx
pop ebp
ret
Function at 0x10082fec
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1d0], 0
je 0x10083027
mov eax, dword [ebp + 8]
push dword [eax + 0x15c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp + 8]
call dword [eax + 0x1d0]
add esp, 0x14
mov dword [ebp - 8], eax
jmp 0x10083073
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10083073
cmp dword [ebp - 4], 2
jle 0x1008303b
jmp 0x10083073
mov eax, dword [ebp + 8]
push dword [eax + 0x158]
push 1
push 2
imul eax, dword [ebp + 0xc], 3
add eax, 0x100dc7f8
push eax
call fcn.1003fc89
add esp, 0x10
mov eax, dword [ebp + 8]
push dword [eax + 0x158]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.1003fc89
add esp, 0x10
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x1008307a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x100830cf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
jne 0x100830b5
mov dword [ebp - 4], 1
jmp 0x100830b9
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100830ca
push 0x51
pop eax
jmp 0x100830d9
push 0x38
pop eax
jmp 0x100830d9
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret