joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b92cf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x61f138]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 8]
mov dword [esi], vtable.CryptoPP::PKCS8PrivateKey.0
mov dword [esi + 4], vtable.CryptoPP::PKCS8PrivateKey.1.0
push 0x1c
mov eax, dword [eax + 4]
mov dword [eax + esi + 8], vtable.CryptoPP::PKCS8PrivateKey.2.0
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], vtable.CryptoPP::ByteQueue.1.0
mov dword [esi + 0x10], vtable.CryptoPP::ByteQueue.0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esi + 0x18], 1
mov dword [esi + 0x1c], 0x100
call fcn.0056eed3
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x1c]
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0xc], ecx
test ecx, ecx
jne 0x4733f0
xor eax, eax
jmp 0x4733f5
call fcn.004d4f00
mov dword [edi + 0x10], eax
mov eax, esi
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x478570
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.004fbe20
test bl, bl
je 0x478629
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x478629
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x18]
lea edi, [eax*2 + 2]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x478623
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x47861c
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push edi
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
call fcn.00586300
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47865f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478655
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47867b
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
int3
Function at 0x47c870
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba20b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x61f138]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], esi
mov dword [esi + 0xc], 0
mov dword [ebp - 0x10], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 2
mov dword [esi], vtable.CryptoPP::BaseN_Decoder.1.0
mov dword [esi + 4], vtable.CryptoPP::BaseN_Decoder.0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x47c916
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp - 0x10]
mov dword [esi + 0xc], 0
push 1
push eax
mov edx, str.DecodingLookupArray
lea ecx, [ebp - 0x24]
call fcn.0047d360
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 5
movzx eax, byte [ecx + 8]
push eax
lea eax, [ebp + 0xc]
push eax
push str.Log2Base
call fcn.00476200
push eax
mov ecx, esi
call fcn.004f0190
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x47c965
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x47c980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4720
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x61f138]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
sbb edx, edx
and edx, 0xfffffffc
mov edx, dword [edx + esi + 0x34]
call fcn.00466260
push ecx
call fcn.00591b7a
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x47c9d9
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x47c9ea
push 0x3c
push esi
call fcn.0056eec5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47d550
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba3db
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x3c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x47d75e
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jne 0x47d75e
mov esi, dword [ebp + 8]
mov eax, esi
push 0x80020003
or eax, 4
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x47d692
sub esp, 8
lea ecx, [ebp - 0xf0]
call fcn.00443510
mov dword [ebp - 4], 0
call edi
push eax
mov edx, str.Error_restarting_windows:
lea ecx, [ebp - 0xe0]
call fcn.00449a40
mov ecx, eax
call fcn.00456240
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xf0]
call fcn.004433d0
push 0x2e
mov edx, str.translatedata.cpp
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x24]
add esp, 4
cmp edx, 0x10
jb 0x47d682
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47d678
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d77c
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0xf0]
call fcn.0043aef0
jmp 0x47d75e
mov byte [ebx + 0xc], 0
test esi, esi
je 0x47d75e
push 0x6d1eec
mov dword [ebp - 0x40], 0x6d1eec
call fcn.0055d042
add esp, 4
test eax, eax
je 0x47d6bf
push eax
call fcn.0055ca85
add esp, 4
mov dword [ebp - 4], 2
mov esi, dword [0x6c4d94]
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x50]
add eax, ecx
test al, 3
jne 0x47d6ec
lea eax, [ecx + 4]
shr eax, 2
cmp dword [esi + 0x48], eax
ja 0x47d6ec
push ecx
lea ecx, [esi + 0x40]
call fcn.004520c0
mov eax, dword [esi + 0x48]
lea eax, [eax*4 - 1]
and dword [esi + 0x4c], eax
mov edi, dword [esi + 0x50]
add edi, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
mov eax, edi
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [esi + 0x44]
cmp dword [eax + ecx*4], 0
lea ebx, [ecx*4]
jne 0x47d72d
push 0x10
call fcn.0056eed3
mov ecx, dword [esi + 0x44]
add esp, 4
mov dword [ebx + ecx], eax
mov eax, dword [esi + 0x44]
mov eax, dword [ebx + eax]
and edi, 3
mov dword [eax + edi*4], 0x73
inc dword [esi + 0x50]
push 0x6d1eec
mov dword [ebp - 4], 3
call fcn.0055d067
add esp, 4
test eax, eax
je 0x47d75e
push eax
call fcn.0055ca85
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret 4
call fcn.00591dc6
int3
Function at 0x487340
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1c
mov eax, dword [0x61f138]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov esi, ecx
mov dword [0x6c4e14], 0
lea eax, [esp + 0xc]
push eax
push dword [esi + 0x10]
mov dword [esi], vtable.DialogMain.0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREAeroAdmin
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4873c3
mov ecx, dword [esp + 0x10]
movzx eax, word [esp + 0xc]
push 4
shl ecx, 0x10
or ecx, eax
lea eax, [esp + 0xc]
push eax
push 4
push 0
push str.windowPos
push dword [esp + 0x18]
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [0x6c4d9c]
movzx edx, byte [0x6c4e11]
test cl, cl
movzx eax, byte [0x6c4e12]
lea ecx, [esi + 0x108]
cmove edx, eax
mov dword [0x6aae80], 0xffffffff
mov byte [0x6c4e11], dl
call fcn.00445c30
mov ecx, dword [esi + 0xc4]
cmp ecx, 0x10
jb 0x487437
mov eax, dword [esi + 0xb0]
inc ecx
cmp ecx, 0x1000
jb 0x48742d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487471
mov eax, edx
push ecx
push eax
call fcn.0056eec5
add esp, 8
mov dword [esi + 0xc0], 0
lea ecx, [esi + 0x68]
mov dword [esi + 0xc4], 0xf
mov byte [esi + 0xb0], 0
call fcn.00445c30
mov ecx, esi
call fcn.00528720
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.0056eeb4
add esp, 0x1c
ret
call fcn.00591dc6
int3

Function at 0x487480
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb140
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call esi
test ax, ax
jns 0x487558
push 0x12
call esi
test ax, ax
jns 0x487558
push 0x7b
call esi
test ax, ax
je 0x487558
mov edx, dword [0x6c4e0c]
lea ecx, [ebp - 0x28]
call fcn.00436a50
sub esp, 0x18
mov dword [ebp - 4], 0
mov eax, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.005025a0
mov ecx, eax
call fcn.00456c80
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00441370
mov byte [ebp - 4], 0
call fcn.00525f80
mov edx, dword [ebp - 0x14]
add esp, 0x30
cmp edx, 8
jb 0x487554
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48754a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487576
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov al, 1
jmp 0x48755a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret 8
call fcn.00591dc6
int3
Function at 0x4885d0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb2fa
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x210], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [ebp - 0x1fc]
mov dword [ebp - 4], 0
push eax
push 0x202
mov dword [ebp - 0x210], 1
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x488774
push 0x40
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x488774
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x488774
mov ecx, dword [ebx + 0xc]
xor edi, edi
cmp dword [ecx], edi
je 0x488774
xor edx, edx
movsx eax, word [ebx + 0xa]
push eax
push dword [edx + ecx]
lea eax, [ebp - 0x208]
push eax
call fcn.00586300
add esp, 0xc
push dword [ebp - 0x208]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
lea ecx, [eax + 1]
mov dword [ebp - 0x214], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4886c7
sub eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x6c]
push eax
push edx
call fcn.004462c0
mov dword [ebp - 4], 1
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x48871f
mov eax, dword [ebp - 0x6c]
mov edx, 0xf
mov dword [ecx], eax
mov eax, dword [ebp - 0x68]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 0x14], eax
add dword [esi + 4], 0x18
mov byte [ebp - 0x6c], 0
jmp 0x48872e
lea eax, [ebp - 0x6c]
push eax
push ecx
mov ecx, esi
call fcn.0048b630
mov edx, dword [ebp - 0x58]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x48875f
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x488755
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48879a
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov ecx, dword [ebx + 0xc]
inc edi
lea edx, [edi*4]
cmp dword [edx + ecx], 0
jne 0x488687
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret 4
call fcn.00591dc6
int3
Function at 0x488b50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb028
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0051e130
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x488b8b
mov esi, dword [esi]
call fcn.004387d0
push str.mw_txt_yourID
push esi
mov ecx, eax
call fcn.00519610
mov edx, eax
mov dword [ebp - 0x1c], 0
mov ecx, edx
mov dword [ebp - 0x18], 7
xor eax, eax
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
jmp 0x488bc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488bc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00445cb0
push 2
push 0x5e4038
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00448340
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
mov eax, dword [edi + 0xdc]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.0051e130
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x488c19
mov esi, dword [esi]
call fcn.004387d0
push str.mw_txt_yourIP
push esi
mov ecx, eax
call fcn.00519610
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x488c30
sub edx, esi
lea ecx, [ebp - 0x2c]
sar edx, 1
push edx
push eax
call fcn.00445cb0
push 0
push 0x5e1af8
lea ecx, [ebp - 0x2c]
call fcn.00448340
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
mov eax, dword [edi + 0xe4]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi + 0xa8]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 8]
call esi
mov eax, dword [edi + 0xa0]
push 5
push dword [eax + 8]
call esi
mov edx, dword [ebp - 0x18]
mov byte [0x6c4dfa], 0
cmp edx, 8
jb 0x488cd0
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488cc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ced
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret 4
call fcn.00591dc6
int3
Function at 0x48bb00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
lea esp, [esp]
mov edi, dword [ecx]
mov eax, dword [edi]
cmp eax, 0x270
jne 0x48bb63
lea eax, [edi + 8]
mov esi, 0x270
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x48bb23
mov eax, dword [edi]
jmp 0x48bc45
cmp eax, 0x4e0
jb 0x48bc45
mov eax, dword [edi + 0x9c4]
lea ebx, [edi + 0x9c4]
mov ebp, 0xe3
nop
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x48bb80
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
lea ebx, [ebx]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x48bbd0
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
mov ecx, dword [esp + 0x10]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [ecx + 8]
ja 0x48bb10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x48bc90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, 0x270
jne 0x48bce0
lea edx, [edi + 8]
mov esi, eax
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x48bca2
mov eax, dword [edi]
jmp 0x48bdc7
cmp eax, 0x4e0
jb 0x48bdc7
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
push ebp
mov ebp, 0xe3
mov edi, edi
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x48bd00
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
lea ebx, [ebx]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x48bd50
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
pop ebx
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
ret
Function at 0x490400
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push 0
push 0
push 1
push 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [esp + 0x28]
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 4], edi
test edi, edi
jne 0x490456
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push 0x5e4408
push esi
lea ecx, [esp + 0x20]
call fcn.00436dd0
cmp dword [esp + 0x18], 0
jne 0x49051a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + 8], eax
mov dword [ebx + 8], eax
cmp dword [ebp + 8], 0
jne 0x490496
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push 0x5e4408
push esi
lea ecx, [esp + 0x20]
call fcn.00436dd0
cmp dword [esp + 0x18], 0
jne 0x490528
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0
push ebx
push 0x490550
push 0
push 0
call fcn.0059a43c
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
mov dword [ebp + 4], eax
test eax, eax
jne 0x490500
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x2c], eax
call dword [edx]
test edi, edi
je 0x4904dd
push edi
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x4904e7
push eax
call esi
push 0x5e4408
push dword [esp + 0x2c]
lea ecx, [esp + 0x20]
call fcn.00436dd0
cmp dword [esp + 0x18], 0
jne 0x490536
test edi, edi
je 0x490510
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov edx, str.thread.entry_event
lea ecx, [esp + 0x18]
call fcn.004389a0
mov edx, str.thread.exit_event
lea ecx, [esp + 0x18]
call fcn.004389a0
mov edx, str.thread
lea ecx, [esp + 0x18]
call fcn.004389a0
int3