joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57a3fc
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x6051a0
sub esp, 0x100
push ebx
push ebp
mov ebx, 1
xor ebp, ebp
cmp byte [0xb2dab6], bl
jne 0x6051c2
pop ebp
xor eax, eax
pop ebx
add esp, 0x100
ret
cmp dword [0xb280f0], ebx
push esi
push edi
mov byte [0xb2dab6], bl
je 0x6052d3
cmp dword [0xb2cba8], ebx
je 0x6052d3
cmp dword [0xb28108], ebp
je 0x6052d3
cmp dword [0xb280f8], ebp
jne 0x605206
cmp dword [0x8fd150], 0x108
jge 0x6052d3
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
cmp dword [0xb28110], esi
jne 0x60522e
mov eax, dword [0xb2810c]
push 0
push eax
call edi
test eax, eax
jne 0x605389
call fcn.0057b270
test eax, eax
jne 0x605389
cmp dword [0xb28100], ebp
je 0x605389
mov eax, dword [0xb28108]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 0xb28114
push 0x100
push eax
call edx
test eax, eax
je 0x605296
mov eax, dword [0xb28108]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
test eax, eax
jne 0x605389
mov eax, dword [0xb28108]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 0xb28114
push 0x100
push eax
call edx
test eax, eax
jne 0x605389
mov eax, dword [0xb2810c]
push 0
push eax
mov dword [0xb28110], esi
call edi
test eax, eax
jne 0x6052b7
mov ecx, dword [0xb2810c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov al, byte [esp + 0xb1]
mov byte [0xb2814a], al
jmp 0x605387
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x8fe344]
jne 0x605389
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [0xb28110], eax
je 0x605389
mov dword [0xb28110], eax
call fcn.0057b270
test eax, eax
jne 0x605389
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 0x100
push 0
push 0xb28114
call fcn.0057f8f2
add esp, 0xc
xor eax, eax
mov edx, 0x41
xor ecx, ecx
movzx ecx, word [ecx + 0x88279a]
movzx edx, dx
mov dl, byte [esp + edx + 0x10]
mov byte [ecx + 0xb28114], dl
add eax, ebx
lea ecx, [eax + eax*2]
movzx edx, word [ecx + ecx + 0x882798]
add ecx, ecx
cmp dx, 0xffff
jne 0x605331
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
mov dl, byte [esp + 0x14]
shr al, 7
shr cl, 7
shr dl, 7
mov byte [0xb2a220], al
mov byte [0xb2a221], cl
mov byte [0xb2a222], dl
mov dword [0xb2a21c], ebx
mov ebp, ebx
pop edi
pop esi
mov eax, ebp
pop ebp
mov byte [0xb2dab6], 0
pop ebx
add esp, 0x100
ret
Function at 0x57a91a
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x589510
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [0x8f2694]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x58956b
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
xor eax, eax
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
xor eax, eax
pop esi
ret

Function at 0x57ab5e
Capabilities:
Write file on windows

Disassembly:
jmp 0x6151e0
sub esp, 0x34
cmp dword [0xb5a430], 0
jne 0x6151f3
or eax, 0xffffffff
add esp, 0x34
ret
push 4
lea eax, [esp + 8]
push str.RIFF
push eax
mov word [esp + 0x24], 1
mov word [esp + 0x26], 2
mov dword [esp + 0x28], 0xac44
mov word [esp + 0x32], 0x10
mov word [esp + 0x30], 4
mov dword [esp + 0x2c], 0x2b110
mov word [esp + 0x34], 0
call fcn.0057bde2
movzx ecx, word [esp + 0x30]
imul ecx, dword [0xb5a434]
push 4
lea edx, [esp + 0x1c]
add ecx, 0x26
push 0x883490
push edx
mov dword [esp + 0x20], ecx
call fcn.0057bde2
push 4
lea eax, [esp + 0x2c]
push str.fmt
push eax
call fcn.0057bde2
push 4
lea ecx, [esp + 0x52]
push str.data
push ecx
mov dword [esp + 0x44], 0x12
call fcn.0057bde2
movzx edx, word [esp + 0x54]
imul edx, dword [0xb5a434]
mov eax, dword [0xb5a438]
add esp, 0x30
push 0
push 0
push 0
push eax
mov dword [esp + 0x3e], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [0xb5a438]
push 0
lea ecx, [esp + 4]
push ecx
push 0x2e
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [0xb5a438]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0xb5a438], 0
mov dword [0xb5a430], 0
xor eax, eax
add esp, 0x34
ret
Function at 0x57abb8
Capabilities:
Read file on windows

Disassembly:
jmp 0x58d210
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
jne 0x58d21d
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
cmp ecx, eax
jne 0x58d238
mov dword [esi + 0x10], 1
pop esi
xor eax, eax
pop ebp
ret
push ebx
mov ebx, dword [esp + 0x18]
mov edx, ebp
imul edx, ebx
add edx, ecx
cmp edx, eax
jbe 0x58d250
sub eax, ecx
xor edx, edx
div ebp
mov ebx, eax
test ebx, ebx
jne 0x58d261
mov dword [esi + 0x10], 1
pop ebx
pop esi
xor eax, eax
pop ebp
ret
cmp dword [esi + 4], 1
push edi
jne 0x58d2c8
mov eax, dword [esi + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x14]
mov edi, ebp
imul edi, ebx
push eax
mov dword [esi + 0x30], 2
mov dword [esi + 0x140], ecx
mov dword [esi + 0x144], edx
mov dword [esi + 0x148], edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi + 0xc], 0
jne 0x58d2bf
mov edx, dword [esi + 0x2c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
mov eax, 1
jmp 0x58d2e7
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov edi, ebp
imul edi, ebx
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x18]
add dword [esi + 0x14], edi
test eax, eax
pop edi
je 0x58d25b
pop ebx
mov eax, ecx
xor edx, edx
pop esi
div ebp
pop ebp
ret
Function at 0x57b257
Capabilities:
Create thread

Disassembly:
jmp 0x699a50
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x699aa0
mov eax, dword [esi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x57e321
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x80], eax
jne 0x699aa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x699aa0
and eax, 0xffff
pop esi
or eax, 0x80070000
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x57b92d
Capabilities:
Get system information on windows

Disassembly:
jmp 0x69ad70
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
test edi, edi
jne 0x69ad8e
pop edi
pop esi
pop ebp
mov eax, 0x80004003
pop ebx
add esp, 0x24
ret 0xc
mov esi, dword [esp + 0x38]
lea eax, [esi - 0xc]
test eax, eax
je 0x69ad9e
lea ebx, [esi + 4]
jmp 0x69ada0
xor ebx, ebx
push ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, edi
xor ecx, ecx
lea eax, [esp + 0x10]
mov dword [edx], ecx
push eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [ecx + 8]
test ebp, ebp
je 0x69ae78
mov eax, dword [esp + 0x2c]
lea edx, [ebp - 1]
test edx, eax
jne 0x69ae78
cmp dword [esi + 0x44], 1
jne 0x69adff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 0x8004020f
pop ebx
add esp, 0x24
ret 0xc
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x30]
cmp eax, edx
jge 0x69ae1f
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 0x80040210
pop ebx
add esp, 0x24
ret 0xc
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
add ebx, eax
mov eax, ebx
cdq
idiv ebp
test edx, edx
je 0x69ae34
sub ebp, edx
add ebx, ebp
mov edx, dword [ecx + 0xc]
mov eax, ebx
sub eax, edx
mov dword [esi + 0x34], eax
mov dword [edi + 4], eax
mov eax, dword [ecx]
mov dword [esi + 0x2c], eax
mov dword [edi], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x38], eax
mov dword [edi + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0x3c], ecx
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x40], 1
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 0x8004020e
pop ebx
add esp, 0x24
ret 0xc
Function at 0x57bff4
Capabilities:
Terminate process

Disassembly:
jmp 0x822b70
jmp fcn.0084eb70
cmp ecx, dword [0x8e32b8]
jne 0x822b7a
repz ret
jmp 0x57cb7a
Function at 0x57cb98
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x7b5c20
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x7b5c50
push esi
call fcn.0057bc7a
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x7b5c49
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x7b5cd3
mov eax, dword [esi + 0x1a0]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x7b5cbf
mov eax, dword [esi + 8]
test eax, eax
je 0x7b5c74
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1a0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x7b5cbb
cmp eax, 2
je 0x7b5cbf
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x7b5c67
cmp eax, 3
je 0x7b5c9a
cmp eax, 1
jne 0x7b5c67
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x7b5c67
mov edx, dword [esi + 0x120]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x7b5c67
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.007b5d40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x7b5cf3
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.007b5d40
add esp, 4
pop esi
ret
Function at 0x57d1ce
Capabilities:
Delete file

Disassembly:
jmp 0x61f140
push edi
xor edi, edi
cmp dword [0xb323b4], edi
jne 0x61f150
or eax, 0xffffffff
pop edi
ret
mov dword [0xb5a454], 1
call fcn.0057b270
test eax, eax
jne 0x61f187
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [ebx]
cmp dword [0xb5a454], 1
jne 0x61f186
push 2
call esi
call fcn.0057b270
test eax, eax
je 0x61f170
pop esi
call fcn.0057ab5e
push edi
call fcn.0057cc97
add esp, 4
call fcn.0057c6bb
call fcn.0057ab59
call fcn.0057e89e
push 0xb3226c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xb32390
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [0xb32408]
sub eax, edi
je 0x61f230
sub eax, 1
jne 0x61f23a
mov eax, dword [0xb323ac]
cmp eax, edi
je 0x61f200
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push edi
push edi
push edi
push edi
push eax
call edx
mov eax, dword [0xb323ac]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push eax
call edx
mov eax, dword [0xb323ac]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [0xb323ac], edi
mov eax, dword [0xb323a8]
cmp eax, edi
je 0x61f217
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [0xb323a8], edi
mov eax, dword [0xb323b0]
cmp eax, edi
je 0x61f23a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [0xb323b0], edi
jmp 0x61f23a
mov dword [0xb32400], 0xffffffff
mov eax, dword [0xb323b8]
cmp eax, edi
je 0x61f25e
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push eax
call edx
mov eax, dword [0xb323b8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [0xb323b8], edi
mov eax, dword [0xb32404]
cmp eax, edi
je 0x61f282
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push eax
call edx
mov eax, dword [0xb32404]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [0xb32404], edi
mov eax, dword [0xb323bc]
cmp eax, edi
je 0x61f299
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [0xb323bc], edi
mov eax, dword [0xb323b4]
cmp eax, 1
jbe 0x61f2ab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0x8840c8
mov dword [0xb323b4], edi
call fcn.0057a587
add esp, 4
xor eax, eax
pop edi
ret

Function at 0x57d3ef
Capabilities:
Read file on windows

Disassembly:
jmp 0x5dc2a0
mov eax, dword [esp + 0x10]
and eax, 0xfffffff
mov eax, dword [eax*4 + 0xb03fe8]
test eax, eax
jne 0x5dc2b8
or eax, 0xffffffff
ret
cmp dword [eax], 0
jne 0x5dc2c9
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
jmp fcn.0057abb8
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, esi
imul edx, dword [esp + 0x10]
push edx
push ecx
add eax, 0xc
push eax
call fcn.0057fb22
xor edx, edx
add esp, 0xc
div esi
pop esi
ret
Function at 0x57de67
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x5a4c70
cmp dword [0x90d9f0], 1
push ebx
push ebp
push esi
push edi
jne 0x5a4c97
xor eax, eax
cmp dword [0x90d9b4], 0x10
sete al
add eax, 0x16
push eax
call fcn.0057fc9e
add esp, 4
jmp 0x5a4cb0
xor ecx, ecx
cmp dword [0x90d9b4], 0x10
push 0
setne cl
push 0
push ecx
call fcn.0057d45d
add esp, 0xc
mov ebp, dword [esp + 0x14]
mov esi, eax
movzx ecx, byte [esi + 5]
mov eax, dword [esi + 0xc]
and eax, ebp
mov edi, 1
shl edi, cl
movzx ecx, byte [esi + 6]
mov ebx, 1
shl ebx, cl
movzx ecx, byte [esi + 8]
shr eax, cl
mov ecx, 1
mov edx, ecx
movzx ecx, byte [esi + 4]
imul eax, eax, 0xff
shl edx, cl
sub edi, 1
sub ebx, 1
sub edx, 1
mov ecx, edx
xor edx, edx
div ecx
mov edx, dword [esp + 0x18]
mov dword [edx], eax
movzx ecx, byte [esi + 9]
mov eax, dword [esi + 0x10]
and eax, ebp
shr eax, cl
xor edx, edx
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0xff
div edi
xor edx, edx
pop edi
mov dword [ecx], eax
mov eax, dword [esi + 0x14]
movzx ecx, byte [esi + 0xa]
and eax, ebp
shr eax, cl
pop esi
pop ebp
imul eax, eax, 0xff
div ebx
mov edx, dword [esp + 0x14]
pop ebx
mov dword [edx], eax
xor eax, eax
ret

Function at 0x57e1b9
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
jmp 0x589480
mov eax, dword [0x8f2694]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5894a2
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x5894a6
call dword [sym.imp.USER32.dll_CloseClipboard]
or eax, 0xffffffff
ret
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, dword [esp + 0xc]
test edi, edi
mov esi, eax
push esi
jne 0x5894d1
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
add esi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, esi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
xor eax, eax
pop esi
ret
Function at 0x57e470
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x5f8ae0
push ebx
push esi
mov esi, dword [esp + 0xc]
mov dl, byte [esi + 4]
mov bl, 8
cmp dl, bl
push edi
jne 0x5f8ba7
cmp byte [esi + 5], bl
jne 0x5f8ba7
cmp byte [esi + 6], bl
jne 0x5f8ba7
mov eax, dword [esp + 0x18]
test eax, eax
mov edi, dword [esp + 0x14]
je 0x5f8b1e
mov edx, dword [esi + 0xc]
mov cl, byte [esi + 8]
and edx, edi
shr edx, cl
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5f8b32
mov edx, dword [esi + 0x10]
mov cl, byte [esi + 9]
and edx, edi
shr edx, cl
mov dword [eax], edx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5f8b46
mov edx, dword [esi + 0x14]
mov cl, byte [esi + 0xa]
and edx, edi
shr edx, cl
mov dword [eax], edx
mov dl, byte [esi + 7]
test dl, dl
je 0x5f8c80
cmp dl, bl
jne 0x5f8b73
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5f8c80
mov edx, dword [esi + 0x18]
mov cl, byte [esi + 0xb]
and edx, edi
shr edx, cl
pop edi
pop esi
pop ebx
mov dword [eax], edx
xor eax, eax
ret
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x5f8c80
mov eax, dword [esi + 0x18]
mov cl, byte [esi + 0xb]
and eax, edi
shr eax, cl
mov cl, dl
mov esi, 1
shl esi, cl
imul eax, eax, 0xff
sub esi, 1
xor edx, edx
div esi
pop edi
pop esi
mov dword [ebx], eax
xor eax, eax
pop ebx
ret
movzx ecx, byte [esi + 5]
mov edi, 1
shl edi, cl
movzx ecx, byte [esi + 6]
mov ebx, 1
shl ebx, cl
movzx ecx, byte [esi + 7]
push ebp
mov ebp, 1
shl ebp, cl
sub edi, 1
sub ebx, 1
sub ebp, 1
cmp dword [esp + 0x1c], 0
je 0x5f8c0b
mov eax, dword [esi + 0xc]
and eax, dword [esp + 0x18]
mov cl, byte [esi + 8]
shr eax, cl
mov ecx, 1
mov dword [esp + 0x14], ecx
mov cl, dl
mov edx, dword [esp + 0x14]
imul eax, eax, 0xff
shl edx, cl
sub edx, 1
mov ecx, edx
xor edx, edx
div ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
cmp dword [esp + 0x20], 0
je 0x5f8c2e
mov eax, dword [esi + 0x10]
and eax, dword [esp + 0x18]
mov cl, byte [esi + 9]
shr eax, cl
xor edx, edx
imul eax, eax, 0xff
div edi
mov edx, dword [esp + 0x20]
mov dword [edx], eax
mov edi, dword [esp + 0x24]
test edi, edi
je 0x5f8c4e
mov eax, dword [esi + 0x14]
and eax, dword [esp + 0x18]
mov cl, byte [esi + 0xa]
shr eax, cl
xor edx, edx
imul eax, eax, 0xff
div ebx
mov dword [edi], eax
mov edi, dword [esp + 0x28]
test edi, edi
je 0x5f8c7f
cmp byte [esi + 7], 0
je 0x5f8c7b
mov eax, dword [esi + 0x18]
and eax, dword [esp + 0x18]
mov cl, byte [esi + 0xb]
shr eax, cl
xor edx, edx
imul eax, eax, 0xff
div ebp
pop ebp
mov dword [edi], eax
pop edi
pop esi
xor eax, eax
pop ebx
ret
xor eax, eax
mov dword [edi], eax
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x57ee34
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x5f8770
push ecx
mov edx, dword [esp + 8]
cmp word [edx + 2], 1
push esi
push edi
jne 0x5f88a2
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov esi, 0xffffff
mov dword [esp + 0x10], 0
lea ecx, [edx + 0x20]
mov dword [esp + 0x18], 2
movzx ebx, byte [ecx + 1]
sub ebx, dword [esp + 0x20]
movzx edx, byte [ecx]
movzx edi, byte [ecx + 2]
sub edi, dword [esp + 0x1c]
sub edx, ebp
imul edx, edx
mov eax, ebx
imul eax, ebx
add edx, eax
mov eax, edi
imul eax, edi
add edx, eax
cmp edx, esi
jae 0x5f87d7
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
mov dword [esp + 0x10], eax
mov esi, edx
movzx ebx, byte [ecx + 5]
sub ebx, dword [esp + 0x20]
movzx edx, byte [ecx + 4]
movzx edi, byte [ecx + 6]
sub edi, dword [esp + 0x1c]
sub edx, ebp
imul edx, edx
mov eax, ebx
imul eax, ebx
add edx, eax
mov eax, edi
imul eax, edi
add edx, eax
cmp edx, esi
jae 0x5f880f
mov eax, dword [esp + 0x18]
add eax, 0xffffffff
mov dword [esp + 0x10], eax
mov esi, edx
movzx ebx, byte [ecx + 9]
sub ebx, dword [esp + 0x20]
movzx edx, byte [ecx + 8]
movzx edi, byte [ecx + 0xa]
sub edi, dword [esp + 0x1c]
sub edx, ebp
imul edx, edx
mov eax, ebx
imul eax, ebx
add edx, eax
mov eax, edi
imul eax, edi
add edx, eax
cmp edx, esi
jae 0x5f8844
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov esi, edx
movzx ebx, byte [ecx + 0xd]
sub ebx, dword [esp + 0x20]
movzx edx, byte [ecx + 0xc]
movzx edi, byte [ecx + 0xe]
sub edi, dword [esp + 0x1c]
sub edx, ebp
imul edx, edx
mov eax, ebx
imul eax, ebx
add edx, eax
mov eax, edi
imul eax, edi
add edx, eax
cmp edx, esi
jae 0x5f887c
mov eax, dword [esp + 0x18]
add eax, 1
mov dword [esp + 0x10], eax
mov esi, edx
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
add eax, 0xfffffffe
add ecx, 0x10
cmp eax, 0x100
jl 0x5f87a0
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret
mov al, byte [edx + 7]
test al, al
je 0x5f88be
movzx esi, byte [esp + 0x20]
mov ecx, 8
sub cl, al
shr esi, cl
mov cl, byte [edx + 0xb]
shl esi, cl
jmp 0x5f88c0
xor esi, esi
movzx eax, byte [esp + 0x1c]
movzx edi, byte [esp + 0x18]
mov ecx, 8
sub cl, byte [edx + 6]
shr eax, cl
movzx ecx, byte [edx + 0xa]
shl eax, cl
mov ecx, 8
sub cl, byte [edx + 5]
shr edi, cl
movzx ecx, byte [edx + 9]
shl edi, cl
mov ecx, 8
sub cl, byte [edx + 4]
add eax, edi
movzx edi, byte [esp + 0x14]
shr edi, cl
movzx ecx, byte [edx + 8]
shl edi, cl
add eax, edi
add eax, dword [edx + 0x1c]
pop edi
add eax, esi
pop esi
pop ecx
ret
Function at 0x57f2f3
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x5f92a0
mov eax, dword [esp + 4]
movzx ecx, byte [eax + 7]
movzx edx, word [eax]
push esi
movzx esi, byte [eax + 6]
add ecx, esi
movzx esi, byte [eax + 5]
add ecx, esi
movzx esi, byte [eax + 4]
add ecx, esi
cmp ecx, edx
pop esi
je 0x5f9303
xor ecx, ecx
cmp edx, ecx
mov dword [eax + 0x1c], ecx
jle 0x5f92e5
lea esp, [esp]
mov edx, dword [eax + 0x1c]
add edx, edx
or edx, 1
mov dword [eax + 0x1c], edx
movzx edx, word [eax]
add ecx, 1
cmp ecx, edx
jl 0x5f92d0
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
not edx
not ecx
and ecx, edx
mov edx, dword [eax + 0x10]
not edx
and ecx, edx
mov edx, dword [eax + 0xc]
not edx
and ecx, edx
and dword [eax + 0x1c], ecx
ret
mov dword [eax + 0x1c], 0
ret

Function at 0x57f537
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7e4d00
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x7e4da0
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x7e4d52
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x890798]
xor eax, edx
inc esi
cmp esi, edi
jl 0x7e4d33
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x7e4d7b
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x890798]
xor eax, edx
inc esi
cmp esi, edi
jl 0x7e4d5e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret