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

Disassembly:
sub esp, 0x18
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
push edi
call fcn.1000c400
mov edi, eax
test edi, edi
je 0x1000d5ac
lea eax, [esp + 8]
mov word [esp + 0x15], 0x6d61
push eax
push edi
mov word [esp + 0x14], 0x6946
mov word [esp + 0x11], 0x7461
mov word [esp + 0x20], 0x41
mov byte [esp + 0x13], 0x68
mov dword [esp + 0x16], 0x6946646e
mov byte [esp + 0x10], 0x50
mov word [esp + 0x1b], 0x4e65
mov byte [esp + 0x1a], 0x6c
mov byte [esp + 0x1f], 0x65
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000d5a3
push esi
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.10013577
add esp, 0x18
ret

Function at 0x1000d640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x18]
push esi
push edi
mov esi, 1
call fcn.1000c220
mov edi, eax
test edi, edi
je 0x1000d6b3
lea eax, [esp + 0xc]
mov word [esp + 0x13], 0x4b65
push eax
push edi
mov word [esp + 0x1e], 0x79
mov word [esp + 0x18], 0x6f6c
mov word [esp + 0x15], 0x6765
mov byte [esp + 0x14], 0x52
mov byte [esp + 0x17], 0x43
mov byte [esp + 0x1a], 0x73
mov byte [esp + 0x1d], 0x65
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000d6aa
push ebx
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10013577
add esp, 0x10
ret

Function at 0x1000d6d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov dword [esp + 0x10], eax
mov esi, 1
call fcn.1000c220
mov edi, eax
test edi, edi
je 0x1000d75b
lea eax, [esp + 0x14]
mov word [esp + 0x17], 0x704f
push eax
push edi
mov dword [esp + 0x26], 0x417845
mov word [esp + 0x1c], 0x6552
mov word [esp + 0x24], 0x7965
mov word [esp + 0x21], 0x6e65
mov byte [esp + 0x1e], 0x67
mov byte [esp + 0x23], 0x4b
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000d752
push dword [esp + 0x10]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push ebp
push ebx
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10013577
add esp, 0x18
ret
Function at 0x1000d770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov dword [esp + 0x10], eax
mov esi, 1
call fcn.1000c220
mov edi, eax
test edi, edi
je 0x1000d7ec
lea eax, [esp + 0x14]
mov dword [esp + 0x1a], 0x79654b6e
push eax
push edi
mov dword [esp + 0x1e], 0x65704f67
mov dword [esp + 0x26], 0x577845
mov word [esp + 0x1c], 0x6552
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000d7e3
push dword [esp + 0x10]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push ebp
push ebx
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10013577
add esp, 0x18
ret

Function at 0x1000d810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
push esi
mov dword [esp + 0x10], eax
mov esi, 1
mov eax, dword [esp + 0x4c]
push edi
mov dword [esp + 0x10], eax
call fcn.1000c220
mov edi, eax
test edi, edi
je 0x1000d8bd
lea eax, [esp + 0x20]
mov word [esp + 0x23], 0x7551
push eax
push edi
mov dword [esp + 0x2e], 0x61567972
mov dword [esp + 0x33], 0x78456575
mov word [esp + 0x37], 0x57
mov word [esp + 0x28], 0x6552
mov byte [esp + 0x2a], 0x67
mov byte [esp + 0x32], 0x6c
mov byte [esp + 0x2d], 0x65
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000d8b4
push dword [esp + 0x10]
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x28]
push ebp
push ebx
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10013577
add esp, 0x28
ret

Function at 0x1000d8e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
xor esi, esi
call fcn.1000c450
mov edi, eax
test edi, edi
je 0x1000d946
lea eax, [esp + 0x10]
mov dword [esp + 0x13], 0x65736165
push eax
push edi
mov word [esp + 0x20], 0x43
mov word [esp + 0x19], 0x6c65
mov byte [esp + 0x18], 0x52
mov byte [esp + 0x1f], 0x44
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000d93d
push ebp
push ebx
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10013577
add esp, 0x10
ret
Function at 0x1000d960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push edi
mov esi, 0xe
call fcn.1000c360
mov edi, eax
test edi, edi
je 0x1000d9d0
lea eax, [esp + 0xc]
mov dword [esp + 0xd], 0x74536370
push eax
push edi
mov word [esp + 0x1c], 0x4667
mov word [esp + 0x19], 0x6972
mov dword [esp + 0x1e], 0x41656572
mov byte [esp + 0x14], 0x52
mov byte [esp + 0x22], 0
mov byte [esp + 0x1b], 0x6e
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000d9c7
push ebx
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10013577
add esp, 0x14
ret

Function at 0x1000d9f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
mov dword [esp + 0x10], eax
mov esi, 0x80004005
call fcn.1000c3b0
mov edi, eax
test edi, edi
je 0x1000da7f
lea eax, [esp + 0x14]
mov dword [esp + 0x20], 0x7265646c
push eax
push edi
mov dword [esp + 0x1d], 0x74654748
mov word [esp + 0x21], 0x6e4b
mov dword [esp + 0x2c], 0x68746150
mov dword [esp + 0x24], 0x6f466e77
mov byte [esp + 0x1c], 0x53
mov byte [esp + 0x23], 0x6f
mov byte [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000da76
push dword [esp + 0x10]
push ebp
push dword [esp + 0x40]
push ebx
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10013577
add esp, 0x20
ret

Function at 0x1000daa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
xor esi, esi
call fcn.1000c3b0
mov edi, eax
test edi, edi
je 0x1000db2a
lea eax, [esp + 0x10]
mov dword [esp + 0x1f], 0x50726564
push eax
push edi
mov dword [esp + 0x2b], 0x57687461
mov dword [esp + 0x1e], 0x69636570
mov dword [esp + 0x19], 0x74654748
mov dword [esp + 0x23], 0x6c6f466c
mov byte [esp + 0x22], 0x61
mov byte [esp + 0x18], 0x53
mov byte [esp + 0x1d], 0x53
mov byte [esp + 0x2f], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000db21
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push ebp
push ebx
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10013577
add esp, 0x1c
ret
Function at 0x1000dc90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push edi
xor esi, esi
call fcn.1000c450
mov edi, eax
test edi, edi
je 0x1000dcff
lea eax, [esp + 0xc]
mov dword [esp + 0xe], 0x654d646e
push eax
push edi
mov word [esp + 0x1f], 0x41
mov word [esp + 0x14], 0x6553
mov dword [esp + 0x1a], 0x67617373
mov byte [esp + 0x1e], 0x65
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000dcf6
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10013577
add esp, 0x14
ret

Function at 0x1000ddc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov dword [esp + 0xd], 0x77656956
mov word [esp + 0xb], 0x7061
mov dword [esp + 0x12], 0x6c694666
mov word [esp + 8], 0x6e55
mov word [esp + 0x16], 0x65
mov byte [esp + 0x11], 0x4f
mov byte [esp + 0xa], 0x6d
call fcn.1000c2c0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000de2a
push esi
call eax
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10013577
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
pop esi
xor ecx, esp
call fcn.10013577
add esp, 0x14
ret

Function at 0x1000de40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov esi, 0xe
call fcn.1000c360
mov edi, eax
test edi, edi
je 0x1000dea8
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x74536f54
push eax
push edi
mov dword [esp + 0x22], 0x41676e
mov dword [esp + 0x18], 0x64697555
mov word [esp + 0x20], 0x6972
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000de9f
push ebp
push ebx
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10013577
add esp, 0x14
ret
Function at 0x1000dec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov dword [esp + 0x10], eax
xor esi, esi
mov eax, dword [esp + 0x38]
push edi
mov dword [esp + 0x10], eax
call fcn.1000c4a0
mov edi, eax
test edi, edi
je 0x1000df57
lea eax, [esp + 0x18]
mov word [esp + 0x1b], 0x7551
push eax
push edi
mov word [esp + 0x2b], 0x6575
mov word [esp + 0x28], 0x6156
mov word [esp + 0x20], 0x6556
mov word [esp + 0x25], 0x7265
mov word [esp + 0x2d], 0x41
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x27], 0x79
mov byte [esp + 0x2a], 0x6c
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000df4e
push dword [esp + 0x10]
push dword [esp + 0x18]
push ebp
push ebx
call eax
mov esi, eax
push edi
call fcn.1000c9c0
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10013577
add esp, 0x1c
ret
Function at 0x1000fb20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x1000fb5b
xor edx, edx
cmp dword [esi + 0x3cc], edx
jle 0x1000fb54
mov eax, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
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 0x1000fb41
pop edi
pop esi
add esp, 0xc
ret 8
push dword [0x10084028]
lea ecx, [esp + 8]
call fcn.1000ed00
push 0x10081898
lea eax, [esp + 8]
push eax
call fcn.10014440
int3
Function at 0x1002e5e1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002e457

Function at 0x1003f080
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 0x1003f0a4
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 0x10085310
push esi
mov dword [ebp - 8], ebx
call fcn.1001df70
add esp, 8
test eax, eax
je 0x1003f0ec
test ebx, ebx
je 0x1003f0dc
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 0x1003f115
push str.AddDllDirectory
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003f115
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 0x1003f1c0
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003f131
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x100849b0]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003f1b6
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1003f1b6
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003f162
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 0x1003f180
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 0x1003f190
mov eax, dword [ebp - 8]
test eax, eax
je 0x1003f1ad
push 8
push 0
push ebx
call eax
jmp 0x1003f1b4
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x100849b8]
add esp, 4
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003f1d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x10084044]
xor eax, esp
mov dword [esp + 0x194], eax
test cl, 2
je 0x1003f22d
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1003f216
mov eax, dword [esp]
cmp al, 2
jne 0x1003f210
shr eax, 8
cmp al, 2
je 0x1003f22d
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.10013577
mov esp, ebp
pop ebp
ret
call fcn.10051520
test eax, eax
jne 0x1003f27d
mov ecx, str.iphlpapi.dll
call fcn.1003f080
mov dword [0x1008b7d0], eax
test eax, eax
je 0x1003f255
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.10051580
add esp, 0xc
test al, al
setne byte [0x1008b938]
push 0x1008b930
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.10013577
mov esp, ebp
pop ebp
ret
Function at 0x10043990
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 0x10043a1c
cmp dword [edi + 0x1a8], 0
je 0x100439dc
mov dl, 1
call fcn.100409f0
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.100409f0
pop edi
mov eax, esi
pop esi
pop ebp
ret
mov ecx, esi
sub ecx, 0
je 0x100439ed
sub ecx, 1
je 0x100439ed
sub ecx, 1
jne 0x10043a1c
push dword [edi + 0x148]
lea eax, [esi*2 + 0x1007fcc4]
push 1
add eax, esi
push 2
push eax
call fcn.1001d7e6
push dword [edi + 0x148]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001d7e6
add esp, 0x20
pop edi
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10043de0
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 0x10043ea1
cmp dword [edx + ecx*4 + 0x160], 0x10043fd0
jne 0x10043ea1
cmp dword [esi], 0
je 0x10043e28
test edi, edi
je 0x10043ea1
mov ebx, dword [edx + ecx*4 + 0x148]
mov ecx, ebx
push 0
push 0
push 0xffffffffffffffff
call fcn.1005c100
add esp, 0xc
cmp eax, 0xffffffff
je 0x10043ea1
test al, 1
je 0x10043ea1
mov ecx, dword [esi]
test ecx, ecx
jne 0x10043e8a
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x4c0]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x100849b0]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
test ecx, ecx
jne 0x10043e79
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 0x10043ea1
add dword [esi + 8], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10043ee0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10084044]
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.10043de0
add esp, 4
test eax, eax
je 0x10043f39
mov dword [esi], 0x1b
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10013577
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 0x10043fb5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x10043f7e
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.10013577
mov esp, ebp
pop ebp
ret
push ecx
lea edx, [ebp - 0x10c]
mov ecx, ebx
call fcn.10061350
add esp, 4
push eax
push str.Send_failure:__s
push dword [ebp - 0x110]
call fcn.10044190
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.10013577
mov esp, ebp
pop ebp
ret
Function at 0x10044ad0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1008b8a8]
mov dword [ebp - 8], 0x4020
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
push esi
mov esi, ecx
test eax, eax
jne 0x10044b28
push 3
sub esp, 8
lea ecx, [eax + 6]
xor edx, edx
call fcn.10051580
add esp, 0xc
test al, al
je 0x10044b1c
mov dword [0x1008b8a8], 2
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x1008b8a8], 1
jmp 0x10044b2d
cmp eax, 2
je 0x10044b69
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 0x10044b52
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jg 0x10044b69
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 0x10044d60
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x10084044]
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.10015420
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 0x10044de1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea edx, [ebp - 0x108]
push ecx
mov ecx, esi
call fcn.10061350
add esp, 4
push eax
push esi
push 0x1008572c
jmp 0x10044e27
push dword [ebp - 0x190]
mov edx, dword [ebp - 0x18c]
lea ecx, [ebp - 0x188]
push edi
call fcn.10044f30
add esp, 8
test al, al
jne 0x10044e30
call fcn.1001e7e1
mov esi, dword [eax]
call fcn.1001e7e1
push ecx
lea edx, [ebp - 0x108]
mov ecx, esi
mov edi, eax
call fcn.10061350
add esp, 4
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.10044190
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013577
mov esp, ebp
pop ebp
ret
Function at 0x10045620
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10084044]
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 0x100456ac
mov ecx, dword [esi + 0x66c]
mov dword [ebp - 0x10], 1
call fcn.100442e0
mov ecx, dword [esi + 0x670]
imul eax, eax, 0x3e8
mov dword [ebp - 0xc], eax
call fcn.100442e0
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.10013577
mov esp, ebp
pop ebp
ret

Function at 0x10046770
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 0x10046798
mov cl, byte [esi]
call fcn.1004fa50
movsx ecx, al
inc esi
mov eax, edx
shl eax, 5
add edx, eax
xor edx, ecx
cmp esi, edi
jb 0x10046780
pop edi
movzx eax, dl
pop esi
ret

Function at 0x100517c0
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.10015420
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 0x10051891
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 0x10051873
push 0
push edi
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10051873
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 0x10051873
cmp esi, dword [ebp - 0xc]
jb 0x10051873
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 0x10051881
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10051891
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov esp, ebp
pop ebp
ret