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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4ae0df
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4ae0de
xor eax, eax
mov dword [ebp - 0x68], 0x250024
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov eax, 0x23
mov dword [ebp - 0x60], 0x270026
mov dword [ebp - 0x5c], 0x290028
mov dword [ebp - 0x58], 0x10000
mov dword [ebp - 0x54], 0x30002
mov dword [ebp - 0x50], 0x50004
mov dword [ebp - 0x4c], 0x70006
mov dword [ebp - 0x48], 0x90008
mov dword [ebp - 0x40], 0x2a0000
mov dword [ebp - 0x38], 0xa0000
mov dword [ebp - 0x34], 0xc000b
mov dword [ebp - 0x30], 0xe000d
mov dword [ebp - 0x2c], 0x10000f
mov dword [ebp - 0x28], 0x120011
mov dword [ebp - 0x24], 0x140013
mov dword [ebp - 0x20], 0x160015
mov dword [ebp - 0x1c], 0x180017
mov dword [ebp - 0x18], 0x1a0019
mov dword [ebp - 0x14], 0x1c001b
mov dword [ebp - 0x10], 0x1e001d
mov dword [ebp - 0xc], 0x20001f
mov dword [ebp - 8], 0x220021
mov word [ebp - 4], ax
cmp edi, 2
jb 0x4ae0de
push ebx
mov ebx, dword [ebp + 0x10]
nop dword [eax]
movzx eax, byte [esi]
cmp edi, 3
jb 0x4ae095
cmp eax, 0x28
jb 0x4ae016
cmp eax, 0x5a
jbe 0x4ae01b
mov eax, 0x28
add eax, 0xffffffd8
movzx eax, ax
movzx ebx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi + 1]
cmp eax, 0x28
jb 0x4ae034
cmp eax, 0x5a
jbe 0x4ae039
mov eax, 0x28
add eax, 0xffffffd8
movzx eax, ax
movzx edx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi + 2]
cmp eax, 0x28
jb 0x4ae052
cmp eax, 0x5a
jbe 0x4ae057
mov eax, 0x28
add eax, 0xffffffd8
movzx ecx, ax
imul eax, ebx, 0x2b
mov ebx, dword [ebp + 0x10]
add eax, edx
imul eax, eax, 0x2b
add ax, word [ebp + ecx*2 - 0x68]
mov ecx, ebx
movzx eax, ax
push eax
call fcn.004a03c0
cmp edi, 3
jbe 0x4ae0dd
sub edi, 3
add esi, 3
cmp edi, 2
jae 0x4ae000
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x28
jb 0x4ae09f
cmp eax, 0x5a
jbe 0x4ae0a4
mov eax, 0x28
add eax, 0xffffffd8
movzx eax, ax
movzx ecx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi + 1]
cmp eax, 0x28
jb 0x4ae0bd
cmp eax, 0x5a
jbe 0x4ae0c2
mov eax, 0x28
add eax, 0xffffffd8
movzx edx, ax
movzx eax, cl
mov ecx, ebx
imul eax, eax, 0x2b
add al, byte [ebp + edx*2 - 0x68]
movzx eax, al
push eax
call fcn.0049f460
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b1ca0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
mov dword [ebp - 0x2c], ebx
call fcn.0049eab0
push str.____________
mov ecx, ebx
call fcn.00494f80
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
mov esi, dword [0x7da4d4]
mov dword [ebp - 0x28], 0xc
mov byte [ebp + edi - 0x24], 0x30
test esi, esi
jne 0x4b1cee
call ebx
mov esi, eax
mov eax, dword [0x70acc8]
xor edx, edx
mov ecx, dword [0x70accc]
add eax, 0x204f
imul eax, esi
add ecx, 0x146bf
div ecx
mov esi, edx
mov dword [0x7da4d4], esi
mov eax, esi
test esi, esi
jne 0x4b1d23
call ebx
mov esi, eax
mov dword [0x7da4d4], esi
and eax, 0xffffff
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6e6900]
mulsd xmm0, qword [0x647d68]
mulsd xmm0, qword [0x647d70]
call fcn.00622ba0
cmp eax, 9
mov ecx, 9
cmova eax, ecx
add al, 0x30
mov byte [ebp + edi - 0x23], al
add edi, 2
sub dword [ebp - 0x28], 1
jne 0x4b1ce1
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00495ba0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00622073
mov esp, ebp
pop ebp
ret

Function at 0x4b1da0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62a930
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00496de0
cmp byte [0x7da4d9], 0
jne 0x4b1e30
push 0x200
push 0
push 0x7da698
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
push 0x7da698
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4b1e29
movq xmm0, qword [str.Win32]
mov ax, word [0x647d34]
movq qword [0x7da698], xmm0
mov word [0x7da6a0], ax
mov byte [0x7da4d9], 1
push 0x118
lea eax, [ebp - 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x12c]
call fcn.00468d60
push 0x7da698
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.004699d0
lea ecx, [ebp - 0x12c]
call fcn.0046be50
push eax
mov ecx, esi
call fcn.00494f80
lea ecx, [ebp - 0x12c]
call fcn.00468df0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret
Function at 0x4d8ea0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d028
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x717f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.00553ce0
lea ecx, [esi + 0x34]
mov dword [ebp - 4], 0
mov dword [esi], vtable.SocketParams.0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
call fcn.00494a40
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 1
mov word [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov word [esi + 0xb0], 1
call fcn.00494a40
mov dword [esi + 0x128], 0
mov eax, dword [0x70a0f8]
mov dword [esi + 0xac], eax
mov eax, esi
mov byte [esi + 8], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4da660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x250], esi
test eax, eax
jne 0x4da6ad
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, 0x40
cmp ebx, 3
je 0x4da6c1
cmp ebx, 2
jne 0x4da6c6
mov edi, 0x80
push ebx
call fcn.004c4710
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [ebp - 0x254], eax
cmp ecx, edi
jle 0x4da700
lea eax, [ebp - 0x14c]
push eax
push ebx
push ecx
push esi
call fcn.004c3730
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x14c]
add esp, 0x10
mov dword [ebp - 0x250], eax
push edi
cmp ecx, edi
lea eax, [ebp - 0x88]
push 0
mov esi, edi
push eax
cmovle esi, ecx
call sub.VCRUNTIME140.dll_memset
push edi
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
push dword [ebp - 0x250]
lea eax, [ebp - 0x88]
push eax
call sub.VCRUNTIME140.dll_memcpy
push esi
push dword [ebp - 0x250]
lea eax, [ebp - 0x10c]
push eax
call sub.VCRUNTIME140.dll_memcpy
movaps xmm2, xmmword [0x6e6890]
add esp, 0x30
movaps xmm3, xmmword [0x67e020]
xor eax, eax
nop
movups xmm0, xmmword [ebp + eax - 0x88]
movaps xmm1, xmm3
xorps xmm0, xmm2
movups xmmword [ebp + eax - 0x88], xmm0
movups xmm0, xmmword [ebp + eax - 0x10c]
xorps xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x78]
movups xmmword [ebp + eax - 0x10c], xmm1
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0xfc]
movups xmmword [ebp + eax - 0x78], xmm1
movaps xmm1, xmm3
xorps xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x68]
movups xmmword [ebp + eax - 0xfc], xmm1
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0xec]
movups xmmword [ebp + eax - 0x68], xmm1
movaps xmm1, xmm3
xorps xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x58]
movups xmmword [ebp + eax - 0xec], xmm1
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0xdc]
movups xmmword [ebp + eax - 0x58], xmm1
movaps xmm1, xmm3
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0xdc], xmm1
add eax, 0x40
cmp eax, edi
jl 0x4da760
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x88]
push dword [ebp - 0x25c]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x18c]
push ecx
push ebx
push eax
mov dword [eax + 0x404], edi
call fcn.004c3a40
push edi
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x24c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x18c]
push esi
push eax
lea eax, [ebp - 0x24c]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x260]
lea eax, [esi + edi]
push ebx
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.004c3730
mov ecx, dword [ebp - 4]
add esp, 0x38
xor ecx, ebp
mov al, 1
pop edi
pop ebx
pop esi
call fcn.00622073
mov esp, ebp
pop ebp
ret
Function at 0x4eb250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e908
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x717f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0052fea0
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
call fcn.004c81f0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
mov dword [edi], vtable.AsyncProgressEvent.0
mov dword [edi + 0x10], vtable.AsyncProgressEvent.1.0
call fcn.004c66e0
mov dword [edi + 0x4c], 0
mov eax, edi
mov byte [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov byte [edi + 0x48], 1
mov byte [edi + 0xc], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f18d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62f21b
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x100]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
push ecx
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x108], eax
push ecx
push 0
push edi
push eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, eax
xor al, al
mov dword [ebp - 0x110], ecx
mov byte [ebp - 0x101], al
test ecx, ecx
jne 0x4f1a90
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x4f1afc
push ecx
call fcn.00477830
mov edi, eax
add esp, 4
test edi, edi
jne 0x4f197a
xor al, al
jmp 0x4f1afc
lea eax, [ebp - 0x100]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x10c]
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x108], eax
test eax, eax
jne 0x4f1a1a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x100]
cmp eax, 4
jne 0x4f19d5
cmp ecx, 4
jne 0x4f19df
push dword [edi]
mov ecx, esi
call fcn.00494ea0
push edi
mov byte [ebp - 0x101], 1
call fcn.00622535
add esp, 4
jmp 0x4f1af6
cmp eax, 1
je 0x4f19fd
cmp eax, 2
je 0x4f19fd
push ecx
push edi
mov ecx, esi
call fcn.00495460
push edi
mov byte [ebp - 0x101], 1
call fcn.00622535
add esp, 4
jmp 0x4f1af6
push edi
mov ecx, esi
call fcn.00494f80
push edi
mov byte [ebp - 0x101], 1
call fcn.00622535
add esp, 4
jmp 0x4f1af6
push 0x74
lea eax, [ebp - 0x88]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.00494a40
push dword [ebp - 0x108]
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.00495a40
mov esi, dword [ebx]
lea ecx, [ebp - 0x88]
call fcn.00499300
push eax
push str.RegistryQueryError2
mov ecx, ebx
call dword [esi + 0x2c]
push dword [ebp - 0x10c]
mov eax, dword [ebx]
mov ecx, ebx
push str.ValueName
call dword [eax + 0x2c]
lea ecx, [ebp - 0x88]
call fcn.00494a90
push edi
call fcn.00622535
add esp, 4
jmp 0x4f1af6
push 0x74
lea eax, [ebp - 0xfc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xfc]
call fcn.00494a40
push dword [ebp - 0x110]
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], 1
call fcn.00495a40
mov esi, dword [ebx]
lea ecx, [ebp - 0xfc]
call fcn.00499300
push eax
push str.RegistryQueryError
mov ecx, ebx
call dword [esi + 0x2c]
mov edx, dword [ebx]
mov ecx, ebx
push edi
push str.ValueName
call dword [edx + 0x2c]
lea ecx, [ebp - 0xfc]
call fcn.00494a90
mov al, byte [ebp - 0x101]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret
Function at 0x510cf0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 8], 0x6119a407
je 0x510d10
push 0
call fcn.00401ab0
add esp, 4
xor eax, eax
pop edi
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push esi
call fcn.00499300
mov edx, eax
mov eax, 0x1505
movsx esi, byte [edx]
test esi, esi
je 0x510d3a
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, esi
movsx esi, byte [edx]
add eax, ecx
test esi, esi
jne 0x510d27
xor edx, edx
div dword [edi + 0xc]
pop esi
mov eax, edx
pop edi
pop ebp
ret 4

Function at 0x511110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x629cbd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x717f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00476f20
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [esi], vtable.MimeHeader.0
mov dword [esi + 8], 0
call fcn.004c66e0
mov byte [esi + 0x28], 1
mov eax, esi
mov dword [esi + 0x2c], vtable.MimeControl.0
mov word [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x51fdf0
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], vtable.s261656zz.0
mov eax, ecx
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret

Function at 0x520580
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
cmp dword [eax + 0x804], ebx
jbe 0x5205e1
push esi
lea esi, [eax + 4]
push dword [esi + 0x400]
mov ecx, edi
push dword [esi]
call fcn.00520a40
mov eax, dword [ebp + 8]
lea esi, [esi + 4]
inc ebx
cmp ebx, dword [eax + 0x804]
jb 0x5205c2
pop esi
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00520940
pop edi
pop ebx
pop ebp
ret 8

Function at 0x520600
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.00520a40
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00520940
pop esi
pop ebp
ret 0xc

Function at 0x520650
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
call fcn.0046e290
mov ecx, dword [ebp + 8]
push eax
call fcn.004a2ca0
push eax
mov ecx, edi
call fcn.00520a40
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00520940
pop edi
pop ebp
ret 8
Function at 0x5208e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
call fcn.004992a0
mov ecx, dword [ebp + 8]
push eax
call fcn.00499300
push eax
mov ecx, edi
call fcn.00520a40
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00520940
pop edi
pop ebp
ret 8

Function at 0x520a10
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret

Function at 0x522300
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xa68]
test eax, eax
je 0x522315
mov ecx, eax
pop ebp
jmp fcn.005e3910
cmp dword [ecx + 0xa74], 2
jne 0x52232a
add ecx, 0x164
pop ebp
jmp fcn.005e0170
add ecx, 0x720
pop ebp
jmp fcn.00585550
Function at 0x522d30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0xc
push edi
mov edi, dword [ebp + 0x18]
mov byte [eax], 0
cmp byte [edi + 8], 0
jne 0x522d5d
mov ecx, dword [ebp + 0x1c]
push dword [0x715244]
mov eax, dword [ecx]
call dword [eax + 0x14]
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x18
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ecx - 0x78]
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 0x1c]
test ebx, ebx
jne 0x522db5
mov eax, dword [ecx + 0x9f0]
push esi
push edi
test eax, eax
je 0x522d84
mov ecx, eax
call fcn.005e3910
jmp 0x522da5
cmp dword [ecx + 0x9fc], 2
jne 0x522d9a
add ecx, 0xec
call fcn.005e0170
jmp 0x522da5
add ecx, 0x6a8
call fcn.00585550
test al, al
je 0x522e8c
mov ebx, 0x7530
mov dword [ebp + 0x10], ebx
mov ecx, dword [ebp + 8]
call fcn.0046e290
mov ecx, dword [ebp - 8]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
push esi
call fcn.00522890
mov byte [ebp + 0x1b], al
test al, al
je 0x522e8c
mov ecx, esi
call fcn.0046e290
cmp eax, dword [ebp - 4]
jbe 0x522e02
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp + 0x14]
pop esi
pop ebx
pop edi
mov byte [ecx], al
mov al, 1
mov esp, ebp
pop ebp
ret 0x18
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0xc], eax
xor esi, esi
nop dword [eax]
mov ecx, dword [ebp + 8]
call fcn.0046e290
cmp eax, dword [ebp - 4]
jne 0x522e61
cmp esi, ebx
jae 0x522e61
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 8]
mov bl, byte [edi + 0x20]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00522890
mov byte [ebp + 0x1b], al
test bl, bl
je 0x522e44
mov byte [edi + 0x20], 1
call sub.KERNEL32.dll_GetTickCount
mov esi, eax
mov eax, dword [ebp - 0xc]
cmp esi, eax
jb 0x522e8c
mov ebx, dword [ebp + 0x10]
sub esi, eax
cmp esi, ebx
jae 0x522e7b
cmp byte [ebp + 0x1b], 0
jne 0x522e10
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp + 0x14]
pop esi
pop ebx
pop edi
mov byte [ecx], al
mov al, byte [ebp + 0x1b]
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0x1c]
push str.Timed_out......
mov eax, dword [ecx]
call dword [eax + 0x14]
mov byte [edi + 0x14], 1
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x5247c0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xa68]
test eax, eax
je 0x5247d5
mov ecx, eax
pop ebp
jmp fcn.005f0b00
cmp dword [ecx + 0xa74], 2
jne 0x5247ea
add ecx, 0x164
pop ebp
jmp fcn.005e0860
add ecx, 0x720
pop ebp
jmp fcn.00587800
Function at 0x526430
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.00496de0
mov edi, dword [ebp + 0x10]
mov byte [edi], 0
cmp byte [0x7dac39], 0
jne 0x5264c6
call fcn.00525860
mov ecx, dword [0x7dac3c]
test ecx, ecx
je 0x5264c6
cmp dword [0x7dac54], 0
je 0x5264c6
push ebx
call fcn.004c8510
push dword [ebp + 8]
mov ecx, dword [0x7dac54]
xor bl, bl
call fcn.004c7230
mov dword [ebp + 0x10], eax
test eax, eax
je 0x5264b4
add eax, 8
mov ecx, esi
push eax
call fcn.00494d10
push str.0.0.0.0
mov ecx, esi
call fcn.00498940
test al, al
je 0x5264aa
push str.8.8.8.8
mov ecx, esi
call fcn.0049b7e0
mov eax, dword [ebp + 0x10]
mov bl, 1
mov al, byte [eax + 0x7c]
mov byte [edi], al
mov ecx, dword [0x7dac3c]
call fcn.004c8540
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret
pop edi
xor al, al
pop esi
pop ebp
ret

Function at 0x526840
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63295f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x717f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
test edi, edi
je 0x5269b4
cmp byte [0x7dac39], 0
jne 0x5269b4
call fcn.00525860
cmp byte [0x7dac38], 0
je 0x5269b4
mov ecx, dword [0x7dac3c]
test ecx, ecx
je 0x5269b4
cmp dword [0x7dac54], 0
je 0x5269b4
call fcn.004c8510
push 0x94
call fcn.006222af
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x52690b
push 0x94
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00476f40
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
mov dword [esi], vtable._ckNameserver.0
call fcn.00494a40
mov dword [esi + 0x80], 0
mov dword [esi + 0x90], 0
jmp 0x52690d
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x5269a9
lea ebx, [esi + 8]
push edi
mov ecx, ebx
call fcn.00494f80
mov ecx, ebx
call fcn.0049d520
push str.0.0.0.0
mov ecx, ebx
call fcn.00498940
test al, al
je 0x52694a
push str.8.8.8.8
mov ecx, ebx
call fcn.0049b7e0
mov ecx, ebx
call fcn.004992a0
test eax, eax
je 0x5269a1
mov al, byte [ebp + 0xc]
mov byte [esi + 0x7c], al
mov ecx, dword [0x7dac54]
call fcn.004c73a0
xor edi, edi
mov dword [ebp + 8], eax
test eax, eax
jle 0x526993
nop
mov ecx, dword [0x7dac54]
push edi
call fcn.004c7230
test eax, eax
je 0x52698d
push ebx
lea ecx, [eax + 8]
call fcn.00498900
test al, al
jne 0x5269a1
inc edi
cmp edi, dword [ebp + 8]
jl 0x526970
mov ecx, dword [0x7dac54]
push esi
call fcn.004c6ec0
jmp 0x5269a9
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [0x7dac3c]
call fcn.004c8540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret