joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4114e6
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push 0xf003f
push 0
push 0x47504c
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x41152b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x411530
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push 0xf003f
push 0
push 0x47504c
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
test edi, edi
jne 0x41157f
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebp
ret

Function at 0x41165e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push edi
push eax
xor edi, edi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
je 0x41172f
lea eax, [esi + 1]
push eax
call fcn.0044164d
mov ebx, eax
pop ecx
cmp ebx, edi
mov dword [ebp - 4], ebx
je 0x411741
push ebx
push esi
push edi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x411725
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 0x46f1bc
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x411725
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
mov eax, esi
shr eax, 0x10
push eax
push 0x46f948
push dword [ebp + 0xc]
call fcn.00420a7c
mov ebx, 0xffff
mov edi, 0x46f940
and esi, ebx
push esi
push dword [ebp + 0xc]
push edi
push dword [ebp + 0xc]
call fcn.00420a7c
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
mov eax, esi
shr eax, 0x10
push eax
push dword [ebp + 0xc]
push edi
push dword [ebp + 0xc]
call fcn.00420a7c
and esi, ebx
push esi
push dword [ebp + 0xc]
push 0x46f938
push dword [ebp + 0xc]
call fcn.00420a7c
xor edi, edi
add esp, 0x3c
inc edi
push dword [ebp - 4]
call fcn.00441676
jmp 0x411740
push 0x47504c
push dword [ebp + 0xc]
call fcn.00420a7c
xor edi, edi
pop ecx
inc edi
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411748
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
mov esi, 0x104
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.004227f7
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
jne 0x411777
mov dword [ebp - 4], 7
jmp 0x41182b
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x411792
mov dword [ebp + 8], ebx
jmp 0x411798
push esi
call edi
mov dword [ebp + 8], eax
cmp dword [ebp + 0xc], ebx
je 0x41180a
push esi
call fcn.00420c20
push eax
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.004226d0
push esi
call fcn.00420c20
push dword [ebp + 0xc]
mov byte [ebp + eax - 0x10c], bl
lea eax, [ebp - 0x10c]
push eax
call fcn.00420b40
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x10c]
add esp, 0x1c
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x10]
push eax
mov dword [eax], 0x3c
mov dword [eax + 4], 0x40
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp eax, ebx
jne 0x411817
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], 0x77
cmp dword [ebp + 8], ebx
je 0x411821
push dword [ebp - 8]
call edi
push dword [ebp - 8]
call fcn.00421d1e
pop ecx
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret

Function at 0x42611b
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4615d8
push 0x4299c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
mov eax, dword [fcn.004260ba]
test eax, eax
je 0x426163
mov dword [ebp - 4], 1
call eax
jmp 0x42615f
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
call 0x42616c
jmp fcn.004260ba
Function at 0x42a8f8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x473800
cmp edx, dword [eax]
je 0x42a91a
add eax, 8
inc ecx
cmp eax, 0x473890
jl 0x42a90b
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x473800]
jne 0x42aa48
mov eax, dword [0x477d54]
cmp eax, 1
je 0x42aa22
test eax, eax
jne 0x42a94b
cmp dword [0x470db4], 1
je 0x42aa22
cmp edx, 0xfc
je 0x42aa48
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42a982
lea eax, [ebp - 0x1a4]
push 0x461a18
push eax
call main
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00420c20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42a9c5
lea eax, [ebp - 0x1a4]
push eax
call fcn.00420c20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x461a14
push edi
call fcn.004226d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4619f8
push eax
call main
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00420b40
lea eax, [ebp - 0xa0]
push 0x4619f4
push eax
call fcn.00420b40
push dword [esi + 0x473804]
lea eax, [ebp - 0xa0]
push eax
call fcn.00420b40
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4619cc
push eax
call fcn.0042e19f
add esp, 0x2c
pop edi
jmp 0x42aa48
lea eax, [ebp + 8]
lea esi, [esi + 0x473804]
push 0
push eax
push dword [esi]
call fcn.00420c20
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 0x43e570
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00420fe0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43e63b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x43e63b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43e5ee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x43e5f9
or bh, 8
and edi, 0x8000000
je 0x43e614
mov eax, dword [0x47965c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x43e63b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ea10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x43ea3b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x43ea5f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x43ea7a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4440f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x444132
call fcn.004514b2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x444132
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x444129
xor eax, eax
jmp 0x44413a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00444140
pop edi
pop esi
pop ebx
ret 4

Function at 0x44f1f2
Capabilities:
Create http request

Disassembly:
mov eax, 0x4586f4
call fcn.00420870
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], 0x45f69c
jne 0x44f21f
call fcn.004514b2
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x44f244
push eax
push dword [esi + 4]
call fcn.0044ff4b
jmp 0x44f250
push esi
push eax
mov ecx, 0x477830
call fcn.0044f261
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x44f3dd
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x45872f
call fcn.00420870
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00445fd4
mov eax, dword [0x47018c]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x45f6b4
mov ecx, 0x477830
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0044f261
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00444beb
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00419441
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00444b9b
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00444a62
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x451b2c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x451b5a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x451b78
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00451a92
jmp 0x451b78
mov eax, dword [esi + 0x14]
test eax, eax
je 0x451b78
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00451a92
test edi, edi
mov eax, edi
jne 0x451b62
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x55db70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x57e924], 0xe1d
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x55dbb1
jmp 0x55dbbc
mov eax, dword [ebp - 0x18]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x57e928], 0x9d8
mov dword [0x57e924], 0x74a
mov ecx, dword fs:[0x18]
mov dword [0x57e928], 0x1704
mov dword [0x57e924], 0x1bee
mov eax, dword [ecx + 0x30]
mov dword [0x57e928], 0x13ab
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x57e924], 0xb65
cmp eax, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
je 0x55dd93
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x21], cl
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
jmp 0x55dc34
mov eax, dword [ebp - 0x28]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov edi, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
jne 0x55dc6a
jmp 0x55dc8e
mov eax, dword [ebp - 0x3c]
mov dword [0x57e924], 0x2594
mov dword [0x57e928], 0x21f0
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x55dbb1
mov eax, dword [ebp - 0x30]
mov cx, word [eax]
mov word [ebp - 0x3e], cx
mov eax, 0x1516
mov cx, word [ebp - 0x3e]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], eax
je 0x55dd68
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x55dcc0
mov eax, dword [ebp - 0x4c]
mov ecx, eax
add ecx, 1
mov edx, dword [ebp - 0x34]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x56], si
mov word [ebp - 0x58], bx
jb 0x55dcff
mov ax, word [ebp - 0x56]
mov word [ebp - 0x58], ax
mov ax, word [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x44]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x59], bl
jne 0x55dcc0
mov al, byte [ebp - 0x59]
mov ecx, 0x1c56
test al, 1
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x48], ecx
jne 0x55dd49
jmp 0x55dd68
mov eax, dword [ebp - 0x60]
mov dword [0x57e928], 0x1e9d
mov dword [0x57e924], 0x1cd
mov dword [ebp - 0x18], eax
jmp 0x55dbb1
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x1c]
cmp edx, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x64], eax
jne 0x55dc34
mov eax, dword [ebp - 0x64]
mov dword [0x57e924], eax
mov dword [0x57e928], 0x1e9d
mov dword [0x57e924], 0x1d37
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x55dbb1
Function at 0x55ddb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [0x57e924], 0x1b1e
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [0x57e928], 0x26bb
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x55de1b
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x55ddee
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x55decb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x55decb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x55decb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x55decb
mov dword [0x57e928], 0xcb4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x55decb
mov dword [0x57e928], 0x1ac7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x55decb
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff9
mov dword [0x57e924], 0xfffffca7
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2], 0x6c
jne 0x55decb
mov eax, 1
mov dword [0x57e924], 0xffffe8ea
mov dword [ebp - 0x24], eax
jmp 0x55dedc
mov dword [0x57e928], 0x888
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x55dedc
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x55df90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x57e930], 0
mov byte [0x57e934], 0
mov dword [0x57e924], 0xd7
mov dword [0x57e92c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x55dfe8
mov dword [0x57e92c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x55e01f
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x57e928]
add eax, 0xfffff809
mov dword [0x57e924], eax
mov eax, dword [0x57e92c]
add eax, 1
mov dword [0x57e92c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x55dfe8
jmp 0x55dfd7
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x57e938], 0
mov dword [0x57e928], 0x69c
mov edx, dword [0x57e930]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x57e938], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x57e930], edx
mov dword [0x57e924], 0x1aca
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x57e934], cl
mov dword [0x57e924], 0x24a1
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x57e934]
mov edx, dword [0x57e930]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x57e924], 0x17ba
mov edx, dword [0x57e92c]
add edx, 1
mov dword [0x57e92c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x55e01f
mov dword [0x57e924], 0x19d
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x55ebc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x57e92c], 0
mov dword [0x57e930], 0
mov dword [0x57e93c], 0
mov dword [0x57e928], 0x1f51
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jne 0x55ec22
mov dword [0x57e928], 0x17fb
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x55ec33
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x57e924], 0xe18
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x57e92c], edx
mov dword [0x57e928], 0x9fe
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x57e930], edx
mov dword [0x57e924], 0xfffff931
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x57e934], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x57e928], 0x26b8
mov cl, byte [0x57e934]
mov edx, dword [0x57e930]
mov byte [edi + edx], cl
mov edx, dword [0x57e928]
mov ebx, edx
add ebx, 0x2ee
mov dword [0x57e924], ebx
mov ebx, dword [0x57e92c]
movzx ebx, byte [edi + ebx]
mov ecx, dword [0x57e930]
movzx ecx, byte [edi + ecx]
add ecx, ebx
mov dword [0x57e924], 0x1bba
and ecx, 0xff
mov dword [0x57e93c], ecx
mov cl, byte [edi + ecx]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov ch, byte [ebx + esi]
mov bl, cl
add bl, byte [0x57e941]
mov byte [0x57e940], bl
mov byte [0x57e941], ch
mov byte [0x57e942], cl
xor ch, cl
add edx, 0x1245
mov dword [0x57e924], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [0x57e924]
add edx, 0xc87
mov dword [0x57e924], edx
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x38], esi
je 0x55ed76
mov eax, dword [0x57e92c]
mov ecx, dword [0x57e930]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x55ec33
jmp 0x55ec10