joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4343d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8f6b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5392a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00434460
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp + 0x18]
mov byte [ecx + 0x30], dl
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x31], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4345e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f82db
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5392a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], 1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], 0
lea ecx, [ebp - 0xd]
call fcn.0040b800
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.004148f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x436390
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 8]
call fcn.0041a550
push 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x4363b8
xor eax, eax
jmp 0x436445
mov eax, dword [ebp - 4]
shl eax, 2
push eax
call fcn.00448e99
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4363d4
xor eax, eax
jmp 0x436445
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4363f7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
jge 0x436431
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4]
and ecx, 0xffff
movzx edx, cx
push edx
mov ecx, 0x598eec
call fcn.00419620
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00419bc0
jmp 0x4363ee
mov edx, dword [ebp - 8]
push edx
call fcn.00448dbc
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.00420000
mov esp, ebp
pop ebp
ret
Function at 0x4383f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6f28
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
lea ecx, [ebp - 0x20]
call fcn.00419540
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00419460
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x438481
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x230], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00419520
mov eax, dword [ebp - 0x230]
jmp 0x438520
mov dword [ebp - 0x10], 0x100
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4384ee
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004383f0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4384e5
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x234], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00419520
mov eax, dword [ebp - 0x234]
jmp 0x438520
mov dword [ebp - 0x10], 0x100
jmp 0x438488
lea ecx, [ebp - 0x20]
call fcn.004194d0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.00438360
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00419520
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 4

Function at 0x43cc30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x43cc44
xor eax, eax
jmp 0x43cc5f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044c47b
add esp, 0x10
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43cfc0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 4], 0
je 0x43cfec
mov al, 1
jmp 0x43d092
lea ecx, [ebp - 0x418]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0044ac48
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x41c]
mov dword [edx + 4], eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0x41c]
cmp dword [ecx + 4], 0
je 0x43d082
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x41c]
mov edx, dword [eax + 0xc]
call edx
movzx eax, al
test eax, eax
je 0x43d082
mov dword [ebp - 0x420], 1
jmp 0x43d08c
mov dword [ebp - 0x420], 0
mov al, byte [ebp - 0x420]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 4

Function at 0x440990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8d9b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5392a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00440a20
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp + 0x18]
mov byte [ecx + 0x30], dl
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x31], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x442020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x416d00
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
push 0
call fcn.0044b0f6
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov esp, ebp
pop ebp
ret
Function at 0x442b50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x442b59
xor ecx, ecx
jne 0x442b59
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x442b7a
mov eax, 0xd
jmp 0x442bd5
xor eax, eax
jne 0x442b61
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x442b8b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x44862b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x594540], 0
push esi
jne 0x44859e
call fcn.004484c4
test eax, eax
je 0x4485e1
mov eax, dword [0x594540]
cmp eax, 1
jne 0x4485bf
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4485e1
pop esi
ret
push eax
call dword [0x594548]
test eax, eax
jne 0x448629
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4485e5
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x594540]
call dword [0x594548]
mov edi, eax
test edi, edi
je 0x44860a
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x448626
mov edi, esi
add esi, 0xff0
push edi
push dword [0x594540]
call dword [0x594544]
add edi, 0x10
cmp edi, esi
jb 0x448612
mov eax, edi
pop edi
pop esi
ret
jmp 0x44858b

Function at 0x4489b2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5392a4]
jne 0x4489bc
repz ret
jmp fcn.00450097

Function at 0x44b8dd
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x44b90e
call fcn.0044dc13
mov dword [eax], esi
call fcn.0044dc00
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0044e9d5
add esp, 0x14
or eax, 0xffffffff
jmp 0x44b949
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44b92b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044dc26
pop ecx
jmp 0x44b909
test byte [ebp + 0xc], 0x80
je 0x44b936
and eax, 0xfffffffe
jmp 0x44b939
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x44b91c
xor eax, eax
pop esi
pop ebp
ret

Function at 0x44df38
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x44df69
call fcn.0044dc13
mov dword [eax], esi
call fcn.0044dc00
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0044e9d5
add esp, 0x14
push 0x16
pop eax
jmp 0x44dfbe
test dword [ebp + 0xc], 0xfffffff9
jne 0x44df45
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44df96
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044dc26
pop ecx
call fcn.0044dc00
mov eax, dword [eax]
jmp 0x44dfbe
test al, 0x10
jne 0x44dfbc
test al, 1
je 0x44dfbc
test byte [ebp + 0xc], 2
je 0x44dfbc
call fcn.0044dc13
mov dword [eax], 5
call fcn.0044dc00
mov dword [eax], 0xd
jmp 0x44df8d
xor eax, eax
pop esi
pop ebp
ret
Function at 0x45e45d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045179b
and dword [ebp - 4], 0
cmp dword [0x5950bc], 0
mov ebx, eax
jne 0x45e50e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45e5bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45e5bf
push eax
call fcn.00451729
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5950bc], eax
call esi
push eax
call fcn.00451729
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5950c0], eax
call esi
push eax
call fcn.00451729
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5950c4], eax
call esi
push eax
call fcn.00451729
pop ecx
mov dword [0x5950cc], eax
test eax, eax
je 0x45e50e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00451729
pop ecx
mov dword [0x5950c8], eax
mov eax, dword [0x5950c8]
cmp eax, ebx
je 0x45e566
cmp dword [0x5950cc], ebx
je 0x45e566
push eax
call fcn.004517a4
push dword [0x5950cc]
mov esi, eax
call fcn.004517a4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45e566
test edi, edi
je 0x45e566
call esi
test eax, eax
je 0x45e55d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45e55d
test byte [ebp - 0xc], 1
jne 0x45e566
or dword [ebp + 0x10], 0x200000
jmp 0x45e59f
mov eax, dword [0x5950c0]
cmp eax, ebx
je 0x45e59f
push eax
call fcn.004517a4
pop ecx
test eax, eax
je 0x45e59f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45e59f
mov eax, dword [0x5950c4]
cmp eax, ebx
je 0x45e59f
push eax
call fcn.004517a4
pop ecx
test eax, eax
je 0x45e59f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5950bc]
call fcn.004517a4
pop ecx
test eax, eax
je 0x45e5bf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45e5c1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x465aa0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
pop ebp
ret
Function at 0x4691e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov ax, word [edx + eax*2]
mov word [ebp - 0x10], ax
movzx ecx, word [ebp + 0x10]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
movzx eax, word [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
movzx ecx, word [ecx]
add eax, ecx
cmp edx, eax
jge 0x46923f
mov edx, dword [ebp + 8]
mov ax, word [edx]
add ax, 1
mov ecx, dword [ebp + 8]
mov word [ecx], ax
mov edx, dword [ebp + 8]
movzx eax, word [edx]
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + eax*2], cx
jmp 0x469208
mov eax, dword [ebp + 0x14]
mov cx, word [eax]
mov word [ebp - 8], cx
jmp 0x469257
mov dx, word [ebp - 8]
sub dx, 1
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
test eax, eax
je 0x4692de
movzx ecx, word [ebp - 8]
mov edx, dword [ebp + 0x14]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov ax, word [edx + eax*2]
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
cmp ecx, 0x7fff
je 0x4692d9
movzx edx, word [ebp - 0x10]
movzx eax, word [ebp - 4]
add eax, edx
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
cmp ecx, 0x7fff
jb 0x4692ad
movzx edx, word [ebp - 4]
sub edx, 0x7fff
mov dword [ebp - 0x18], edx
jmp 0x4692b4
movzx eax, word [ebp - 4]
mov dword [ebp - 0x18], eax
movzx ecx, word [ebp - 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x18]
movzx eax, word [eax + edx*2]
mov edx, dword [ebp - 0xc]
movzx ecx, word [edx + ecx*2]
xor ecx, eax
movzx edx, word [ebp - 8]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], cx
jmp 0x46924b
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test edx, edx
je 0x46930b
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx*2]
test eax, eax
jne 0x46930b
mov ecx, dword [ebp + 8]
mov dx, word [ecx]
sub dx, 1
mov eax, dword [ebp + 8]
mov word [eax], dx
jmp 0x4692de
mov esp, ebp
pop ebp
ret 0x10
Function at 0x469740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x469762
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x469762
xor eax, eax
jmp 0x4698be
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
je 0x469774
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x469786
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
jne 0x469790
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
je 0x469790
mov eax, 2
jmp 0x4698be
push 0x10000
call fcn.00448e99
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jne 0x4697b6
mov eax, 1
jmp 0x4698be
push 0x10000
call fcn.00448e99
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
jne 0x4697f5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call fcn.00448dbc
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, 1
jmp 0x4698be
mov eax, 0x8003
mov word [ebp - 8], ax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov eax, 1
mov word [edx], ax
mov ecx, 1
mov word [ebp - 4], cx
jmp 0x469823
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
movzx eax, word [ebp - 4]
cmp eax, 0x8000
jae 0x469871
movzx ecx, word [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
movzx ecx, word [eax + ecx*2 - 2]
shl ecx, 1
mov word [ebp - 0xc], cx
movzx edx, word [ebp - 0xc]
and edx, 0x8000
je 0x46985d
movzx eax, word [ebp - 8]
movzx ecx, word [ebp - 0xc]
xor ecx, eax
mov word [ebp - 0xc], cx
movzx edx, word [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov ax, word [ebp - 0xc]
mov word [ecx + edx*2], ax
jmp 0x469817
xor ecx, ecx
mov word [ebp - 4], cx
jmp 0x469885
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
movzx eax, word [ebp - 4]
cmp eax, 0x7fff
jae 0x4698ae
movzx ecx, word [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
movzx ecx, word [eax + ecx*2]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dx, word [ebp - 4]
mov word [eax + ecx*2], dx
jmp 0x469879
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov edx, 0x7fff
mov word [ecx], dx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x469df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x469f64
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
test eax, eax
je 0x469f64
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx]
mov dword [ebp - 0x40], edx
jmp 0x469e33
mov eax, dword [ebp - 0x40]
sub eax, 1
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x469e57
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + 0x10]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x40]
mov dx, word [edx + eax*2]
mov word [ebp + ecx*2 - 0x38], dx
jmp 0x469e2a
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.004696a0
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
mov dword [ebp - 8], edx
jmp 0x469e77
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x469f40
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 8]
mov ax, word [edx + eax*2]
mov word [ebp - 0x3c], ax
movzx ecx, word [ebp - 0x3c]
cmp ecx, 0x7fff
je 0x469f3b
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
mov dword [ebp - 0x40], eax
jmp 0x469ebd
mov ecx, dword [ebp - 0x40]
sub ecx, 1
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x469f3b
mov edx, dword [ebp - 0x40]
mov ax, word [ebp + edx*2 - 0x38]
mov word [ebp - 0xc], ax
movzx ecx, word [ebp - 0xc]
cmp ecx, 0x7fff
je 0x469f36
movzx edx, word [ebp - 0x3c]
movzx eax, word [ebp - 0xc]
add edx, eax
mov word [ebp - 4], dx
movzx ecx, word [ebp - 4]
cmp ecx, 0x7fff
jb 0x469f04
movzx edx, word [ebp - 4]
sub edx, 0x7fff
mov dword [ebp - 0x48], edx
jmp 0x469f0b
movzx eax, word [ebp - 4]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x48]
movzx eax, word [eax + edx*2]
mov edx, dword [ebp + 8]
movzx ecx, word [edx + ecx*2 - 2]
xor ecx, eax
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov word [eax + edx*2 - 2], cx
jmp 0x469eb4
jmp 0x469e6e
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax]
lea edx, [edx + ecx - 1]
mov eax, dword [ebp + 8]
mov word [eax], dx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.004693e0
jmp 0x469f6c
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax], dx
xor ecx, ecx
mov word [ebp - 0xc], cx
mov dx, word [ebp - 0xc]
mov word [ebp - 0x3c], dx
mov ax, word [ebp - 0x3c]
mov word [ebp - 4], ax
push 0x26
push 0
lea ecx, [ebp - 0x38]
push ecx
call fcn.0044aec0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46a5d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.00456a90
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, 1
test eax, eax
je 0x46a690
cmp dword [ebp + 0x14], 0x4000
jl 0x46a606
mov dword [ebp - 8], 0x4000
jmp 0x46a60c
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x14]
sub edx, dword [ebp - 8]
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
lea edx, [ebp - 0x4010]
push edx
call fcn.0044df1b
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x46a63b
jmp 0x46a690
mov dword [ebp - 0x4014], 0
jmp 0x46a656
mov ecx, dword [ebp - 0x4014]
add ecx, 1
mov dword [ebp - 0x4014], ecx
mov edx, dword [ebp - 0x4014]
cmp edx, dword [ebp + 0x10]
jae 0x46a683
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x4010]
push ecx
mov edx, dword [ebp - 0x4014]
imul edx, edx, 0x5c
add edx, dword [ebp + 8]
push edx
call fcn.004681b0
add esp, 0xc
jmp 0x46a647
cmp dword [ebp + 0x14], 0
jg 0x46a68b
jmp 0x46a690
jmp 0x46a5e7
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044bc7a
add esp, 0xc
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret

Function at 0x46a6b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x400c
call fcn.00456a90
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, 1
test eax, eax
je 0x46a74d
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4000
push 1
lea edx, [ebp - 0x4008]
push edx
call fcn.0044df1b
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46a6f5
jmp 0x46a74d
mov dword [ebp - 0x400c], 0
jmp 0x46a710
mov eax, dword [ebp - 0x400c]
add eax, 1
mov dword [ebp - 0x400c], eax
mov ecx, dword [ebp - 0x400c]
cmp ecx, dword [ebp + 0x10]
jae 0x46a73d
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x4008]
push eax
mov ecx, dword [ebp - 0x400c]
imul ecx, ecx, 0x5c
add ecx, dword [ebp + 8]
push ecx
call fcn.004681b0
add esp, 0xc
jmp 0x46a701
cmp dword [ebp - 4], 0x4000
jae 0x46a748
jmp 0x46a74d
jmp 0x46a6c7
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.0044bc7a
add esp, 0xc
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret