joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58e40c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
mov ebp, dword [edx + 0x1058]
push edi
mov edi, dword [edx + 0x1064]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x20]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x58e550
push ebx
push esi
mov esi, 0xff1c
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1060]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x58e52a
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xe3
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 0x42]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x208]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x208]
shr eax, 2
and edx, 0xffff00e3
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x58e475
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1058]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1058]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x58e44c
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x58e679
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
mov ebp, dword [edx + 0x1058]
push edi
mov edi, dword [edx + 0x1064]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x20]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x58e7bd
push ebx
push esi
mov esi, 0xff00
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1060]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x58e797
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xff
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 2]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x200]
shr eax, 2
and edx, 0xffff00ff
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x58e6e2
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1058]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1058]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x58e6b9
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x58e7c5
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x20]
mov eax, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x1064]
push edi
mov edi, dword [edx + 0x1058]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x58e8fb
push ebx
mov edx, dword [edx + 0x1060]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x58e8d6
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0xf
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 2]
mov ecx, eax
and ecx, 0xffff00f0
mov ebx, ebp
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00f0
shr edx, 2
lea ecx, [ecx + ebx + 0x20]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xf0
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0xf
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x58e824
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1058]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1058]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x58e800
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret

Function at 0x59979f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x5997f6
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x5997f6
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x5997f6
xor eax, eax
inc eax
jmp 0x5997f8
xor eax, eax
leave
ret 0x10
Function at 0x599821
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x59988f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x5fa8dc
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x599886
cmp dword [ebp - 0xc], 4
jne 0x599886
cmp dword [ebp - 0x10], edi
je 0x599886
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x624240], edi
xor eax, eax
jmp 0x5998ce
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x624240], edi
jge 0x5998c9
lea eax, [ebp - 0x34]
push eax
mov dword [0x624240], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x5998c9
cmp word [ebp - 0x14], 5
jb 0x5998c9
call fcn.005997fc
test eax, eax
je 0x5998c9
emms
mov dword [0x624240], 1
mov eax, dword [0x624240]
pop edi
leave
ret

Function at 0x59a5b0
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x59a5d3
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x59a5f9
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x59a5e0
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret

Function at 0x59a6b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x59a6e2
push esi
call fcn.005a2530
mov eax, dword [esi + 0x40]
test eax, eax
je 0x59a6db
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x59a765
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x59a750
lea ebx, [ebx]
mov eax, dword [esi + 8]
test eax, eax
je 0x59a70a
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x59a74a
cmp eax, 2
je 0x59a750
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x59a700
cmp eax, 3
je 0x59a72d
cmp eax, 1
jne 0x59a700
mov eax, dword [ecx + 4]
inc eax
mov edx, eax
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
cmp edx, eax
jl 0x59a700
mov edx, dword [esi + 0x144]
add edx, eax
mov dword [ecx + 8], edx
jmp 0x59a700
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.0059a5b0
pop esi
ret 4
cmp ecx, 0xcc
je 0x59a77c
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.0059a5b0
pop esi
ret 4
Function at 0x5a5012
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x5a5021
xor eax, eax
jmp 0x5a5104
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x5a50e4
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5fd3a0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5fd3a0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5fd3a0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5fd3a0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5fd3a0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5fd3a0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5fd3a0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5fd3a0]
inc edx
dec edi
jne 0x5a5041
pop edi
test eax, eax
je 0x5a50fe
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5fd3a0]
inc edx
dec eax
jne 0x5a50e8
mov eax, esi
pop esi
not eax
pop ebx
ret 0xc
Function at 0x5d8570
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push esi
push edi
lea edi, [ebp - 0xac]
mov ecx, 0x2b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov ecx, 0x26
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
push 0x9c
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.005c5b80
add esp, 0xc
mov dword [ebp - 0x9c], 0x9c
mov esi, esp
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp esi, esp
call fcn.005eddb2
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x5d862f
mov dword [ebp - 0x9c], 0x94
mov esi, esp
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp esi, esp
call fcn.005eddb2
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x5d862f
mov eax, dword [ebp - 0xa0]
jmp 0x5d878e
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 1
je 0x5d871c
cmp dword [ebp - 0xac], 2
je 0x5d8656
jmp 0x5d8788
cmp dword [ebp - 0x98], 3
jne 0x5d8672
cmp dword [ebp - 0x94], 0x33
jne 0x5d8672
mov dword [ebp - 0xa0], 6
cmp dword [ebp - 0x98], 4
jne 0x5d868e
cmp dword [ebp - 0x94], 0
jne 0x5d868e
mov dword [ebp - 0xa0], 7
cmp dword [ebp - 0x98], 5
jne 0x5d86aa
cmp dword [ebp - 0x94], 0
jne 0x5d86aa
mov dword [ebp - 0xa0], 8
cmp dword [ebp - 0x98], 5
jne 0x5d86c6
cmp dword [ebp - 0x94], 1
jne 0x5d86c6
mov dword [ebp - 0xa0], 9
cmp dword [ebp - 0x98], 5
jne 0x5d86e2
cmp dword [ebp - 0x94], 2
jne 0x5d86e2
mov dword [ebp - 0xa0], 0xa
cmp dword [ebp - 0x98], 6
jne 0x5d86fe
cmp dword [ebp - 0x94], 0
jne 0x5d86fe
mov dword [ebp - 0xa0], 0xb
cmp dword [ebp - 0x98], 6
jne 0x5d871a
cmp dword [ebp - 0x94], 1
jne 0x5d871a
mov dword [ebp - 0xa0], 0xd
jmp 0x5d8788
cmp dword [ebp - 0x98], 4
jne 0x5d8738
cmp dword [ebp - 0x94], 0
jne 0x5d8738
mov dword [ebp - 0xa0], 2
cmp dword [ebp - 0x98], 4
jne 0x5d876c
cmp dword [ebp - 0x94], 0xa
jne 0x5d876c
movsx ecx, byte [ebp - 0x87]
cmp ecx, 0x41
jne 0x5d8762
mov dword [ebp - 0xa0], 4
jmp 0x5d876c
mov dword [ebp - 0xa0], 3
cmp dword [ebp - 0x98], 4
jne 0x5d8788
cmp dword [ebp - 0x94], 0x5a
jne 0x5d8788
mov dword [ebp - 0xa0], 5
mov eax, dword [ebp - 0xa0]
pop edi
pop esi
add esp, 0xac
cmp ebp, esp
call fcn.005eddb2
mov esp, ebp
pop ebp
ret
Function at 0x5d9980
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0xffffffff
jne 0x5d99b5
xor eax, eax
jmp 0x5d99f8
mov eax, dword [ebp - 4]
mov word [eax + 0xc], 2
cmp dword [ebp + 8], 0
jne 0x5d99cd
mov dword [ebp - 8], 0
jmp 0x5d99d9
mov ecx, dword [ebp + 8]
push ecx
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov cx, word [ebp + 0xc]
push ecx
call sub.WSOCK32.dll_htons
mov edx, dword [ebp - 4]
mov word [edx + 0xe], ax
mov eax, 1
add esp, 8
cmp ebp, esp
call fcn.005eddb2
mov esp, ebp
pop ebp
ret 8
Function at 0x5d9a10
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
push esi
push edi
push ecx
lea edi, [ebp - 0x33c]
mov ecx, 0xcf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x33c], ecx
mov dword [ebp - 0x334], 1
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x334]
push eax
push 0x8004667e
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ecx + 8]
push edx
call sub.WS2_32.dll_ioctlsocket
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x5d9a88
xor eax, eax
jmp 0x5d9c32
push 0x10
mov eax, dword [ebp - 0x33c]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ecx + 8]
push edx
call sub.WSOCK32.dll_connect
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x334], 0
cmp dword [ebp - 0x14], 0xffffffff
jne 0x5d9bae
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0x2733
je 0x5d9af3
lea eax, [ebp - 0x334]
push eax
push 0x8004667e
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ecx + 8]
push edx
call sub.WS2_32.dll_ioctlsocket
xor eax, eax
jmp 0x5d9c32
mov eax, dword [ebp + 8]
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], 0
cmp dword [ebp - 0x118], 0x40
jae 0x5d9b34
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x33c]
mov eax, dword [edx + 8]
mov dword [ebp + ecx*4 - 0x114], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
xor edx, edx
test edx, edx
jne 0x5d9b06
mov ecx, 0x41
lea esi, [ebp - 0x118]
lea edi, [ebp - 0x220]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x41
lea esi, [ebp - 0x220]
lea edi, [ebp - 0x324]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x324]
push edx
lea eax, [ebp - 0x118]
push eax
push 0
call sub.WS2_32.dll_select
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
je 0x5d9bae
lea ecx, [ebp - 0x334]
push ecx
push 0x8004667e
mov edx, dword [ebp - 0x33c]
mov eax, dword [edx + 8]
push eax
call sub.WS2_32.dll_ioctlsocket
xor eax, eax
jmp 0x5d9c32
lea ecx, [ebp - 0x334]
push ecx
push 0x8004667e
mov edx, dword [ebp - 0x33c]
mov eax, dword [edx + 8]
push eax
call sub.WS2_32.dll_ioctlsocket
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x330], 0x10
push 0x10
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.005c5b80
add esp, 0xc
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ecx + 8]
push edx
call sub.WS2_32.dll_getsockname
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x5d9c12
cmp dword [ebp - 0x330], 0x10
je 0x5d9c21
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x338], eax
xor eax, eax
jmp 0x5d9c32
mov eax, dword [ebp - 0x33c]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
mov eax, 1
pop edi
pop esi
add esp, 0x33c
cmp ebp, esp
call fcn.005eddb2
mov esp, ebp
pop ebp
ret 4
Function at 0x5d9c50
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 8], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call sub.WSOCK32.dll_send
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x5d9c8a
xor eax, eax
jmp 0x5d9c97
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, 1
add esp, 8
cmp ebp, esp
call fcn.005eddb2
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5d9cb0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
push edi
push ecx
lea edi, [ebp - 0x198]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x198], ecx
mov eax, dword [ebp - 0x198]
mov dword [eax], 0x60583c
lea ecx, [ebp - 0x194]
push ecx
push 0x202
call sub.WSOCK32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5d9cfc
jmp 0x5d9d4f
mov edx, dword [ebp - 0x194]
and edx, 0xffff
and edx, 0xff
and edx, 0xff
cmp edx, 2
jne 0x5d9d33
mov eax, dword [ebp - 0x194]
and eax, 0xffff
and eax, 0xff
and eax, 0xff
cmp eax, 2
je 0x5d9d35
jmp 0x5d9d4f
mov ecx, dword [ebp - 0x198]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x198]
mov dword [edx + 8], 0xffffffff
mov eax, dword [ebp - 0x198]
pop edi
add esp, 0x198
cmp ebp, esp
call fcn.005eddb2
mov esp, ebp
pop ebp
ret

Function at 0x5d9db0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0xffffffff
je 0x5d9e0e
mov word [ebp - 4], 1
mov word [ebp - 2], 0
push 4
lea ecx, [ebp - 4]
push ecx
push 0x80
push 0xffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call sub.WS2_32.dll_setsockopt
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call sub.WSOCK32.dll_closesocket
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0xffffffff
add esp, 8
cmp ebp, esp
call fcn.005eddb2
mov esp, ebp
pop ebp
ret

Function at 0x5debe0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebx
push esi
push edi
xor esi, esi
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x150]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5dec22
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x140
ret
mov edi, dword [esp + 0x154]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [edi], 1
lea edx, [esp + 0x10]
push edx
push ebx
call ebp
test eax, eax
jne 0x5dec4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x5dec58
mov edx, dword [edi]
inc edx
inc esi
cmp esi, 0x64
mov dword [edi], edx
jl 0x5dec36
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x140
ret
Function at 0x5dec70
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push ebx
push esi
push edi
xor esi, esi
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x260]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5decb2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x250
ret
mov edi, dword [esp + 0x264]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [edi], 1
lea edx, [esp + 0x10]
push edx
push ebx
call ebp
test eax, eax
jne 0x5decdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x5dece8
mov edx, dword [edi]
inc edx
inc esi
cmp esi, 0x64
mov dword [edi], edx
jl 0x5decc6
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x250
ret
Function at 0x5dfe90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x605c48
push 0x5c9da4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x6f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xbf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0xc4], ebx
mov dl, 0x58
mov byte [ebp - 0x70], dl
mov byte [ebp - 0x6f], 0x54
mov cl, 0x72
mov byte [ebp - 0x6e], cl
mov al, 0x61
mov byte [ebp - 0x6d], al
mov byte [ebp - 0x6c], 0x70
mov byte [ebp - 0x6b], 0x56
mov byte [ebp - 0x6a], al
mov byte [ebp - 0x69], 0x2e
mov byte [ebp - 0x68], 0x64
mov al, 0x6c
mov byte [ebp - 0x67], al
mov byte [ebp - 0x66], al
mov byte [ebp - 0x65], bl
mov byte [ebp - 0xc0], dl
mov byte [ebp - 0xbf], 0x50
mov byte [ebp - 0xbe], cl
mov byte [ebp - 0xbd], 0x6f
mov byte [ebp - 0xbc], 0x63
mov byte [ebp - 0xbb], 0x34
mov byte [ebp - 0xba], bl
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x5e0002
lea edx, [ebp - 0xc0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x5e0002
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x2c]
push ecx
call eax
add esp, 0x14
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
je 0x5dfffb
not eax
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x78]
push edx
call eax
add esp, 0x14
mov eax, dword [ebp - 0x74]
mov dword [0x277f960], eax
mov ecx, dword [ebp - 0x78]
mov dword [0x277f964], ecx
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret