joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aef0
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp + 4]
lea ecx, [esp]
push ebx
push ebp
push esi
push edi
push eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str..kwb
push 0x80000000
call ebp
test eax, eax
jne 0x40b03f
mov edi, str.Seegle_kwb
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
push str.Seegle_kwb
push 1
push eax
push eax
push edx
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call ebx
test edi, edi
jne 0x40b03f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push edi
push 0x20006
push edi
push edi
push edi
push str.Seegle_kwbDefaultIcon
push 0x80000000
call ebp
test eax, eax
jne 0x40b03f
push 0x41fef4
lea eax, [esp + 0x1c]
push str._ssgdraw.exe_0
push eax
call fcn.00411870
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push eax
push eax
push edx
call esi
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call ebx
test edi, edi
jne 0x40b03f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push edi
push 0x20006
push edi
push edi
push edi
push str.Seegle_kwbShellOpenCommand
push 0x80000000
call ebp
test eax, eax
jne 0x40b03f
push 0x41fef4
lea eax, [esp + 0x1c]
push str._ssgdraw.exe___1
push eax
call fcn.00411870
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push eax
push eax
push edx
call esi
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call ebx
test esi, esi
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 0x10c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret
Function at 0x40b050
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp + 4]
lea ecx, [esp]
push ebx
push ebp
push esi
push edi
push eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str..vot
push 0x80000000
call ebp
test eax, eax
jne 0x40b19f
mov edi, str.Seegle_vote
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
push str.Seegle_vote
push 1
push eax
push eax
push edx
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call ebx
test edi, edi
jne 0x40b19f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push edi
push 0x20006
push edi
push edi
push edi
push str.Seegle_voteDefaultIcon
push 0x80000000
call ebp
test eax, eax
jne 0x40b19f
push 0x41fef4
lea eax, [esp + 0x1c]
push str._ssgvoteedit.exe_0
push eax
call fcn.00411870
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push eax
push eax
push edx
call esi
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call ebx
test edi, edi
jne 0x40b19f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push edi
push 0x20006
push edi
push edi
push edi
push str.Seegle_voteShellOpenCommand
push 0x80000000
call ebp
test eax, eax
jne 0x40b19f
push 0x41fef4
lea eax, [esp + 0x1c]
push str._ssgvoteedit.exe___1
push eax
call fcn.00411870
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push eax
push eax
push edx
call esi
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call ebx
test esi, esi
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 0x10c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret
Function at 0x40b250
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
sub esp, 0x784
lea eax, [esp + 0x54]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x54]
push 0x5c
push ecx
call fcn.00411b40
add esp, 8
test eax, eax
jne 0x40b284
xor al, al
add esp, 0x784
ret
push esi
mov esi, eax
lea edx, [esp + 0x58]
lea eax, [esp + 0x58]
sub esi, edx
lea ecx, [esp + 0x15c]
push esi
push eax
push ecx
call fcn.00411970
add esp, 0xc
lea edx, [esp + 0x260]
mov byte [esp + esi + 0x15c], 0
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x364]
lea ecx, [esp + 0x260]
push eax
push 0
push 0x41c898
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea edx, [esp + 0x364]
push 0
lea eax, [esp + 0x5c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
pop esi
jne 0x40b2fe
xor al, al
add esp, 0x784
ret
lea ecx, [esp + 0x158]
push edi
lea edx, [esp + 0x364]
push ecx
push edx
lea eax, [esp + 0x470]
push str._s___s_
push eax
call fcn.00411870
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x24]
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x264]
push edx
push eax
push 0
push 0
push 1
push 0
lea ecx, [esp + 0x484]
push 0
push ecx
push 0
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
pop edi
add esp, 0x784
ret
Function at 0x40bd30
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10c
test eax, eax
je 0x40be84
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_s
push edx
call fcn.00411870
add esp, 0x10
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40be5e
mov ecx, dword [0x41fed4]
push 0x14a
push 0x42237c
push 0x88
push ecx
call ebx
lea edx, [esp + 0x18]
push edx
push 0x42237c
push 0x4224c8
call fcn.00411870
mov eax, dword [0x422614]
add esp, 0xc
push 0x4224c8
push eax
call ebp
mov ecx, dword [0x42261c]
push 0x4224c8
push 0
push 0x180
push ecx
call esi
mov edx, dword [0x42261c]
push 0
push 0
push 0x18b
push edx
call esi
mov edx, dword [0x42261c]
mov edi, eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 1
push edx
call dword [sym.imp.USER32.dll_GetScrollRange]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x42261c]
push 1
push eax
push 1
push ecx
call dword [sym.imp.USER32.dll_SetScrollPos]
mov edx, dword [0x42261c]
dec edi
push 0
push edi
push 0x197
push edx
call esi
mov eax, dword [0x422620]
push 0
push 0
push 0x408
push eax
call esi
mov ecx, dword [0x422620]
inc eax
push 0
push eax
push 0x402
push ecx
call esi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x124]
mov eax, dword [edx + 0x64]
test eax, eax
mov dword [esp + 0x124], eax
jne 0x40bd58
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret
xor al, al
add esp, 0x10c
ret

Function at 0x40be90
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x348
lea eax, [esp + 0x244]
push ebp
mov ebp, dword [esp + 0x350]
push esi
push edi
push ebp
push str._s.
push eax
mov esi, 1
call fcn.00411870
add esp, 0xc
lea ecx, [esp + 0xc]
lea edx, [esp + 0x250]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40bf34
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp byte [esp + 0x3c], 0x2e
je 0x40bf1c
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x150]
push eax
push ebp
push str._s_s
push ecx
call fcn.00411870
mov al, byte [esp + 0x20]
add esp, 0x10
test al, 0x10
je 0x40bf1a
lea edx, [esp + 0x150]
push edx
call fcn.0040be90
add esp, 4
mov esi, eax
jmp 0x40bf1c
xor esi, esi
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
jne 0x40bedc
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
pop ebx
je 0x40bf45
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebp
add esp, 0x348
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x348
ret
Function at 0x40c400
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push esi
push 0x41fbe0
push str.Software_s
push eax
mov bl, 1
call fcn.00411870
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x80000002
call esi
test eax, eax
je 0x40c439
xor bl, bl
push 0x41fbe0
lea edx, [esp + 0xc]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_s
push edx
call fcn.00411870
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x80000002
call esi
test eax, eax
je 0x40c462
xor bl, bl
call fcn.0040c4a0
test al, al
jne 0x40c46d
xor bl, bl
call fcn.0040c4e0
test al, al
jne 0x40c478
xor bl, bl
call fcn.0040c520
test al, al
jne 0x40c48a
pop esi
pop ebx
add esp, 0x104
ret
mov al, bl
pop esi
pop ebx
add esp, 0x104
ret

Function at 0x40c4a0
Capabilities:
Delete registry key

Disassembly:
push ebx
push str..smv
push 0x80000000
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x40c4b9
xor bl, bl
push str.Seegle_smv
push 0x80000000
call fcn.00402c60
add esp, 8
test al, al
jne 0x40c4d1
pop ebx
ret
mov al, bl
pop ebx
ret

Function at 0x40c4e0
Capabilities:
Delete registry key

Disassembly:
push ebx
push str..kwb
push 0x80000000
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x40c4f9
xor bl, bl
push str.Seegle_kwb
push 0x80000000
call fcn.00402c60
add esp, 8
test al, al
jne 0x40c511
pop ebx
ret
mov al, bl
pop ebx
ret

Function at 0x40c520
Capabilities:
Delete registry key

Disassembly:
push ebx
push str..vot
push 0x80000000
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x40c539
xor bl, bl
push str.Seegle_vote
push 0x80000000
call fcn.00402c60
add esp, 8
test al, al
jne 0x40c551
pop ebx
ret
mov al, bl
pop ebx
ret
Function at 0x411920
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411940
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004133fb
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x411961
test byte [esp + 8], 2
je 0x411961
mov dword [0x4228c4], 0xd
mov dword [0x4228c8], 5
jmp 0x41193c
xor eax, eax
ret

Function at 0x415a75
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41e4c8
cmp edx, dword [eax]
je 0x415a97
add eax, 8
inc ecx
cmp eax, 0x41e558
jl 0x415a88
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41e4c8]
jne 0x415bc5
mov eax, dword [0x422918]
cmp eax, 1
je 0x415b9f
test eax, eax
jne 0x415ac8
cmp dword [0x41dcf4], 1
je 0x415b9f
cmp edx, 0xfc
je 0x415bc5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x415aff
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004163b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004147d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x415b42
lea eax, [ebp - 0x1a4]
push eax
call fcn.004147d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41a7f4
push edi
call fcn.00411970
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004163b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004163c0
lea eax, [ebp - 0xa0]
push 0x41a7d4
push eax
call fcn.004163c0
push dword [esi + 0x41e4cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004163c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004172dd
add esp, 0x2c
pop edi
jmp 0x415bc5
lea eax, [ebp + 8]
lea esi, [esi + 0x41e4cc]
push 0
push eax
push dword [esi]
call fcn.004147d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4010e0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.KeyboardSpy.Defend.InstanceMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x40110a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40110e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
ret
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401130
push 0x258
call esi
jmp 0x401114

Function at 0x401130
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
sub esp, 0x260
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
push 0x40
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x20], 0
call fcn.00401290
add esp, 0xc
xor eax, eax
push str.KeyboardSpy.Deamon.InstanceMutex
push eax
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x40119d
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00401279
add esp, 0x260
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4011cc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00401279
add esp, 0x260
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
lea ecx, [esp + 0x160]
push ecx
call fcn.00401060
add esp, 4
test eax, eax
je 0x4011fb
lea edx, [esp + 0x5c]
push edx
call section..text
add esp, 4
test eax, eax
jne 0x401214
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00401279
add esp, 0x260
ret
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x64]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x184]
push eax
mov dword [esp + 0x40], 0x44
mov word [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
je 0x401260
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call edi
mov ecx, dword [esp + 0x264]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401279
add esp, 0x260
ret

Function at 0x401279
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401283
repz ret
jmp fcn.0040152f
Function at 0x403661
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004024ca
xor ebx, ebx
cmp dword [0x40b5fc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x403736
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4036a1
xor eax, eax
jmp 0x4037fa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40369a
push eax
call fcn.00402467
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b5fc], eax
call esi
push eax
call fcn.00402467
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b600], eax
call esi
push eax
call fcn.00402467
mov dword [0x40b604], eax
lea eax, [ebp - 8]
push eax
call fcn.004017d6
test eax, eax
pop ecx
pop ecx
je 0x403704
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402f50
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x403736
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402467
cmp eax, ebx
pop ecx
mov dword [0x40b60c], eax
je 0x403736
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402467
pop ecx
mov dword [0x40b608], eax
mov eax, dword [0x40b608]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4037af
cmp dword [0x40b60c], esi
je 0x4037af
push eax
call fcn.004024d3
pop ecx
call eax
cmp eax, ebx
je 0x40377c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40b60c]
call fcn.004024d3
pop ecx
call eax
test eax, eax
je 0x40377c
test byte [ebp - 0x18], 1
jne 0x4037af
lea eax, [ebp - 0xc]
push eax
call fcn.0040180d
test eax, eax
pop ecx
je 0x403797
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402f50
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4037a6
or dword [ebp + 0x10], 0x200000
jmp 0x4037e0
or dword [ebp + 0x10], 0x40000
jmp 0x4037e0
mov eax, dword [0x40b600]
cmp eax, esi
je 0x4037e0
push eax
call fcn.004024d3
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4037e0
mov eax, dword [0x40b604]
cmp eax, esi
je 0x4037e0
push dword [ebp - 4]
push eax
call fcn.004024d3
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40b5fc]
call fcn.004024d3
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xd8ed4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0xd8ee4
xor eax, eax
jmp 0xd90bb
cmp dword [0xadaeb0], 0
je 0xd8ef2
call fcn.000d90bf
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0xd9073
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xae0398]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xae0398]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xae0398]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xae0398]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xae0398]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xae0398]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xae0398]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xae0398]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0xd8efb
cmp dword [ebp + 0x10], 0
je 0xd90b5
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0xae0398]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0xd9079
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret 0xc
Function at 0xdac83
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x400]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x404]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
test edx, edx
je 0xdad3f
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x14]
and edx, 0xff
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov al, byte [eax]
xor al, byte [ecx + edx*4]
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
jmp 0xdaca7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x400], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x404], eax
mov esp, ebp
pop ebp
ret