joyce8/EMBER2024-capa huggingface dataset:
Function at 0x523d34
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00523c4c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004040c0
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x523d9c
mov eax, ebx
call fcn.00523534
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x523d8e
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004040c0
pop esi
pop ebx
ret

Function at 0x523dc0
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00405398
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004036dc
test ebx, ebx
je 0x523e0f
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [esp + 4], cl
movzx ecx, byte [edx + 1]
mov byte [esp + 5], cl
movzx ecx, byte [edx + 2]
mov byte [esp + 6], cl
movzx eax, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x523eec
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x523f1d
mov ecx, dword [0x59e0cc]
mov dl, 1
mov eax, dword [0x522df0]
call fcn.0040f300
call fcn.0040483c
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x523f4a
mov ecx, dword [0x59dfcc]
mov dl, 1
mov eax, dword [0x522df0]
call fcn.0040f300
call fcn.0040483c
xor eax, eax
push ebp
push 0x523fc6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004040c0
cmp byte [ebp + 8], 0
je 0x523fa2
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00523e54
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00523d34
jmp 0x523fbc
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00523828
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x523fe3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5241c4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00523ae4
xor eax, eax
push ebp
push 0x524337
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x524321
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x524210
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x52421a
call fcn.004048e8
jmp 0x52433e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00423408
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x524316
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x5242c9
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x5242b6
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004040c0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0052417c
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x52434c]
cmp dl, byte [eax + 0x28]
je 0x52431d
call fcn.0040f224
jmp 0x52431d
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00423428
jmp 0x52431d
cmp edi, ebx
jge 0x5242e5
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00423428
jmp 0x52421a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00423408
cmp edx, dword [esp + 4]
jne 0x524305
cmp eax, dword [esp]
pop edx
pop eax
jne 0x52421a
push ebp
call fcn.0052417c
pop ecx
jmp 0x52431d
push ebp
call fcn.0052417c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52433e
mov eax, dword [ebp - 4]
call fcn.00523af0
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x524350
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x524472
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00523ae4
xor eax, eax
push ebp
push 0x524455
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5243a0
call fcn.004048e8
jmp 0x52445c
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x52443f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x52443f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004040c0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x52443f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ea0c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x52448c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x59e2e0]
mov dl, 1
mov eax, dword [0x522df0]
call fcn.0040f33c
call fcn.0040483c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52445c
mov eax, dword [ebp - 4]
call fcn.00523af0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524479
lea eax, [ebp - 0x28]
call fcn.00404f08
ret
Function at 0x5244d8
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x524622
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00523ae4
xor eax, eax
push ebp
push 0x524605
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x52453d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x52453d
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x5245ef
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x524550
call fcn.004048e8
jmp 0x52460c
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x5245ef
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5245ef
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004040c0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x5245ef
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ea0c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x52463c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x59e2e0]
mov dl, 1
mov eax, dword [0x522df0]
call fcn.0040f33c
call fcn.0040483c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52460c
mov eax, dword [ebp - 4]
call fcn.00523af0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524629
lea eax, [ebp - 0x28]
call fcn.00404f08
ret
Function at 0x537920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5379aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x53794d
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x53795c
mov eax, esi
call fcn.00404f08
jmp 0x537994
mov eax, esi
call fcn.00404f08
test ebx, ebx
jle 0x537994
mov edi, 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edi - 1]
xor al, 0xf
movzx eax, al
lea ecx, [ebp - 8]
mov edx, 2
call fcn.0040a5ac
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004051d4
inc edi
dec ebx
jne 0x53796c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5379b1
lea eax, [ebp - 8]
call fcn.00404f08
ret

Function at 0x5379e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x537a81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
test eax, eax
je 0x537a0b
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x537a1d
mov eax, esi
call fcn.00404f08
jmp 0x537a6b
mov eax, esi
call fcn.00404f08
mov ebx, 1
cmp ebx, dword [ebp - 4]
jge 0x537a6b
movzx eax, byte [edi + ebx - 1]
call fcn.005379b8
shl eax, 4
push eax
movzx eax, byte [edi + ebx]
call fcn.005379b8
pop edx
add edx, eax
mov dword [ebp - 8], edx
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
xor edx, 0xf
call fcn.004050f0
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004051d4
add ebx, 2
cmp ebx, dword [ebp - 4]
jl 0x537a2e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x537a88
lea eax, [ebp - 0xc]
call fcn.00404f08
ret

Function at 0x558ce4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x558d3e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00558cd4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0055692c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00556444
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x558d45
lea eax, [ebp - 4]
call fcn.00404f08
ret
Function at 0x561fe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x56200a
cmp dword [ebx + 0x64], 0
jne 0x56200a
cmp dword [ebx + 0x6c], 0
jne 0x56200a
mov edi, esi
jmp 0x562091
cmp edi, 0xffffffff
jne 0x562012
dec edi
jmp 0x562091
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x562091
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.005613dc
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x56205f
mov cx, word [esp]
sub cx, si
jmp 0x562061
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x562048
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x562087
mov cx, word [esp]
sub cx, si
jmp 0x562089
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x562070
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x5620ee
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00561d7c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x5620d9
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x5620ee
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x561fea
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x568248
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5a5094
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x56826a
shr eax, 1
xor eax, 0xedb88320
jmp 0x56826c
shr eax, 1
dec edx
jne 0x568258
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x568251
mov byte [0x5a5494], 1
pop esi
pop ebx
ret

Function at 0x568288
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5a5494], 0
jne 0x56829f
call fcn.00568248
mov eax, edi
dec eax
test eax, eax
jl 0x5682c7
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5a5094]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5682a9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x56a6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x45d]
movzx ecx, dl
cmp ecx, 6
ja case.0x56a76a.0
jmp dword [ecx*4 + 0x56a703]
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x56a735
sub dl, 8
je 0x56a744
jmp case.0x56a76a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56a460
jmp case.0x56a76a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56a4ac
jmp case.0x56a76a.0
movzx ecx, byte [eax + 0x45c]
cmp ecx, 0x10
ja case.0x56a76a.0
movzx ecx, byte [ecx + 0x56a771]
jmp dword [ecx*4 + 0x56a782]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56a4fc
jmp case.0x56a76a.0
cmp dl, 3
jne 0x56a7af
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56a550
jmp case.0x56a76a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56a50c
jmp case.0x56a76a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56a594
jmp case.0x56a76a.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x56a7da
sub dl, 8
je 0x56a7e6
jmp case.0x56a76a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56a5b0
jmp case.0x56a76a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56a614
jmp case.0x56a76a.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x56a805
sub dl, 8
je 0x56a811
jmp case.0x56a76a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56a67c
jmp case.0x56a76a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56a6a4
mov esi, dword [eax + 0x448]
mov edx, dword [ebx + 0x1c]
dec edx
imul esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0xc], esi
mov eax, dword [eax + 0x450]
mov dword [ebp - 8], eax
mov esi, edx
test esi, esi
jb 0x56a8a1
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00569a7c
test eax, eax
je 0x56a8a1
mov eax, ebx
call fcn.0056a8ac
mov eax, dword [ebp - 8]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x448]
sub dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x56a841
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x56a8ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x56a8dd
dec al
je 0x56a918
dec al
je 0x56a95d
dec al
je 0x56a9c6
jmp 0x56aa50
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x56aa50
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x56a8ed
jmp 0x56aa50
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56aa50
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x56a928
jmp 0x56aa50
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56aa50
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x56a98c
xor ebp, ebp
jmp 0x56a99c
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x56a9a5
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x56a96d
jmp 0x56aa50
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56aa50
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x56aa1f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005682d0
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x56a9da
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x56e508
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004036dc
ret
Function at 0x570a58
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x570b98
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 0
xor eax, eax
push ebp
push 0x570acd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x570bb4
push 0x570bbc
mov ecx, dword [0x5a17f8]
mov dl, 1
mov eax, dword [0x41e680]
call fcn.00423f0c
mov ebx, eax
mov edx, 0x570bc8
mov eax, ebx
call fcn.00423b88
mov eax, ebx
call fcn.00403ec4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x570ae1
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x570bdc
call fcn.0040b8b8
xor eax, eax
push ebp
push 0x570b26
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.00405398
push eax
call fcn.00570bfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x570b30
lea eax, [ebp - 0x18]
mov edx, 0x570bf0
call fcn.00405100
mov eax, dword [ebp - 0x18]
call fcn.00405398
push eax
call sub.kernel32.dll_DeleteFileA
cmp byte [ebp - 9], 0
je 0x570b71
mov eax, dword [ebp - 8]
call fcn.00405398
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00405100
mov eax, dword [ebp - 0x1c]
call fcn.00405398
push eax
call sub.kernel32.dll_DeleteFileA
mov byte [ebp - 0xa], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x570b9f
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404f2c
lea eax, [ebp - 4]
call fcn.00404f08
ret

Function at 0x570bfc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.004036dc
mov dword [ebp - 0x54], 0x44
movzx eax, word [ebp + 0xc]
mov word [ebp - 0x24], ax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x570c5d
mov ebx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x570c5d
xor esi, esi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8