joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437290
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
mov eax, dword [0x6264e4]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push ebp
mov ebp, dword [esp + 0x214]
push 0x1c
push ebp
mov dword [esp + 0x10], 0
call fcn.004360e0
mov ebx, eax
add esp, 8
xor eax, eax
test ebx, ebx
je 0x4373ad
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
push esi
push edi
mov dword [ebx + 0x18], eax
mov eax, 0x200
lea edi, [esp + 0x14]
call fcn.004371f0
test eax, eax
je 0x437307
mov eax, edi
push eax
mov edi, ebx
mov esi, ebp
call fcn.00437170
add esp, 4
mov dword [esp + 0x10], eax
push 0x200
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x437330
lea edx, [esp + 0x14]
push edx
mov edi, ebx
mov esi, ebp
call fcn.00437170
add esp, 4
add dword [esp + 0x10], eax
push 0x4e16c0
mov edi, ebx
mov esi, ebp
call fcn.00437170
add dword [esp + 0x14], eax
add esp, 4
mov eax, 0x200
lea esi, [esp + 0x14]
call fcn.00437250
test eax, eax
je 0x437368
mov eax, esi
push eax
mov esi, ebp
call fcn.00437170
add esp, 4
add dword [esp + 0x10], eax
push str.MYSQL_HOME
call fcn.00481fe0
add esp, 4
test eax, eax
je 0x43738a
push eax
mov edi, ebx
mov esi, ebp
call fcn.00437170
add esp, 4
add dword [esp + 0x10], eax
push 0x4e044c
mov edi, ebx
mov esi, ebp
call fcn.00437170
add eax, dword [esp + 0x14]
add esp, 4
xor ecx, ecx
test eax, eax
setg cl
pop edi
pop esi
dec ecx
and ecx, ebx
mov eax, ecx
mov ecx, dword [esp + 0x20c]
pop ebp
pop ebx
xor ecx, esp
call fcn.0047d9e4
add esp, 0x208
ret
Function at 0x439300
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x24c
mov eax, dword [0x6264e4]
xor eax, esp
mov dword [esp + 0x248], eax
mov eax, dword [esp + 0x254]
push ebx
mov ebx, dword [esp + 0x25c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x260]
mov esi, 1
test eax, eax
je 0x43934f
push 2
push 0xb
push eax
push edi
call fcn.00438e40
mov esi, eax
add esp, 0x10
cmp esi, 1
jne 0x43941d
test ebx, ebx
je 0x43941d
push 0x101
lea eax, [esp + 0x154]
push ebx
push eax
call fcn.00483480
push 3
lea ecx, [esp + 0x160]
push 0x4e1980
push ecx
call fcn.00483a90
add esp, 0x18
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4393a5
mov eax, 0xfffffffa
jmp 0x43941f
cmp dword [esp + 0x10], 0x10
je 0x439401
push 0x82
lea ecx, [esp + 0x154]
push ebx
push ecx
call fcn.00483480
push 2
lea edx, [esp + 0x160]
push 0x4e197c
push edx
call fcn.00483a90
push 0x80
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x170]
push ecx
call fcn.00483a90
push 2
push 0xb
lea edx, [esp + 0x17c]
push edx
push edi
call fcn.00438e40
add esp, 0x34
mov esi, eax
cmp esi, 1
jne 0x439416
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4393a5
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [esp + 0x258]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047d9e4
add esp, 0x24c
ret

Function at 0x43a0a0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x10
mov eax, dword [0x6264e4]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x6285d4]
test eax, eax
jne 0x43a138
mov ax, word [0x4e1b80]
mov cl, byte [0x4e1b82]
push 7
lea edx, [esp + 6]
push edx
mov word [esp + 8], ax
xor eax, eax
push 0x1004
push 0x800
mov byte [esp + 0x12], cl
mov dword [esp + 0x13], eax
mov word [esp + 0x17], ax
mov byte [esp + 0x19], al
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ecx, str.cp932
lea eax, [esp]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43a120
test dl, dl
je 0x43a11c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43a120
add eax, 2
add ecx, 2
test dl, dl
jne 0x43a100
xor eax, eax
jmp 0x43a125
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, 0x550258
je 0x43a133
mov eax, 0x511f68
mov dword [0x6285d4], eax
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0047d9e4
add esp, 0x10
ret
Function at 0x43a460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov ecx, dword [ebp + 0x10]
sub esp, 0x34
push ebx
push esi
push edi
test ecx, ecx
je 0x43a555
cmp byte [ecx], 0
je 0x43a562
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [ebx + 8]
mov dword [esp + 0x1c], eax
mov eax, ecx
lea edx, [eax + 1]
mov esi, edi
mov dword [esp + 0x14], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43a498
sub eax, dword [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x28]
push eax
call fcn.0043a3e0
push 8
lea ecx, [esp + 0x24]
push ebx
push ecx
call fcn.0043a3e0
mov edx, dword [esp + 0x30]
xor edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
xor eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004551a0
mov eax, dword [esp + 0x40]
add esp, 0x24
cmp ebx, eax
jae 0x43a51f
sub eax, ebx
mov ebx, eax
jmp 0x43a4f0
lea edx, [esp + 0x28]
push edx
call fcn.004551e0
fmul qword [0x4e1ba0]
push ecx
fstp qword [esp]
call fcn.004828e0
fadd qword [0x4e1b98]
add esp, 8
call fcn.00482830
mov byte [edi], al
inc edi
sub ebx, 1
jne 0x43a4f0
lea eax, [esp + 0x28]
push eax
call fcn.004551e0
fmul qword [0x4e1ba0]
push ecx
fstp qword [esp]
call fcn.004828e0
add esp, 8
call fcn.00482830
cmp esi, edi
je 0x43a54b
xor byte [esi], al
inc esi
cmp esi, edi
jne 0x43a544
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
pop edi
pop esi
mov byte [edx], 0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43a570
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
lea edi, [eax + edx]
cmp eax, edi
jae 0x43a58d
lea ecx, [ecx]
mov dl, byte [eax]
xor dl, byte [esi]
inc eax
mov byte [ecx], dl
inc ecx
inc esi
cmp eax, edi
jb 0x43a580
pop edi
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
mov eax, dword [edx]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
ret

Function at 0x43ad80
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [esp + 4]
mov dl, byte [ecx + 0xc]
not dl
and dl, 1
push esi
mov esi, dword [esp + 0x10]
mov byte [esi], dl
mov edx, dword [ecx + 0x114]
xor eax, eax
cmp edx, 3
je 0x43ade0
cmp edx, 5
je 0x43ade0
mov edx, dword [ecx + 0xc]
mov esi, edx
cmp byte [esp + 0xc], al
je 0x43adb9
mov dword [esp + 8], eax
and esi, 0xfffffffe
jmp 0x43adc4
mov dword [esp + 8], 1
or esi, 1
mov dword [ecx + 0xc], esi
cmp edx, esi
je 0x43adf1
mov ecx, dword [ecx]
lea eax, [esp + 8]
push eax
push 0x8004667e
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop esi
ret
mov edx, dword [ecx + 0xc]
not edx
and edx, 1
xor eax, eax
cmp dl, byte [esp + 0xc]
setne al
pop esi
ret
Function at 0x43b070
Capabilities:
Get socket status

Disassembly:
sub esp, 0x210
mov eax, dword [esp + 0x214]
mov ecx, dword [esp + 0x218]
push esi
mov esi, dword [eax]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x114]
push eax
mov dword [esp + 0xc], ecx
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], 1
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], 1
call dword [sym.imp.WS2_32.dll_select]
xor edx, edx
test eax, eax
setle dl
mov eax, edx
test eax, eax
je 0x43b0ea
xor ecx, ecx
test eax, eax
setge cl
mov al, cl
pop esi
add esp, 0x210
ret
lea edx, [esp + 0xc]
push edx
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x43b11c
lea eax, [esp + 0x110]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x43b11c
xor ecx, ecx
test eax, eax
sete cl
mov al, cl
pop esi
add esp, 0x210
ret
mov eax, 1
xor ecx, ecx
test eax, eax
sete cl
mov al, cl
pop esi
add esp, 0x210
ret
Function at 0x43b4b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xa20
mov eax, dword [0x6264e4]
xor eax, esp
mov dword [esp + 0xa1c], eax
push ebx
push ebp
push esi
push edi
push fcn.0044f160
call fcn.0047d263
add esp, 4
call fcn.004844da
push 0x62b650
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x43b4f8
mov dword [0x62b650], eax
mov dword [0x62b654], eax
jmp 0x43b58c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 0x2ac18000
adc ecx, 0xfe624e21
mov dword [0x62b65c], ecx
lea ecx, [esp + 0x20]
push ecx
mov dword [0x62b658], eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [0x62b654]
mov edi, dword [0x62b650]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push esi
push edi
push edx
push eax
call fcn.00484610
push 0
push 0x989680
push ebx
push ecx
mov ebp, eax
mov dword [esp + 0x24], edx
call fcn.004845d0
push esi
push edi
push edx
push eax
call fcn.00484560
mov ecx, dword [esp + 0x14]
push 0
push 0x989680
push ecx
push ebp
mov esi, eax
mov edi, edx
call fcn.004845d0
add esi, eax
adc edi, edx
sub dword [0x62b658], esi
sbb dword [0x62b65c], edi
lea edx, [esp + 0x20]
push edx
push 0x20019
push 0
push str.SOFTWAREMySQL
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43b67f
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x2c]
xor esi, esi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
mov ebp, 0xff
mov ebx, 0x3ff
push edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
call edi
cmp eax, 0x103
je 0x43b674
inc esi
cmp eax, 0xea
je 0x43b63f
test eax, eax
jne 0x43b674
cmp dword [esp + 0x10], 1
jne 0x43b63f
push eax
lea eax, [esp + 0x12c]
push eax
push 0x4e1c6c
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x538]
push edx
call fcn.00436050
lea eax, [esp + 0x53c]
push eax
call fcn.0049f203
push eax
call fcn.004a8725
add esp, 0x1c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
call edi
cmp eax, 0x103
jne 0x43b5f6
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xa2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047d9e4
add esp, 0xa20
ret
Function at 0x43b730
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x6264e4]
xor eax, esp
mov dword [esp + 0x190], eax
call fcn.0043b6a0
test al, al
je 0x43b77c
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [esp + 4]
push eax
push 2
call esi
test eax, eax
je 0x43b793
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [esp + 4]
push ecx
push 2
call esi
test eax, eax
jne 0x43b77b
mov byte [0x6285e4], 1
pop esi
mov ecx, dword [esp + 0x190]
xor ecx, esp
xor al, al
call fcn.0047d9e4
add esp, 0x194
ret
cmp word [esp + 4], 2
je 0x43b774
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea edx, [esp + 4]
push edx
jmp 0x43b76c

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

Disassembly:
push ecx
mov eax, dword [0x6737f8]
push ebx
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x43b9c8
call fcn.0043b8f0
push 0x7c
push 1
call fcn.0047e23e
add esp, 8
mov dword [esp + 4], eax
test eax, eax
jne 0x43b946
mov al, 1
pop ebx
pop ecx
ret
mov ecx, dword [0x6737f8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esp + 4]
mov dword [edx + 0x50], eax
mov eax, dword [esp + 4]
add eax, 0x30
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 4]
add ecx, 4
push 0
push ecx
call fcn.00455be0
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
sub edx, dword [0x5119ec]
add esp, 8
push 0x673660
mov dword [eax + 0x74], edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x6285f0]
mov ecx, dword [esp + 4]
inc eax
mov dword [ecx + 0x54], eax
inc dword [0x6285ec]
push 0x673660
mov dword [0x6285f0], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 4]
mov byte [edx + 0x60], 1
mov al, bl
pop ebx
pop ecx
ret

Function at 0x43b9d0
Capabilities:
Allocate thread local storage

Disassembly:
call fcn.0044c380
mov dword [0x628ab4], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [0x6737f8], eax
mov eax, ecx
test eax, eax
je 0x43ba0d
push eax
push str.Cant_initialize_threads:_error__d_n
call fcn.0047fb2d
add eax, 0x40
push eax
call fcn.004820e2
add esp, 0xc
mov al, 1
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x673660
call esi
push 0x673700
call esi
call fcn.0043b910
test al, al
je 0x43ba2f
mov al, 1
pop esi
ret
push 0x6737a0
call esi
push 0x6737e0
call esi
push 0x673720
call esi
push 0x673740
call esi
push 0x673760
call esi
push 0x673780
call esi
push 0x673820
call esi
push 0x6737c0
call esi
push 0x6736a0
call esi
push 0
push 0x6736c0
call fcn.00455be0
add esp, 8
push 0x673800
call esi
push 0x673680
call esi
xor al, al
pop esi
ret
Function at 0x447d10
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00447cf0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edi, 0x40
ja 0x447d35
mov ecx, dword [esi]
push edi
push eax
push ecx
call fcn.0047edd0
add esp, 0xc
jmp 0x447d57
mov edx, dword [esi + 0x10]
mov edx, dword [edx + 4]
push ebx
lea ebx, [esi + 0x10]
push edi
push eax
mov ecx, ebx
call edx
mov ecx, dword [esi]
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push ecx
mov ecx, ebx
call edx
mov edi, 0x10
pop ebx
mov ecx, dword [esi]
mov eax, 0x40
sub eax, edi
push eax
add ecx, edi
push 0
push ecx
call fcn.0047d050
add esp, 0xc
xor eax, eax
mov edx, dword [esi]
movzx ecx, byte [edx + eax]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [eax + edx], cl
mov ecx, dword [esi]
xor byte [ecx + eax], 0x36
mov edx, dword [esi]
add ecx, eax
movzx ecx, byte [edx + eax + 1]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 1], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 1], 0x36
mov edx, dword [esi]
lea ecx, [ecx + eax + 1]
movzx ecx, byte [edx + eax + 2]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 2], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 2], 0x36
mov edx, dword [esi]
lea ecx, [ecx + eax + 2]
movzx ecx, byte [edx + eax + 3]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 3], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 3], 0x36
lea ecx, [ecx + eax + 3]
add eax, 4
cmp eax, 0x40
jb 0x447d70
pop edi
pop esi
ret 8

Function at 0x447df0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00447cf0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edi, 0x40
ja 0x447e15
mov ecx, dword [esi]
push edi
push eax
push ecx
call fcn.0047edd0
add esp, 0xc
jmp 0x447e37
mov edx, dword [esi + 0x10]
mov edx, dword [edx + 4]
push ebx
lea ebx, [esi + 0x10]
push edi
push eax
mov ecx, ebx
call edx
mov ecx, dword [esi]
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push ecx
mov ecx, ebx
call edx
mov edi, 0x14
pop ebx
mov ecx, dword [esi]
mov eax, 0x40
sub eax, edi
push eax
add ecx, edi
push 0
push ecx
call fcn.0047d050
add esp, 0xc
xor eax, eax
mov edx, dword [esi]
movzx ecx, byte [edx + eax]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [eax + edx], cl
mov ecx, dword [esi]
xor byte [ecx + eax], 0x36
mov edx, dword [esi]
add ecx, eax
movzx ecx, byte [edx + eax + 1]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 1], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 1], 0x36
mov edx, dword [esi]
lea ecx, [ecx + eax + 1]
movzx ecx, byte [edx + eax + 2]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 2], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 2], 0x36
mov edx, dword [esi]
lea ecx, [ecx + eax + 2]
movzx ecx, byte [edx + eax + 3]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 3], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 3], 0x36
lea ecx, [ecx + eax + 3]
add eax, 4
cmp eax, 0x40
jb 0x447e50
pop edi
pop esi
ret 8
Function at 0x449fb0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0x67452301
mov dword [ecx + 0x14], 0xefcdab89
mov dword [ecx + 0x18], 0x98badcfe
mov dword [ecx + 0x1c], 0x10325476
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
Function at 0x44f170
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov ecx, dword [ecx]
lea eax, [esp]
push eax
push 0x4004667f
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [esp]
pop ecx
ret

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

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
lea edi, [esi + eax]
mov ebx, ecx
cmp esi, edi
je 0x44f1cb
mov ebp, dword [esp + 0x1c]
lea esp, [esp]
mov edx, dword [ebx]
push ebp
mov ecx, edi
sub ecx, esi
push ecx
push esi
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x44f1d6
add esi, eax
cmp esi, edi
jne 0x44f1b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc

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

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
mov byte [esi + 4], 0
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44f24e
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x44f23f
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x44f25a
mov al, 1
mov byte [esi + 4], al
mov byte [esi + 5], al
pop edi
xor eax, eax
pop esi
ret 0xc
test edi, edi
jne 0x44f25a
pop edi
or eax, 0xffffffff
pop esi
ret 0xc
mov eax, edi
pop edi
pop esi
ret 0xc

Function at 0x44f900
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
test ebx, ebx
jbe 0x44f940
push ebp
mov ebp, dword [esp + 0x1c]
push edi
mov ecx, dword [esp + 0x1c]
push 0xfeedbeef
call fcn.00457690
push 0xfeedbeef
mov ecx, ebp
mov edi, eax
call fcn.00457690
mov cl, byte [edi]
xor cl, byte [eax]
mov edx, dword [esp + 0x14]
mov byte [esi + edx], cl
inc esi
cmp esi, ebx
jb 0x44f912
pop edi
pop ebp
pop esi
pop ebx
ret

Function at 0x452380
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
mov ecx, eax
or ecx, esi
or ecx, edx
test cl, 3
jne 0x4523b2
shr edx, 2
test edx, edx
jbe 0x4523cb
mov ecx, esi
sub ecx, eax
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
sub edx, 1
jne 0x4523a3
pop esi
ret
test edx, edx
jbe 0x4523cb
mov ecx, esi
sub ecx, eax
mov esi, edx
lea esp, [esp]
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
sub esi, 1
jne 0x4523c0
pop esi
ret

Function at 0x455220
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 0x24], dx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
xor eax, eax
ret
Function at 0x456030
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x45603b
xor eax, eax
ret
mov eax, dword [esp + 4]
push eax
call fcn.00455d10
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
push edx
mov edx, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45607d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
je 0x456038
cmp eax, 0x6d
je 0x456038
push eax
call fcn.00474ad0
add esp, 4
or eax, 0xffffffff
ret
mov eax, dword [esp + 0xc]
ret

Function at 0x45ec40
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0x67452301
mov dword [ecx + 0x14], 0xefcdab89
mov dword [ecx + 0x18], 0x98badcfe
mov dword [ecx + 0x1c], 0x10325476
mov dword [ecx + 0x20], 0xc3d2e1f0
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
Function at 0x463d80
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using des

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
add ecx, 8
mov edi, 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x4e4d70]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4e4f70]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4e5170]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x4e5370]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x4e4e70]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4e5070]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4e5270]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x4e5470]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x4e4d70]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4e4f70]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4e5170]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x4e5370]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x4e4e70]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4e5070]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4e5270]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x4e5470]
xor esi, ebx
sub edi, 1
jne 0x463d98
mov ecx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x465907
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
cmp byte [0x628aac], 0
push esi
mov esi, ecx
jne 0x46595f
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x46592d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00447870
pop esi
ret 0xc
cmp eax, 1
jne 0x465a30
cmp dword [esi + 0x30], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push edx
mov ecx, esi
jne 0x465956
call fcn.004478b0
pop esi
ret 0xc
call fcn.00447920
pop esi
ret 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
shr ebx, 3
cmp dword [esi + 0x34], 1
push edi
jne 0x465a08
cmp dword [esi + 0x30], 0
jne 0x4659c5
test ebx, ebx
je 0x465a2d
mov ebp, dword [esp + 0x18]
lea edi, [esi + 0x10]
mov eax, dword [ebp]
xor dword [edi], eax
mov ecx, dword [ebp + 4]
xor dword [esi + 0x14], ecx
push 0x4e4d70
push edi
push edi
mov ecx, esi
dec ebx
call fcn.00463ec0
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
mov dword [eax], edx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
add eax, 8
add ebp, 8
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x465988
pop edi
pop ebp
pop ebx
pop esi
ret 0xc
test ebx, ebx
je 0x465a2d
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push 0x4e4d70
push edi
push ebp
mov ecx, esi
dec ebx
call fcn.00463ec0
mov edx, dword [esi + 0x10]
xor dword [edi], edx
mov eax, dword [esi + 0x14]
xor dword [edi + 4], eax
mov ecx, dword [ebp]
mov dword [esi + 0x10], ecx
mov edx, dword [ebp + 4]
add edi, 8
add ebp, 8
mov dword [esi + 0x14], edx
test ebx, ebx
jne 0x4659d1
pop edi
pop ebp
pop ebx
pop esi
ret 0xc
test ebx, ebx
je 0x465a2d
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push 0x4e4d70
push edi
push ebp
mov ecx, esi
dec ebx
call fcn.00463ec0
add edi, 8
add ebp, 8
test ebx, ebx
jne 0x465a14
pop edi
pop ebp
pop ebx
pop esi
ret 0xc