joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ba94
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov byte [edx + ecx + 8], al
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x100
jne 0x43baa8
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [edx + ecx + 8]
add edx, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov al, byte [eax + edx + 8]
mov byte [ebp - 0x19], al
xor eax, eax
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov al, byte [edx + eax + 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov byte [edx + ecx + 8], al
xor eax, eax
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov cl, byte [ebp - 0x19]
mov byte [edx + eax + 8], cl
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x100
jne 0x43bad0
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jne 0x43bacb
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov esp, ebp
pop ebp
ret

Function at 0x43bb4c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x43bbfd
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
inc dword [ebp - 0x1c]
xor eax, eax
mov al, byte [ebp - 0x1c]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax + 8]
mov dword [ebp - 0x18], eax
xor eax, eax
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax + 8]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax + 8]
xor edx, edx
mov dl, byte [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov byte [ecx + edx + 8], al
xor eax, eax
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x18]
mov byte [edx + eax + 8], cl
mov eax, dword [ebp - 0x14]
shr eax, 8
add al, byte [ebp - 0x14]
and eax, 0xff
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax + 8]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x20]
xor byte [eax + edx], cl
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x43bb83
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov esp, ebp
pop ebp
ret
Function at 0x43bc2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x43bc67
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call sym.Project1.exe__Lbxcipher_Random32Byte_qqrri
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x43bc4e
mov esp, ebp
pop ebp
ret

Function at 0x43bc90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x43bccb
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call sym.Project1.exe__Lbxcipher_Random64Byte_qqrr16Lbxcipher_TInt64
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x43bcb2
mov esp, ebp
pop ebp
ret

Function at 0x43bf0c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov al, byte [eax + edx]
and al, 0xfe
mov edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0x10], al
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 8
jne 0x43bf1d
lea edx, [ebp - 0x99]
mov eax, 0x4d7704
mov cl, 1
call sym.Project1.exe__Lbxcipher_InitEncryptDES_qqrpxucr21Lbxcipher_TDESContexto
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
lea eax, [ebp - 0x99]
call sym.Project1.exe__Lbxcipher_EncryptDES_qqrrx21Lbxcipher_TDESContextpuc
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov al, byte [ebp + eax - 8]
mov edx, dword [ebp - 0x18]
xor byte [ebp + edx - 0x10], al
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 8
jne 0x43bf69
and dword [ebp - 0x10], 0xf101f101
and dword [ebp - 0xc], 0xf101f101
lea edx, [ebp - 0x99]
mov eax, 0x4d770c
mov cl, 1
call sym.Project1.exe__Lbxcipher_InitEncryptDES_qqrpxucr21Lbxcipher_TDESContexto
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x99]
call sym.Project1.exe__Lbxcipher_EncryptDES_qqrrx21Lbxcipher_TDESContextpuc
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov esp, ebp
pop ebp
ret

Function at 0x43caa0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
mov dword [ebp - 4], eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov ecx, 0x58
call fcn.004b5cd8
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0x67452301
mov dword [ebp - 0x50], 0xefcdab89
mov dword [ebp - 0x4c], 0x98badcfe
mov dword [ebp - 0x48], 0x10325476
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x5c]
mov ecx, 0x58
call fcn.004b5cd8
mov esp, ebp
pop ebp
ret
Function at 0x43cde4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push esi
push edi
mov dword [ebp - 4], eax
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
mov ecx, 0x118
call fcn.004b5cd8
xor eax, eax
mov dword [ebp - 0x11c], eax
mov esi, 0x4d3a94
lea edi, [ebp - 0x118]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x55555555
mov dword [ebp - 0x10], 0x55555555
mov dword [ebp - 0xc], 0x55555555
mov dword [ebp - 8], 0x55555555
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x11c]
mov ecx, 0x118
call fcn.004b5cd8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43ce5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 4]
mov ecx, 0x118
call fcn.004b5cd8
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x43cfe0
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x140]
xor byte [ebp + edx - 0x13c], al
inc dword [ebp - 0x140]
cmp dword [ebp - 0x140], 0x100
jne 0x43cec8
xor eax, eax
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x3c]
xor byte [ebp + edx - 0x38], al
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 8
jne 0x43cfd4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
shr eax, 7
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 0xd
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
shr eax, 0x11
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
shl eax, 9
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
shr eax, 3
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 7
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
shr eax, 0xf
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
shl eax, 0xb
xor dword [ebp - 0x1c], eax
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 4
jne 0x43cf02
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
inc dword [ebp - 0x20]
dec dword [ebp - 0x28]
jne 0x43ce98
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x140]
mov ecx, 0x118
call fcn.004b5cd8
mov esp, ebp
pop ebp
ret
Function at 0x43d274
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, edx
push ecx
shr ecx, 2
je 0x43d28e
cld
mov eax, dword [edi]
xor dword [esi], eax
add esi, 4
add edi, 4
dec ecx
jne 0x43d281
pop ecx
and ecx, 3
je 0x43d29d
mov al, byte [edi]
xor byte [esi], al
inc esi
inc edi
dec ecx
jne 0x43d294
pop edi
pop esi
ret
Function at 0x43d67c
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0043d2c4
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x10325476
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xc3d2e1f0
pop ecx
pop ebp
ret

Function at 0x43d840
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
xor eax, eax
mov al, byte [ebp - 4]
mov al, byte [eax + 0x4d4bec]
mov byte [ebp - 8], al
xor eax, eax
mov al, byte [ebp - 3]
mov al, byte [eax + 0x4d4bec]
mov byte [ebp - 7], al
xor eax, eax
mov al, byte [ebp - 2]
mov al, byte [eax + 0x4d4bec]
mov byte [ebp - 6], al
xor eax, eax
mov al, byte [ebp - 1]
mov al, byte [eax + 0x4d4bec]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret
Function at 0x43d8e8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
mov byte [ebp - 0x19], cl
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x19], 0
jne 0x43d995
mov eax, dword [ebp - 0x20]
and eax, 0x80000003
jns 0x43d917
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + eax*4]
mov eax, dword [eax*4 + 0x4d4e24]
mov edx, dword [ebp - 0x20]
inc edx
and edx, 0x80000003
jns 0x43d936
dec edx
or edx, 0xfffffffc
inc edx
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + edx*4 + 1]
xor eax, dword [edx*4 + 0x4d5224]
mov edx, dword [ebp - 0x20]
add edx, 2
and edx, 0x80000003
jns 0x43d958
dec edx
or edx, 0xfffffffc
inc edx
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + edx*4 + 2]
xor eax, dword [edx*4 + 0x4d5624]
mov edx, dword [ebp - 0x20]
add edx, 3
and edx, 0x80000003
jns 0x43d97a
dec edx
or edx, 0xfffffffc
inc edx
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + edx*4 + 3]
xor eax, dword [edx*4 + 0x4d5a24]
mov edx, dword [ebp - 0x20]
mov dword [ebp + edx*4 - 0x10], eax
jmp 0x43da2b
mov eax, dword [ebp - 0x20]
and eax, 0x80000003
jns 0x43d9a4
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + eax*4]
mov al, byte [eax + 0x4d4bec]
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx*4 - 0x10], al
mov eax, dword [ebp - 0x20]
inc eax
and eax, 0x80000003
jns 0x43d9c8
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + eax*4 + 1]
mov al, byte [eax + 0x4d4bec]
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx*4 - 0xf], al
mov eax, dword [ebp - 0x20]
add eax, 2
and eax, 0x80000003
jns 0x43d9ef
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + eax*4 + 2]
mov al, byte [eax + 0x4d4bec]
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx*4 - 0xe], al
mov eax, dword [ebp - 0x20]
add eax, 3
and eax, 0x80000003
jns 0x43da16
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + eax*4 + 3]
mov al, byte [eax + 0x4d4bec]
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx*4 - 0xd], al
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 4
jne 0x43d8fe
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 0x10
call fcn.0043d274
mov eax, dword [ebp - 0x18]
mov edi, eax
lea esi, [ebp - 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43da60
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push esi
push edi
mov byte [ebp - 0x19], cl
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, 0x10
call fcn.0043d274
xor eax, eax
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x19], 0
jne 0x43db62
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
movzx eax, byte [eax + edx*4]
mov eax, dword [eax*4 + 0x4d5e24]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [edx + ecx*4 + 1]
xor eax, dword [edx*4 + 0x4d6224]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [edx + ecx*4 + 2]
xor eax, dword [edx*4 + 0x4d6624]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [edx + ecx*4 + 3]
xor eax, dword [edx*4 + 0x4d6a24]
mov dword [ebp - 0x24], eax
xor eax, eax
mov al, byte [ebp - 0x24]
mov al, byte [eax + 0x4d4cec]
mov edx, dword [ebp - 0x20]
and edx, 0x80000003
jns 0x43daf5
dec edx
or edx, 0xfffffffc
inc edx
mov byte [ebp + edx*4 - 0x10], al
xor eax, eax
mov al, byte [ebp - 0x23]
mov al, byte [eax + 0x4d4cec]
mov edx, dword [ebp - 0x20]
inc edx
and edx, 0x80000003
jns 0x43db15
dec edx
or edx, 0xfffffffc
inc edx
mov byte [ebp + edx*4 - 0xf], al
xor eax, eax
mov al, byte [ebp - 0x22]
mov al, byte [eax + 0x4d4cec]
mov edx, dword [ebp - 0x20]
add edx, 2
and edx, 0x80000003
jns 0x43db37
dec edx
or edx, 0xfffffffc
inc edx
mov byte [ebp + edx*4 - 0xe], al
xor eax, eax
mov al, byte [ebp - 0x21]
mov al, byte [eax + 0x4d4cec]
mov edx, dword [ebp - 0x20]
add edx, 3
and edx, 0x80000003
jns 0x43db59
dec edx
or edx, 0xfffffffc
inc edx
mov byte [ebp + edx*4 - 0xd], al
jmp 0x43dbf8
mov eax, dword [ebp - 0x20]
and eax, 0x80000003
jns 0x43db71
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + eax*4]
mov al, byte [eax + 0x4d4cec]
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx*4 - 0x10], al
mov eax, dword [ebp - 0x20]
add eax, 3
and eax, 0x80000003
jns 0x43db97
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + eax*4 + 1]
mov al, byte [eax + 0x4d4cec]
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx*4 - 0xf], al
mov eax, dword [ebp - 0x20]
add eax, 2
and eax, 0x80000003
jns 0x43dbbe
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + eax*4 + 2]
mov al, byte [eax + 0x4d4cec]
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx*4 - 0xe], al
mov eax, dword [ebp - 0x20]
inc eax
and eax, 0x80000003
jns 0x43dbe3
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + eax*4 + 3]
mov al, byte [eax + 0x4d4cec]
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx*4 - 0xd], al
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 4
jne 0x43da86
mov eax, dword [ebp - 0x18]
mov edi, eax
lea esi, [ebp - 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x446444
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x4c], edx
push 0
push 0x401
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
call sub.WSOCK32.DLL_WSAAsyncSelect_1
push 2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
call sub.WSOCK32.DLL_shutdown_1
mov word [ebp - 4], 1
mov word [ebp - 2], 0
push 4
lea eax, [ebp - 4]
push eax
push 0x80
push 0xffff
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
call sub.WSOCK32.DLL_setsockopt_1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
call sub.WSOCK32.DLL_closesocket_1
test eax, eax
je 0x4464cd
call sub.WSOCK32.DLL_WSAGetLastError_1
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4464d7
mov eax, dword [ebp - 8]
mov dword [eax + 0x3c], 0xffffffff
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0xffffffff
je 0x446534
cmp dword [ebp + 8], 0
je 0x446534
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
call sub.WSOCK32.DLL_send_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x446534
call sub.WSOCK32.DLL_WSAGetLastError_1
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x446648
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
call sub.WSOCK32.DLL_recv_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x446687
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x4466a4
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4466a4
call sub.WSOCK32.DLL_WSAGetLastError_1
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4466ff
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
setne al
and al, byte [ebp + 8]
je 0x4466ff
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
jmp 0x4466db
mov eax, dword [0x4dd5c8]
mov eax, dword [eax]
call fcn.00484094
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
je 0x4466f6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
je 0x4466f6
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 8
je 0x4466cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x446af4
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
push 6
push 1
push 2
call sub.WSOCK32.DLL_socket_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0xffffffff
jne 0x446b2d
call sub.WSOCK32.DLL_WSAGetLastError_1
mov ecx, eax
or edx, 0xffffffff
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x446bde
mov eax, dword [ebp - 4]
mov word [eax + 0x58], 2
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x38]
push eax
call sub.WSOCK32.DLL_htons_1
mov edx, dword [ebp - 4]
mov word [edx + 0x5a], ax
push 0x10
mov eax, dword [ebp - 4]
add eax, 0x58
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
call sub.WSOCK32.DLL_bind_1
test eax, eax
je 0x446b82
call sub.WSOCK32.DLL_WSAGetLastError_1
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x446bde
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
call sub.WSOCK32.DLL_listen_1
test eax, eax
je 0x446bab
call sub.WSOCK32.DLL_WSAGetLastError_1
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x446bde
push 0x29
push 0x401
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
call sub.WSOCK32.DLL_WSAAsyncSelect_1
test eax, eax
je 0x446bde
call sub.WSOCK32.DLL_WSAGetLastError_1
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x40]
pop ebx
pop ecx
pop ebp
ret

Function at 0x447068
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x10d]
push eax
call sub.WSOCK32.DLL_gethostname_1
test eax, eax
jne 0x4470a1
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.004b71e8
jmp 0x4470a9
mov eax, dword [ebp - 8]
call fcn.004b6fb8
mov esp, ebp
pop ebp
ret

Function at 0x4470b0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004b6fb8
push 0x104
lea eax, [ebp - 0x121]
push eax
call sub.WSOCK32.DLL_gethostname_1
test eax, eax
jne 0x447110
lea eax, [ebp - 0x121]
push eax
call sub.WSOCK32.DLL_gethostbyname_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x447110
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call sub.WSOCK32.DLL_inet_ntoa_1
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004b7170
mov esp, ebp
pop ebp
ret