joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ca4d4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
mov ebx, eax
test ebx, ebx
jne 0x4ca4ed
mov byte [ebp - 1], 0
jmp 0x4ca574
mov eax, dword [0x4d9d04]
cmp dword [eax], 0
je 0x4ca504
lea eax, [ebp - 8]
push eax
mov eax, dword [0x4d9d04]
mov eax, dword [eax]
call eax
xor eax, eax
push ebp
push 0x4ca56d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x400
push 0x2b4
lea eax, [ebp - 0x2bc]
push eax
push 0
mov eax, ebx
call fcn.00406b08
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
jne 0x4ca548
mov eax, ebx
call fcn.0041353c
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca574
mov eax, dword [0x4d9970]
cmp dword [eax], 0
je 0x4ca56c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4d9970]
mov eax, dword [eax]
call eax
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ca580
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a64
mov eax, dword [ebp - 8]
call fcn.00406a64
xor eax, eax
push ebp
push 0x4ca657
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00406a7c
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor esi, esi
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
mov eax, dword [ebp - 8]
call fcn.00406b08
push eax
mov eax, dword [ebp - 4]
call fcn.00406b08
mov edi, eax
push edi
call sub.advapi32.dll_LookupAccountNameW
mov eax, dword [ebp - 0x14]
call fcn.00413e30
mov esi, eax
mov eax, dword [ebp - 0x18]
call fcn.004041d4
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
mov eax, dword [ebp - 8]
call fcn.00406b08
push eax
push edi
call sub.advapi32.dll_LookupAccountNameW
test eax, eax
je 0x4ca62e
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004b83e4
mov eax, esi
call fcn.00413e70
mov eax, ebx
call fcn.00404208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca65e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a74
ret
Function at 0x4caf1c
Capabilities:
Persist via ginadll registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4cb017
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, 0x80000002
call fcn.004c400c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4caff5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.00448bf8
mov edx, 0x4cb034
mov eax, dword [ebp - 8]
call fcn.00448e74
test al, al
je 0x4cafbc
mov edx, 0x4cb0ac
mov eax, dword [ebp - 8]
call fcn.00449cf8
test al, al
je 0x4cafb4
lea ecx, [ebp - 0x10]
mov edx, 0x4cb0ac
mov eax, dword [ebp - 8]
call fcn.00449770
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00411fb4
mov edx, dword [ebp - 0xc]
mov eax, 0x4cb0c8
call fcn.004074cc
test eax, eax
setg byte [ebp - 1]
mov eax, dword [ebp - 8]
call fcn.00448bc8
cmp byte [ebp - 1], 0
jne 0x4cafdf
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.00448bf8
mov edx, 0x4cb0e4
mov eax, dword [ebp - 8]
call fcn.0044a084
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4caffc
mov eax, dword [ebp - 8]
call fcn.00404df0
ret

Function at 0x4cb558
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4cb601
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xff
mov eax, ebx
call fcn.004041ec
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4cb5df
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 8]
push eax
push 1
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00406c38
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x4cb61c
call fcn.00406f48
mov eax, dword [ebp - 0xc]
call fcn.00413030
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb5e6
mov eax, dword [ebp - 8]
call fcn.00404208
ret

Function at 0x4cb620
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov dword [ebp - 8], 0xff
mov eax, dword [ebp - 8]
call fcn.004041ec
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cb68a
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x4cb658
mov ebx, 0x400
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00406c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb691
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00404208
ret
Function at 0x4cbe98
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a64
xor eax, eax
push ebp
push 0x4cbf99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406a7c
mov eax, dword [ebp - 4]
test eax, eax
je 0x4cbef5
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4cbef5
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.0040627c
mov ebx, eax
test ebx, ebx
je 0x4cbf00
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
sub ecx, 4
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.004071b4
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 8]
call fcn.004191dc
push 0x104
lea eax, [ebp - 0x212]
push eax
lea eax, [ebp - 0x21c]
mov edx, dword [ebp - 8]
call fcn.00406cf0
mov eax, dword [ebp - 0x21c]
call fcn.004068ac
push eax
call sub.kernel32.dll_QueryDosDeviceW
test eax, eax
je 0x4cbf68
mov eax, esi
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00406c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbfa0
lea eax, [ebp - 0x21c]
call fcn.004066e0
lea eax, [ebp - 0x218]
call fcn.00406a6c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a74
ret
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
mov ecx, 0xc052d44
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x2e55813
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401a30
Capabilities:
Get number of processors
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x40430f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 1
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x24], 1
lea eax, [esp + 0x14]
push 0
push eax
push 1
push esi
push edi
call ebp
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401a9b
mov cl, byte [esi]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
inc ebx
cmp byte [esi], 0xa
je 0x401aad
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401aad
cmp ebx, 0x64
jle 0x401a79
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
push esi
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x30]
add esp, 4
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.00403b86
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x403300
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x404558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40335c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00403b86
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x10
ret 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
lea esi, [eax - 2]
cmp esi, 2
jle 0x4033b4
mov edx, dword [esp + 0x1c]
cmp byte [esi + edx], 0x5c
jne 0x4033ae
push ecx
lea ecx, [esp + 0x20]
mov eax, esp
mov dword [esp + 0xc], esp
push esi
push eax
call sub.MFC42.DLL_CString::Left
mov ecx, edi
call fcn.00403300
test eax, eax
je 0x4033ae
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
call fcn.00403300
test eax, eax
jne 0x403333
dec esi
cmp esi, 2
jg 0x40336b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00403b86
mov ecx, dword [esp + 0xc]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 4

Function at 0x4033e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x403435
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x403435
mov edx, dword [esp + 0xa8]
pop edi
pop esi
mov byte [edx], al
add esp, 0x9c
ret 8
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x40349b
dec eax
je 0x403461
dec eax
jne 0x4034a5
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xa8]
cmp ecx, 4
ja 0x403457
mov byte [eax], 1
cmp ecx, 5
jne 0x4034a5
mov byte [eax], 2
jmp 0x4034a5
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp eax, 4
ja 0x403483
cmp eax, 4
jne 0x403477
test ecx, ecx
ja 0x403483
mov eax, dword [esp + 0xa8]
mov byte [eax], 4
jmp 0x4034a5
mov edx, dword [esp + 0xa8]
cmp ecx, 0x5a
setne cl
dec ecx
and ecx, 3
add ecx, 3
mov byte [edx], cl
jmp 0x4034a5
mov eax, dword [esp + 0xa8]
mov byte [eax], 5
mov ecx, dword [esp + 0xac]
mov dl, byte [esp + 0x9c]
pop edi
mov eax, 1
mov byte [ecx], dl
pop esi
add esp, 0x9c
ret 8
Function at 0x10003370
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1024a668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea eax, [ebx + 0x18]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.10091800
mov eax, dword [0x102e2ed8]
mov esi, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x28], 0
je 0x100033dd
mov word [esi + 0x2e], 0xffff
mov eax, dword [0x102f7658]
test eax, eax
je 0x100033dd
mov ecx, dword [esi]
push ecx
push str.CConnTrack::AddTableItem__SOCKET__d__IsEnablePassEncrypt_
push str.IPG_7587
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
mov edi, dword [esi]
mov esi, dword [ebx + 4]
mov eax, edi
xor edx, edx
shr eax, 4
div esi
mov ecx, dword [ebx]
mov dword [esp + 0x10], edi
test ecx, ecx
mov ebp, edx
je 0x10003417
mov eax, dword [ecx + ebp*4]
test eax, eax
je 0x10003413
cmp dword [eax + 8], edi
je 0x1000340b
mov eax, dword [eax]
test eax, eax
jne 0x100033fe
jmp 0x10003413
test eax, eax
jne 0x100034b3
test ecx, ecx
jne 0x10003442
lea edi, [esi*4]
push edi
call fcn.1023d8fc
mov edx, eax
mov ecx, edi
mov dword [ebx], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 4], esi
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x10003479
mov eax, dword [ebx + 0x14]
push 0x6c
lea ecx, [ebx + 0x10]
push eax
push ecx
call fcn.10090950
mov ecx, dword [ebx + 0x14]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea edx, [edx + edx*8]
lea eax, [eax + edx*4 - 0x64]
jl 0x10003479
inc ecx
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
mov dword [ebx + 0xc], eax
sub eax, 0x6c
dec ecx
jne 0x1000346b
mov edx, dword [ebx + 0xc]
mov ecx, 0x18
mov eax, dword [edx]
lea edi, [edx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
inc eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [edx + 8], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [edx + 4], ebp
mov dword [edx + 8], ecx
mov ecx, dword [ebx]
mov eax, edx
mov ecx, dword [ecx + ebp*4]
mov dword [edx], ecx
mov ecx, dword [ebx]
mov dword [ecx + ebp*4], edx
mov esi, dword [esp + 0x30]
lea edi, [eax + 0xc]
mov ecx, 0x18
mov dword [esp + 0x28], 0xffffffff
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
call fcn.10091860
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x100037a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x78
push ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
push edi
xor ebx, ebx
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], ebx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x1a], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1e], eax
lea edx, [esp + 0x18]
push ecx
mov dword [esp + 0x26], eax
push edx
push edi
mov word [esp + 0x24], bx
mov word [esp + 0x32], ax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x10003950
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
push eax
call ebp
mov ecx, dword [esp + 0x1a]
mov esi, dword [sym.imp.WS2_32.dll_ntohs]
push ecx
mov dword [esp + 0x34], eax
call esi
mov word [esp + 0x36], ax
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push edi
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x10003950
mov ecx, dword [esp + 0x1c]
push ecx
call ebp
mov edx, dword [esp + 0x1a]
mov dword [esp + 0x2c], eax
push edx
call esi
mov edx, dword [esp + 0x1a]
mov ecx, dword [esp + 0x94]
mov word [esp + 0x34], ax
mov eax, dword [esp + 0x90]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
call esi
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, 0x102e2e98
call fcn.10014de0
mov cx, word [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa0]
mov ebp, 1
cmp eax, ebx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov word [esp + 0x54], bp
mov dword [esp + 0x58], 0xff
mov word [esp + 0x56], cx
mov dword [esp + 0x5c], edx
je 0x100038fc
mov ecx, eax
lea esi, [esp + 0xa0]
mov edx, ecx
lea edi, [esp + 0x60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xa8]
or edx, 0xffffffff
cmp ecx, edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
je 0x10003942
mov eax, dword [esp + 0xac]
and eax, 0xffff
cmp eax, edx
je 0x10003942
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
call fcn.10003370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0x24
Function at 0x10003960
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x8c
push esi
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x94]
push edi
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x34], 0
rep stosd dword es:[edi], eax
mov word [esp + 0x20], ax
mov dword [esp + 0x22], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x26], eax
lea edx, [esp + 0x20]
push ecx
mov dword [esp + 0x2e], eax
push edx
push esi
mov word [esp + 0x3a], ax
mov dword [esp + 0x3c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov edi, dword [sym.imp.WS2_32.dll_ntohs]
cmp eax, 0xffffffff
je 0x100039dd
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esp + 0x22]
mov dword [esp + 0x3c], eax
push ecx
call edi
mov word [esp + 0x42], ax
xor edx, edx
lea eax, [esp + 0x1c]
mov dword [esp + 0xa], edx
lea ecx, [esp + 8]
mov dword [esp + 0xe], edx
push eax
mov dword [esp + 0x16], edx
push ecx
push esi
mov word [esp + 0x14], 0
mov word [esp + 0x22], dx
mov dword [esp + 0x28], 0x10
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x10003a30
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa]
push eax
call edi
mov word [esp + 0x40], ax
mov eax, dword [esp + 0xa]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
call edi
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, 0x102e2e98
call fcn.10014de0
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x5c], eax
mov ax, word [esp + 0xb4]
mov word [esp + 0x60], ax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x50], edx
mov dx, word [esp + 0xbc]
test eax, eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x64], ecx
mov word [esp + 0x62], dx
je 0x10003af5
mov ecx, eax
lea esi, [esp + 0xc4]
mov edx, ecx
lea edi, [esp + 0x6c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x34]
push eax
call fcn.10003370
pop edi
pop esi
add esp, 0x8c
ret 0x34
Function at 0x10004450
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024a6f0
push eax
mov eax, dword [0x102f7658]
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
test eax, eax
push edi
je 0x10004495
mov eax, dword [esp + 0x2c]
push eax
push ebp
push str.XORALG__begin__len__lu__key__lu__r_n
push str.DataProc
push 1
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x18
mov ebx, dword [esp + 0x20]
xor edi, edi
test ebp, ebp
jle 0x10004504
mov esi, ebp
sub esi, edi
cmp esi, 0x64
jle 0x100044ad
mov esi, 0x64
mov eax, dword [0x102f7658]
test eax, eax
je 0x100044fe
lea ecx, [edi + ebx]
push esi
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.1009d160
add esp, 0xc
mov eax, dword [eax]
mov dword [esp + 0x18], 0
push eax
push esi
push str.XORALG__begin__src__lu____s__r_n
push str.DataProc
push 1
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x18
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.10083560
add edi, esi
cmp edi, ebp
jl 0x1000449f
test ebp, ebp
jle 0x1000452c
mov eax, dword [esp + 0x24]
mov cx, word [esp + 0x2e]
mov esi, ebx
mov edi, ebp
sub esi, eax
mov bl, byte [esi + eax]
mov edx, dword [esp + 0x2c]
xor bl, dl
xor bl, dh
xor bl, cl
xor bl, ch
mov byte [eax], bl
inc eax
dec edi
jne 0x10004517
mov eax, dword [0x102f7658]
test eax, eax
je 0x10004554
mov ecx, dword [esp + 0x2c]
push ecx
push ebp
push str.XORALG__ret__len__lu__key__lu_
push str.DataProc
push 1
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x18
xor edi, edi
test ebp, ebp
jle 0x100045c3
mov esi, ebp
sub esi, edi
cmp esi, 0x64
jle 0x10004568
mov esi, 0x64
mov eax, dword [0x102f7658]
test eax, eax
je 0x100045bd
mov edx, dword [esp + 0x24]
push esi
lea ecx, [esp + 0x30]
lea eax, [edi + edx]
push eax
push ecx
call fcn.1009d160
add esp, 0xc
mov edx, dword [eax]
mov dword [esp + 0x18], 1
push edx
push esi
push str.XORALG__ret__dst__lu____s__r_n
push str.DataProc
push 1
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x18
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0xffffffff
call fcn.10083560
add edi, esi
cmp edi, ebp
jl 0x1000455a
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x100045e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024a710
push eax
mov eax, dword [0x102f7658]
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
test eax, eax
push edi
je 0x10004625
mov eax, dword [esp + 0x2c]
push eax
push ebp
push str.XORALGDefault__begin__len__lu__key__lu__r_n
push str.DataProc
push 1
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x18
mov ebx, dword [esp + 0x20]
xor edi, edi
test ebp, ebp
jle 0x10004694
mov esi, ebp
sub esi, edi
cmp esi, 0x64
jle 0x1000463d
mov esi, 0x64
mov eax, dword [0x102f7658]
test eax, eax
je 0x1000468e
lea ecx, [edi + ebx]
push esi
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.1009d160
add esp, 0xc
mov eax, dword [eax]
mov dword [esp + 0x18], 0
push eax
push esi
push str.XORALGDefault__begin__src__lu____s__r_n
push str.DataProc
push 1
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x18
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.10083560
add edi, esi
cmp edi, ebp
jl 0x1000462f
test ebp, ebp
jle 0x100046b1
mov eax, dword [esp + 0x24]
mov esi, ebx
sub esi, eax
mov edi, ebp
mov cl, byte [esi + eax]
mov bl, byte [esp + 0x2c]
xor cl, bl
mov byte [eax], cl
inc eax
dec edi
jne 0x100046a2
mov eax, dword [0x102f7658]
test eax, eax
je 0x100046d9
mov edx, dword [esp + 0x2c]
push edx
push ebp
push str.XORALGDefault__ret__len__lu__key__lu_
push str.DataProc
push 1
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x18
xor edi, edi
test ebp, ebp
jle 0x10004748
mov esi, ebp
sub esi, edi
cmp esi, 0x64
jle 0x100046ed
mov esi, 0x64
mov eax, dword [0x102f7658]
test eax, eax
je 0x10004742
mov eax, dword [esp + 0x24]
push esi
lea edx, [esp + 0x30]
lea ecx, [edi + eax]
push ecx
push edx
call fcn.1009d160
add esp, 0xc
mov eax, dword [eax]
mov dword [esp + 0x18], 1
push eax
push esi
push str.XORALGDefault__ret__dst__lu____s__r_n
push str.DataProc
push 1
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x18
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0xffffffff
call fcn.10083560
add edi, esi
cmp edi, ebp
jl 0x100046df
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x10005b60
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x102e1c80
jmp 0x10045730
push 0xffffffffffffffff
push 0x1024fc99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.10090dd0
lea ecx, [esi + 0x10]
mov dword [esp + 0x10], 0
call fcn.100912d0
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 1
call fcn.10044ae0
lea ecx, [esi + 0x64]
mov byte [esp + 0x10], 2
call fcn.10044e90
mov ecx, esi
mov byte [esp + 0x10], 3
call fcn.10045970
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret