joyce8/EMBER2024-capa huggingface dataset:
Function at 0x571b10
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x66c21c]
cmp byte [eax + 0xc], 0
je 0x571c7d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x571c76
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x77cdd0], 0
jne 0x571b64
push 0x571c84
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x571c8c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x77cdd0], eax
cmp dword [0x667cf4], 0
jne 0x571c5f
push 0x571c9c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x667cf4], eax
cmp dword [0x667cf4], 0
je 0x571c5f
push 0x571ca8
mov eax, dword [0x667cf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x77cdd4], eax
push 0x571cb8
mov eax, dword [0x667cf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x77cdd8], eax
push 0x571ccc
mov eax, dword [0x667cf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x77cddc], eax
push 0x571ce4
mov eax, dword [0x667cf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x77cde0], eax
push 0x571cfc
mov eax, dword [0x667cf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x77cde4], eax
push 0x571d10
mov eax, dword [0x667cf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x77cde8], eax
push 0x571d28
mov eax, dword [0x667cf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x77cdec], eax
push 0x571d40
mov eax, dword [0x667cf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x77cdf0], eax
push 0x571d5c
mov eax, dword [0x667cf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x77cdf4], eax
push 0x571d68
mov eax, dword [0x667cf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x77cdf8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x571c7d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x577ddc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x577dfd
test edi, 0x40000
je 0x577e17
test bl, bl
jne 0x577e98
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x577e98
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x577e4a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x577e5f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x577e6e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x577e7f
cmp byte [esp + 2], 0
je 0x577e98
cmp byte [esp + 2], 0
je 0x577e90
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x577e98
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x57813c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x578162
mov eax, esp
push eax
push 0x578104
call sub.user32.dll_EnumWindows
jmp 0x578175
mov eax, esp
push eax
push 0x5780e4
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x578200
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x578254]
test si, 4
je 0x578215
or bl, 1
test si, 8
je 0x57821f
or bl, 4
test si, 1
je 0x578229
or bl, 8
test si, 2
je 0x578233
or bl, 0x10
test si, 0x10
je 0x57823d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x57824c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x578258
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x578294]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x578272
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x578281
or bl, 4
test esi, 0x20000000
je 0x57828c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x58031c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x58032e
add esp, 0xfffffff0
call fcn.00405114
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004693fc
mov eax, dword [0x66b820]
mov dword [eax + 4], ebx
mov dword [eax], 0x5806c0
mov eax, dword [0x66b840]
mov dword [eax + 4], ebx
mov dword [eax], 0x5806cc
mov eax, ebx
call fcn.005806d8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x45ec70]
call fcn.00404db8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x45ec70]
call fcn.00404db8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x45ec70]
call fcn.00404db8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x45ec70]
call fcn.00404db8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x45ec70]
call fcn.00404db8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x57bb64
push eax
push 0
push 0
mov eax, dword [0x66bc08]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x50aba4]
call fcn.0050c498
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x50aba4]
call fcn.0050c498
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x50aba4]
call fcn.0050c498
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00580b50
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x580a20
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x580a20
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x580a20
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x58046b
call fcn.0040516c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x580804
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5809af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x580990
mov dl, 1
mov eax, dword [0x45f3cc]
call fcn.00404db8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405dd0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x58097f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00571e6c
test al, al
je 0x580972
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x5809c0
lea eax, [ebp - 0x254]
call fcn.0044b890
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x580972
xor eax, eax
push ebp
push 0x58096b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x5809f8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x580954
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00406040
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x580954
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00406040
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x580972
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x580875
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004649c8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5809b6
lea eax, [ebp - 0x260]
call fcn.00405dd0
ret

Function at 0x581328
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x77ce14]
cmp byte [eax + 0xad], 0
jne 0x581399
cmp dword [0x77ce30], 0
jne 0x58135a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x5812e4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x77ce30], eax
cmp dword [0x77ce2c], 0
jne 0x581375
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x77ce2c], eax
cmp dword [0x77ce34], 0
jne 0x581399
push esp
push 0
push 0
push 0x581288
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x77ce34], eax
pop edx
ret
Function at 0x58159c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x5815b3
add esp, 0xfffffff0
call fcn.00405114
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004693fc
mov eax, dword [0x66bbc0]
cmp word [eax + 2], 0
jne 0x5815db
mov eax, dword [0x66bbc0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005830bc
mov eax, dword [0x66bdf0]
cmp word [eax + 2], 0
jne 0x5815f5
mov eax, dword [0x66bdf0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005832c8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x45ec70]
call fcn.00404db8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x45ec70]
call fcn.00404db8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x45ec70]
call fcn.00404db8
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x50b754]
call fcn.00513830
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x5817ac
mov eax, dword [0x66b954]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00513c04
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x58398c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x66b954]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00450a4c
test eax, eax
je 0x5816fc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0044b0d4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00450a9c
test eax, eax
je 0x581710
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00406040
mov byte [ebx + 0xd4], 0
push ebx
push 0x582d70
call fcn.0046a578
mov dword [ebx + 0xc8], eax
mov eax, dword [0x66b578]
cmp byte [eax], 0
jne 0x581761
mov eax, ebx
call fcn.005818f0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00583ba0
mov eax, ebx
call fcn.00584704
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5817a1
call fcn.0040516c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x581b70
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x581c0f
cmp dword [ebx + 0x94], 0
jne 0x581c09
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x581af8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x581c09
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_GetWindowLongA
test al, 8
je 0x581bcf
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x581c09
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004614fc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x581bde
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x77ce14]
cmp dword [eax + 0x30], 0
je 0x581f85
test bl, bl
jne 0x581ed6
cmp dword [esi + 0x9c], 0
jne 0x581ecb
mov eax, esi
call fcn.00584580
push eax
push 0x581d54
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x581e9c
mov eax, dword [0x77ce14]
call fcn.00584c60
test al, al
je 0x581e9c
mov eax, dword [0x77ce38]
call fcn.0040763c
mov edi, eax
cmp edi, 0
jl 0x581e9c
push 0
mov eax, dword [0x77ce38]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x581e86
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x581ecb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004614fc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x581eab
inc dword [esi + 0x9c]
jmp 0x581f85
cmp dword [esi + 0x9c], 0
jle 0x581f85
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x581f85
cmp dword [esi + 0x44], 0
je 0x581f31
mov eax, dword [0x77ce14]
call fcn.00584c60
test al, al
je 0x581f31
mov eax, dword [0x77ce38]
call fcn.0040763c
mov edi, eax
cmp edi, 0
jl 0x581f31
push 5
mov eax, dword [0x77ce38]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x581f1b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x581f60
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004614fc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x581f40
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x77ce38
mov ecx, 1
mov edx, dword [0x581d34]
call fcn.004077f0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x582a6c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x582ad6
mov eax, ebx
call fcn.00584c60
test al, al
jne 0x582ad6
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405ec0
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x582ac3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x582ae3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405e24
jmp 0x582ae3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405e24
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x583d84
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x583df2
mov eax, esi
call fcn.0056ca54
test al, al
je 0x583df2
mov eax, dword [ebx + 0x84]
call fcn.0056c6b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x583df2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x583de6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0056c6b4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00564450
jmp 0x583df2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00583bc0
pop esi
pop ebx
ret

Function at 0x587ed4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x587f02
mov eax, ebx
call fcn.00588988
cmp dword [ebx + 0x40], 0
je 0x587efb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x587f73
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x587f65
cmp dword [ebx + 8], 0
je 0x587f24
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x587f36
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x587f65
cmp dword [ebx + 8], 0
je 0x587f17
cmp eax, 3
je 0x587f49
dec eax
jne 0x587f17
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x587f17
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x587f17
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x587f91
cmp dword [ebx + 0x14], 0xcc
je 0x587f91
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00587f9c
pop ebx
ret

Function at 0x59e86c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x77d6e4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x59e88e
shr eax, 1
xor eax, 0xedb88320
jmp 0x59e890
shr eax, 1
dec edx
jne 0x59e87c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x59e875
mov byte [0x77dae4], 1
pop esi
pop ebx
ret
Function at 0x59e8ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x77dae4], 0
jne 0x59e8c6
call fcn.0059e86c
mov eax, edi
dec eax
test eax, eax
jl 0x59e8ee
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x77d6e4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x59e8d0
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5a12e0
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 + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x5a137a.0
jmp dword [ecx*4 + 0x5a1313]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5a1345
sub dl, 8
je 0x5a1354
jmp case.0x5a137a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a0f8c
jmp case.0x5a137a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a0fe4
jmp case.0x5a137a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5a137a.0
movzx ecx, byte [ecx + 0x5a1381]
jmp dword [ecx*4 + 0x5a1392]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a1090
jmp case.0x5a137a.0
cmp dl, 3
jne 0x5a13bf
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a10e4
jmp case.0x5a137a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a10a0
jmp case.0x5a137a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a1128
jmp case.0x5a137a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5a13ea
sub dl, 8
je 0x5a13f6
jmp case.0x5a137a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a1154
jmp case.0x5a137a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a11c0
jmp case.0x5a137a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5a1415
sub dl, 8
je 0x5a1421
jmp case.0x5a137a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a127c
jmp case.0x5a137a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a12a4
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x5a14c5
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.005a0498
test eax, eax
je 0x5a14c5
mov eax, ebx
call fcn.005a14d0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
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 + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x5a145e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5a14d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5a1503
dec al
je 0x5a153e
dec al
je 0x5a1583
dec al
je 0x5a15f2
jmp 0x5a1681
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5a1681
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 0x5a1513
jmp 0x5a1681
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5a1681
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 0x5a154e
jmp 0x5a1681
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5a1681
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]
jae 0x5a15b3
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x5a15c7
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]
mov dword [ebp - 8], edx
add eax, dword [ebp - 8]
sar eax, 1
jns 0x5a15d1
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 0x5a1593
jmp 0x5a1681
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5a1681
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 0x5a164f
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]
mov dword [ebp - 8], 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 [ebp - 0xc], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [ebp - 4], edx
movzx ecx, byte [ebp - 0xc]
push eax
movzx eax, byte [ebp - 8]
pop edx
call fcn.0059e8f8
add al, byte [ebp - 4]
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 0x5a1608
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret