joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a42a4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5a4346
cmp dword [ebx + 0xac], 0
jne 0x5a4340
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5a41e4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5a4340
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5a4306
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5a4340
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.0049f99c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5a4315
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5a4688
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6c7cd0]
cmp dword [eax + 0x190], 0
je 0x5a47f1
test bl, bl
jne 0x5a4744
cmp dword [esi + 0xb4], 0
jne 0x5a4739
mov eax, esi
call fcn.005a788c
push eax
push 0x5a4588
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5a470a
mov eax, dword [0x6c7cd0]
cmp byte [eax + 0xeb], 0
je 0x5a470a
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5a46eb
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5a470a
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5a46f3
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5a4739
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0049f99c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5a4719
inc dword [esi + 0xb4]
jmp 0x5a47f1
cmp dword [esi + 0xb4], 0
jle 0x5a47f1
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5a47f1
cmp dword [esi + 0x58], 0
je 0x5a47a6
mov eax, dword [0x6c7cd0]
cmp byte [eax + 0xeb], 0
je 0x5a47a6
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5a4787
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5a47a6
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5a478f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5a47d5
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0049f99c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5a47b5
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x594a2c]
call fcn.0040f04c
pop edi
pop esi
pop ebx
ret
Function at 0x5a55ac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5a5609
cmp byte [ebx + 0xeb], 0
jne 0x5a5609
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040bb3c
mov eax, dword [esi]
test eax, eax
je 0x5a55f6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5a5616
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040bd94
jmp 0x5a5616
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040bd94
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5a7114
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5a7185
mov eax, esi
call fcn.00522e9c
test al, al
je 0x5a7185
mov eax, dword [ebx + 0x98]
call fcn.00522a34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5a7185
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5a7176
push 0
mov eax, dword [ebx + 0x98]
call fcn.00522a34
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00519014
jmp 0x5a7185
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005a6f20
pop esi
pop ebx
ret
Function at 0x5b5830
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040ba98
xor eax, eax
push ebp
push 0x5b58b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040c8a8
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x5b5879
mov eax, dword [ebx + 4]
call fcn.0040c8a8
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceW
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b58b7
lea eax, [ebp - 4]
call fcn.0040b9a4
pop eax
jmp eax

Function at 0x5b698c
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5b6b6b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.00407c08
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x5b6b88
call fcn.0040cdd8
test eax, eax
jle 0x5b69ed
push 0x5b6b98
push dword [ebp - 4]
push 0x5b6b98
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040cb94
cmp word [ebx + 0xb2], 0
je 0x5b6a05
mov edx, ebx
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
mov eax, dword [ebx + 0xa0]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x5b6a19
lea esi, [ebp - 0xc]
jmp 0x5b6a1b
xor esi, esi
cmp dword [ebx + 0x90], 0
jne 0x5b6a28
xor edi, edi
jmp 0x5b6a35
mov eax, dword [ebx + 0x90]
call fcn.0040c8a8
mov edi, eax
mov eax, dword [ebx + 0x8c]
call fcn.0040c8a8
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.005b606c
mov eax, dword [ebp - 0x14]
call fcn.0040c8a8
push eax
push esi
mov eax, dword [ebx + 0x84]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 4]
call fcn.0040c8a8
push eax
mov eax, ebx
call fcn.005b61ac
push eax
mov eax, ebx
call fcn.005b6180
push eax
mov eax, ebx
call fcn.005b6134
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.005b5f10
mov eax, dword [ebp - 0x18]
call fcn.0040c8a8
push eax
mov eax, dword [ebx + 8]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xa0], eax
cmp dword [ebp - 0x10], 0
jne 0x5b6ac4
call fcn.00433a54
xor edx, edx
push ebp
push 0x5b6b3f
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x5b6b02
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xba], 0
je 0x5b6af8
mov edx, ebx
mov eax, dword [ebx + 0xbc]
call dword [ebx + 0xb8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b6b26
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b6b46
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
pop eax
jmp eax
Function at 0x5b6b9c
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xc2], 0
je 0x5b6bc8
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc4]
call dword [esi + 0xc0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040c8a8
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5b6bed
call fcn.00433a54
xor eax, eax
push ebp
push 0x5b6c26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x5b6c0d
call fcn.00433a54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b6c2d
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
pop eax
jmp eax

Function at 0x5b9e54
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.005baa08
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x5ba904
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x5ba949
lea eax, [ebp - 0x60]
call fcn.005b9e54
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.005b9e7c
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.005b9f4c
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x5ba94b
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x5ba974
movzx ebx, byte [esi]
xor bl, 0x36
mov byte [eax], bl
movzx ebx, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x5ba97a
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x5ba959
lea eax, [ebp - 0x60]
call fcn.005b9e54
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.005b9e7c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.005ba7f0
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.005b9f4c
lea eax, [ebp - 0x60]
call fcn.005b9e54
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.005b9e7c
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.005b9e7c
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.005b9f4c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5bc1f0
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x5bc204
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x5bc203
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
shl eax, 2
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.0040c4d4
xor ebx, ebx
cmp esi, dword [esp]
jge 0x5bc365
inc ebx
mov eax, edi
call fcn.0040bf80
movzx edx, byte [ebp + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + 0x6bbb8c]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x5bc31e
inc ebx
mov eax, edi
call fcn.0040bf80
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [ebp + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + 0x6bbb8c]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x5bc2ee
inc ebx
mov eax, edi
call fcn.0040bf80
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
shl edx, 2
movzx ecx, byte [ebp + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + 0x6bbb8c]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040bf80
movzx edx, byte [ebp + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + 0x6bbb8c]
mov byte [eax + ebx - 1], dl
jmp 0x5bc359
inc ebx
mov eax, edi
call fcn.0040bf80
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
shl edx, 2
movzx edx, byte [edx + 0x6bbb8c]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040bf80
mov byte [eax + ebx - 1], 0x3d
jmp 0x5bc359
inc ebx
mov eax, edi
call fcn.0040bf80
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + 0x6bbb8c]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040bf80
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.0040bf80
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x5bc237
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5bdbdc
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov byte [0x6c7fb4], 3
cmp bl, 3
je 0x5bdcd1
sub bl, 2
jae 0x5bdc1b
call fcn.00432500
cmp eax, 6
jl 0x5bdc1b
call fcn.005bdb48
cmp dword [0x6c7fb8], 0
je 0x5bdc1b
mov byte [0x6c7fb4], 1
jmp 0x5bdcd1
call fcn.005bdba0
cmp edx, 0
jne 0x5bdc28
cmp eax, 0
je 0x5bdcd1
push esp
call sub.kernel32.dll_QueryPerformanceCounter
cmp dword [esp + 4], 0
jne 0x5bdc3f
cmp dword [esp], 0
je 0x5bdcd1
mov byte [0x6c7fb4], 2
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
push 0
push 0x3e8
call fcn.005bdba0
call fcn.0040e7bc
push edx
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
call fcn.0040e7bc
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edx
push eax
call sub.kernel32.dll_GetTickCount
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [0x6c7fc8], eax
mov dword [0x6c7fcc], edx
cmp dword [0x6c7fcc], 0
jne 0x5bdcbb
cmp dword [0x6c7fc8], 0xdbba0
jbe 0x5bdcd1
jmp 0x5bdcbd
jle 0x5bdcd1
mov dword [0x6c7fc8], 0
mov dword [0x6c7fcc], 0
add esp, 0x10
pop ebx
ret
Function at 0x5bf69c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x6bbd1c
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x5bf6bb
mov esi, 1
mov edx, 0x6bbe24
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x5bf72f
dec ebx
je 0x5bf751
dec ebx
je 0x5bf773
dec ebx
je 0x5bf794
jmp 0x5bf7ae
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x5bf7ae
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x5bf7ae
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x5bf7ae
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x5bf71f
inc esi
add edx, 0x40
cmp esi, 9
jne 0x5bf6d7
mov esi, 0x20
mov eax, 0x6bbd4c
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x5bf7d3
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5bf810
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x6bbdd3]
test bl, bl
jbe 0x5bf841
lea eax, [esi + 0x3e0]
call fcn.005bf7ec
lea eax, [esi + 0x3fc]
call fcn.005bf7ec
dec bl
jne 0x5bf827
mov cl, 0x30
mov edi, 0x6bbda4
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x5bf862
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x5bf86f
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x5bf84b
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5bf87c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov bl, 1
lea esi, [ebp - 0x425]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.005bf634
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x5bf899
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x45]
movzx edx, byte [esi]
mov eax, dword [ebp - 0xc]
call fcn.005bf634
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005bf634
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x5bf8b6
mov bl, 1
lea esi, [ebp - 0x3a5]
mov ecx, esi
lea eax, [ebp - 0x425]
mov edx, ebx
call fcn.005bf810
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x5bf8e0
mov bl, 1
mov eax, 0x6bbc9c
lea edx, [ebp - 0xa5]
cmp bl, 0x20
ja 0x5bf919
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x426]
mov byte [edx], cl
jmp 0x5bf926
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x426]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x5bf905
mov byte [ebp - 0xd], 1
lea esi, [ebp - 0x3a5]
cmp byte [ebp + 8], 0
je 0x5bf950
lea ecx, [ebp - 0x65]
mov edx, esi
lea eax, [ebp - 0x85]
call fcn.005bf69c
jmp 0x5bf977
movzx eax, byte [ebp - 0xd]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d5]
lea ecx, [ebp - 0x65]
lea eax, [ebp - 0x85]
call fcn.005bf69c
mov bl, 0x20
lea eax, [ebp - 0xa5]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x5bf97f
push esi
lea esi, [ebp - 0x85]
lea edi, [ebp - 0xa5]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x65]
lea edi, [ebp - 0x85]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 0xd]
add esi, 0x30
cmp byte [ebp - 0xd], 0x11
jne 0x5bf938
mov bl, 0x40
mov esi, 0x6bbcdc
lea eax, [ebp - 0x3e5]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x5bf9e5
movzx edx, dl
movzx edx, byte [ebp + edx - 0x86]
mov byte [eax], dl
jmp 0x5bf9f2
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc6]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x5bf9ce
mov bl, 1
lea esi, [ebp - 0x3e5]
movzx ecx, byte [esi]
mov eax, dword [ebp - 8]
mov edx, ebx
call fcn.005bf65c
inc ebx
inc esi
cmp bl, 0x41
jne 0x5bfa00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5c3980
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [esp + 8], al
shl edx, 3
and dl, 0xff
movzx eax, byte [esi + 5]
shr eax, 5
or dl, al
mov byte [esp + 9], dl
movzx eax, byte [esi + 5]
shl eax, 2
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov ebp, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor esi, ecx
and esi, 1
inc edx
cmp edx, 8
jne 0x5c3a2d
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x5c3a28
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.0040c4d4
push 1
mov eax, edi
call fcn.0040bf80
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.005bf87c
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5df300
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x5df306
ret
Function at 0x5e64b8
Capabilities:
Allocate or change rwx memory
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [edx + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
lea ebx, [eax + 0x18]
movzx edx, word [eax + 0x14]
add ebx, edx
movzx edi, word [eax + 6]
dec edi
test edi, edi
jl 0x5e654c
inc edi
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
add eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
test edx, edx
jne 0x5e651f
mov esi, dword [esp + 8]
test esi, esi
jle 0x5e6546
push 0x40
push 0x1000
push esi
push eax
call sub.kernel32.dll_VirtualAlloc
mov ebp, eax
mov dword [ebx + 8], ebp
mov eax, ebp
xor ecx, ecx
mov edx, esi
call fcn.00408424
jmp 0x5e6546
mov esi, edx
push 0x40
push 0x1000
push esi
push eax
call sub.kernel32.dll_VirtualAlloc
mov ebp, eax
mov eax, dword [ebx + 0x14]
mov edx, dword [esp]
lea eax, [edx + eax]
mov edx, ebp
mov ecx, esi
call fcn.004078a0
mov dword [ebx + 8], ebp
add ebx, 0x28
dec edi
jne 0x5e64e6
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5e68d8
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, eax
xor esi, esi
mov ebx, dword [edi]
add ebx, 0xf8
mov eax, dword [edi]
movzx ebp, word [eax + 6]
dec ebp
test ebp, ebp
jl 0x5e69ba
inc ebp
xor edx, edx
mov eax, dword [ebx + 0x24]
mov ecx, eax
and ecx, 0x20000000
cmp ecx, 0x20000000
jne 0x5e6911
or edx, 0x10
mov ecx, eax
and ecx, 0x40000000
cmp ecx, 0x40000000
jne 0x5e6924
or edx, 2
mov ecx, eax
and ecx, 0x80000000
cmp ecx, 0x80000000
jne 0x5e6937
or edx, 8
mov ecx, eax
and ecx, 0x4000000
cmp ecx, 0x4000000
jne 0x5e694d
or edx, 0x200
and eax, 0x2000000
cmp eax, 0x2000000
jne 0x5e696f
push 0x4000
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 8]
or eax, esi
push eax
call sub.kernel32.dll_VirtualFree
jmp 0x5e69b3
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x5e699e
mov ecx, dword [ebx + 0x24]
and ecx, 0x40
cmp ecx, 0x40
jne 0x5e6988
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
jmp 0x5e699e
mov ecx, dword [ebx + 0x24]
and ecx, 0x80
cmp ecx, 0x80
jne 0x5e699e
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
test eax, eax
jle 0x5e69b0
push esp
push edx
push eax
mov eax, dword [ebx + 8]
or eax, esi
push eax
call sub.kernel32.dll_VirtualProtect
add ebx, 0x28
dec ebp
jne 0x5e68f9
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x600c8c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6c84e0], 0
jne 0x600ca3
call fcn.00600c48
mov eax, edi
dec eax
test eax, eax
jl 0x600ccb
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6c80e0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x600cad
mov eax, ebx
pop edi
pop esi
pop ebx
ret