joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bd790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push edi
mov edi, dword [ebp + 8]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push edi
call fcn.00613b38
add esp, 8
test eax, eax
jne 0x5bd7c1
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
lea edx, [ebp - 4]
mov word [eax], cx
push edx
mov dword [ebp - 4], ecx
call fcn.005bd660
add esp, 4
test eax, eax
je 0x5bd7ba
push esi
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x806]
push ecx
mov word [ebp - 0x808], ax
call fcn.006100a0
add esp, 0xc
lea edx, [ebp + 0xc]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.LANG
push edx
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x5bd848
xor eax, eax
movzx ecx, word [eax + str.English]
mov word [ebp + eax - 0x808], cx
add eax, 2
test cx, cx
jne 0x5bd831
lea eax, [edi - 2]
jmp 0x5bd850
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x5bd850
mov ecx, dword [str.LANGUAGES_]
mov dword [eax], ecx
mov edx, dword [0x676f90]
mov dword [eax + 4], edx
mov ecx, dword [0x676f94]
mov dword [eax + 8], ecx
mov edx, dword [0x676f98]
mov dword [eax + 0xc], edx
mov ecx, dword [0x676f9c]
mov dword [eax + 0x10], ecx
mov edx, dword [0x676fa0]
mov dword [eax + 0x14], edx
lea eax, [ebp - 0x808]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5bd8a0
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x5bd8b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x5bdc70
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [0x715b38]
test eax, eax
jne 0x5bdc7f
mov eax, 1
ret
mov ecx, dword [0x715b88]
cmp ecx, dword [eax + 0x4c]
je 0x5bdca0
push ecx
call fcn.005d0e30
add esp, 4
test eax, eax
jne 0x5bdd43
mov eax, dword [0x715b38]
mov cx, word [eax + 4]
mov word [0x715b80], cx
mov dl, byte [eax + 6]
mov byte [0x715b82], dl
mov ecx, dword [eax + 8]
mov dword [0x715b70], ecx
mov edx, dword [eax + 0xc]
mov dword [0x715b74], edx
mov ecx, dword [eax + 0x10]
mov dword [0x715b78], ecx
mov edx, dword [eax + 0x14]
mov dword [0x715b7c], edx
mov ecx, dword [eax + 0x18]
mov dword [0x715b5c], ecx
mov edx, dword [eax + 0x1c]
mov dword [0x715b60], edx
mov ecx, dword [eax + 0x20]
mov dword [0x715b64], ecx
mov edx, dword [eax + 0x24]
mov dword [0x715b68], edx
mov ecx, dword [eax + 0x28]
push esi
mov dword [0x715b6c], ecx
push edi
lea esi, [eax + 0x2c]
mov ecx, 8
mov edi, 0x715b3c
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x4c]
mov dword [0x715b88], edx
mov ecx, dword [eax + 0x50]
mov dword [0x715b84], ecx
mov edx, dword [eax]
dec dword [0x715b94]
push eax
mov dword [0x715b38], edx
call fcn.0060faf6
add esp, 4
pop edi
xor eax, eax
pop esi
ret
Function at 0x5be1d0
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 1
call fcn.0061b874
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add esp, 4
push 4
push ecx
mov dword [ebp - 0xc], eax
push edx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x20], 1
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
test esi, esi
je 0x5be25d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0061056f
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
push edx
call fcn.0061056f
add esp, 4
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5be2d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x26c
push esi
push edi
mov ecx, 0x16
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 4]
push eax
push 1
push 0
lea ecx, [ebp - 0x64]
push ecx
push edx
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5be315
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x26c]
push ecx
push 0
push 0
push str.SystemRoot
push edx
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x5be359
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x26c]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x5be366
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5be430
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6680d3
push eax
mov eax, 0x2f50
mov dword fs:[0], esp
call fcn.00612380
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
lea ecx, [ebp - 0x10]
call fcn.0040bea0
xor ebx, ebx
mov dword [ebp - 4], ebx
push esi
lea ecx, [ebp - 0x14]
call fcn.0040bdf0
mov byte [ebp - 4], 1
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5be4a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x5be4cf
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
movzx edx, byte [eax + 1]
movzx ecx, byte [eax]
movzx esi, byte [eax + 2]
movzx eax, byte [eax + 3]
push eax
push esi
push edx
push ecx
lea edx, [ebp - 0x10]
push 0x66ea44
push edx
call fcn.00405ab0
add esp, 0x18
lea ecx, [ebp - 0x2f5c]
call fcn.00412d10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x5be4f6
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401370
mov eax, dword [ebp - 0x10]
push 1
push eax
lea ecx, [ebp - 0x2f5c]
call fcn.0040e020
mov ecx, dword [ebp + 0xc]
test eax, eax
jne 0x5be54e
mov byte [ecx], 1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2f5c]
call fcn.00411820
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x5be53b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [ecx], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2f5c]
call fcn.00411820
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x5be57d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 0xe0000001
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5be5a0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1420
call fcn.00612380
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp esi, edi
jne 0x5be6af
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
lea edx, [ebp - 4]
push edx
push 0x1000
lea eax, [ebp - 0x1420]
push eax
call sub.PSAPI.DLL_EnumProcesses
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
cmp eax, edi
jle 0x5be6a7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + edi*4 - 0x1420]
push ecx
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x5be69c
lea edx, [ebp - 4]
push edx
push 4
lea eax, [ebp - 8]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
mov edx, dword [ebp - 8]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x5be699
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00611e0e
add esp, 8
test eax, eax
jne 0x5be699
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [ebp + edi*4 - 0x1420]
je 0x5be699
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
inc edi
cmp edi, dword [ebp - 0xc]
jl 0x5be616
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
push 0xbb8
push 2
push edi
push edi
push edi
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x5be6a7
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
push ecx
push edi
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5bffd0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
xor ebx, ebx
mov dword [ebp - 4], edi
cmp dword [esi], edi
je 0x5c0019
mov dword [ebp - 0x1c], 1
push 0x6e8364
lea eax, [ebp - 0x1c]
push eax
call fcn.0060fb01
lea ecx, [ebp - 0x18]
push ecx
push 0x682cd0
push 1
push edi
push 0x682cc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x5c0049
mov dword [ebp - 0x20], 2
push 0x6e8364
lea edx, [ebp - 0x20]
push edx
call fcn.0060fb01
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, edi
jge 0x5c0071
mov dword [ebp - 0x24], 3
push 0x6e8364
lea ecx, [ebp - 0x24]
push ecx
call fcn.0060fb01
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x1c]
call eax
cmp eax, edi
jge 0x5c0096
mov dword [ebp - 0x28], 4
push 0x6e8364
lea ecx, [ebp - 0x28]
push ecx
call fcn.0060fb01
mov dword [ebp - 4], 0xffffffff
jmp 0x5c00b7
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x5c00c6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x5c00d5
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c10a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
push esi
push 0
push 0x80
push 3
push 0
push 0
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5c10d1
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x14]
xor eax, eax
push edi
mov dword [ebx], 0
push edx
mov dword [ecx], eax
push eax
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.006100a0
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push 0
lea ecx, [ebp - 4]
push ecx
push 4
push ebx
push esi
call edi
mov eax, dword [ebp + 0x10]
push 0
lea edx, [ebp - 4]
push edx
push 4
push eax
push esi
call edi
mov edx, dword [ebp + 0x14]
push 0
lea ecx, [ebp - 4]
push ecx
push 8
push edx
push esi
call edi
mov ebx, dword [ebx]
push ebx
push 8
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
mov edx, dword [ebp - 8]
push 0
lea ecx, [ebp - 4]
push ecx
push edx
mov ebx, eax
push ebx
push esi
call edi
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
push eax
push ebx
lea ecx, [ebp - 8]
push ecx
push edx
call fcn.0063ea90
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x5c1198
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x18]
push eax
push ecx
push edx
call fcn.00610e50
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test edi, edi
pop edi
pop ebx
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5c11d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
push 0
push 0x80
push 3
push 0
push 0
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5c11ff
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
mov dword [edi], 0
mov dword [ecx], 0
push edx
mov dword [ebx], eax
push eax
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.006100a0
add esp, 0xc
push 0
lea ecx, [ebp - 4]
push ecx
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [ebp - 4]
push edx
push 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call ebx
mov eax, dword [edi]
mov ecx, dword [ebp + 0xc]
imul eax, eax, 0xc50
push 0
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 4]
push edx
push eax
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5c1480
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668449
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x21f]
mov dword [ebp - 0x14], ebx
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x220], bl
call fcn.006100a0
push 0x103
lea ecx, [ebp - 0x11b]
push ebx
push ecx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x11c], bl
call fcn.006100a0
add esp, 0x18
push ebx
push ebx
lea edx, [ebp - 0x18]
push edx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push 0x66f270
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x11c]
push str._8.8X
push eax
call fcn.00614a62
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x11c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
add esp, 0xc
mov byte [esi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5c1530
sub eax, edx
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, esi
call fcn.0041e350
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5c3130
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x5c313e
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push edx
call fcn.00614929
add esp, 0x10
pop ebp
ret 0xc

Function at 0x5c3160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x5c316e
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push edx
call fcn.006161f6
add esp, 0x10
pop ebp
ret 0xc

Function at 0x5cd8f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x5cd922
push esi
call fcn.005ce070
add esp, 4
cmp byte [esi + 0x40], 0
je 0x5cd91b
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5cd99e
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x5cd98d
mov eax, dword [esi + 8]
test eax, eax
je 0x5cd947
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x5cd988
cmp eax, 2
je 0x5cd98d
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5cd938
cmp eax, 3
je 0x5cd96f
cmp eax, 1
jne 0x5cd938
inc dword [ecx + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 8]
cmp ecx, dword [eax + 8]
jl 0x5cd938
mov ecx, dword [esi + 0x11c]
add dword [eax + 8], ecx
jmp 0x5cd938
xor al, al
pop esi
pop ebp
ret
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x84], edx
call fcn.005cd780
pop esi
pop ebp
ret
cmp eax, 0xcc
je 0x5cd9c0
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
call fcn.005cd780
pop esi
pop ebp
ret
Function at 0x5d6490
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x4c], 1
push esi
mov esi, dword [ebx + 0x1a8]
push edi
mov dword [ebp - 0x10], esi
jne 0x5d64b8
mov dword [ebp - 4], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x5d64c3
mov dword [ebp - 4], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push ebx
call eax
xor edi, edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 8], edi
cmp dword [ebx + 0x64], edi
jle 0x5d659f
jmp 0x5d64fe
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
mov ecx, dword [esi + edi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
je 0x5d651b
mov edx, dword [esi + 0x18]
add dword [edx + edi*4], 0xff
lea eax, [edx + edi*4]
mov eax, dword [esi + 0x18]
mov edi, dword [eax + edi*4]
dec ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x14], ecx
call fcn.005d6330
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x5d6547
mov ecx, dword [ebp - 0x14]
inc ebx
mov eax, ebx
call fcn.005d6330
mov ecx, eax
cmp esi, ecx
jg 0x5d6536
mov al, byte [ebp - 0xc]
imul bl
mov byte [esi + edi], al
inc esi
cmp esi, 0xff
jle 0x5d6532
cmp dword [ebp - 4], 0
je 0x5d658c
mov eax, 1
lea ecx, [edi - 1]
jmp 0x5d6570
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x5d6570
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ecx + 0x64]
jl 0x5d64f5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5df690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, edx
jb 0x5df709
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00610e50
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x5df6e0
sub eax, ebx
jmp 0x5df6e2
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x5df6d1
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x5df6ff
sub eax, ebx
jmp 0x5df701
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x5df6f0
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x5df7db
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, esi
add edx, dword [edi + 0x38]
mov esi, eax
push edx
call fcn.005df430
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x5df753
mov esi, dword [edi + 0x6c]
add esi, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx eax, byte [esi]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x5df767
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x5df695
mov eax, dword [edi + 0x16c0]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
jae 0x5df7db
mov esi, dword [edi + 0x6c]
add esi, edx
cmp eax, esi
jae 0x5df7aa
sub ecx, esi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x5df78e
mov ebx, 0x102
mov ecx, dword [edi + 0x38]
push ebx
add ecx, esi
push 0
push ecx
call fcn.006100a0
add esp, 0xc
add ebx, esi
pop esi
mov dword [edi + 0x16c0], ebx
pop ebx
ret
lea edx, [esi + 0x102]
cmp eax, edx
jae 0x5df7db
sub esi, eax
add esi, 0x102
sub ecx, eax
cmp esi, ecx
jbe 0x5df7c4
mov esi, ecx
mov ecx, dword [edi + 0x38]
push esi
add ecx, eax
push 0
push ecx
call fcn.006100a0
add esp, 0xc
add dword [edi + 0x16c0], esi
pop esi
pop ebx
ret