joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4127cd
Capabilities:
Set registry value

Disassembly:
mov eax, 0x416382
call fcn.00414060
sub esp, 0x64
mov eax, dword [0x422a68]
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
xor esi, esi
push esi
push 0x20006
push esi
push esi
push esi
push dword [0x4229a0]
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
je 0x412824
push eax
push dword [0x4229a0]
push str.Could_not_create_the_registry_key_HKEY_LOCAL_MACHINE_s._Error__d_n
call fcn.0041100f
add esp, 0xc
jmp 0x4128c2
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
push str..._lib_deploy_jqs_ff
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.004014ff
push esi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 1
call fcn.0040b402
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.0040b307
add esp, 0x14
push esi
push 1
lea ecx, [ebp - 0x70]
call fcn.004010eb
push esi
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.004010eb
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x412883
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
inc ecx
push ecx
push eax
push 2
push esi
push 0x41d07c
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, esi
je 0x4128ab
push eax
push str.Could_not_add_Firefox_extensions_directory._Error__d_n
call fcn.004112c3
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x2c]
push 1
call fcn.004010eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00411545
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.00414165
leave
ret
Function at 0x4128d7
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
mov dword [ebp - 8], eax
jne 0x412907
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_uninstall_service:_OpenSCManager_failed__error__d__n
call fcn.004112c3
pop ecx
pop ecx
xor al, al
leave
ret
push edi
push 0xf01ff
push str.JavaQuickStarterService
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
mov dword [ebp - 4], edi
jne 0x41295c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x412942
push 0x41d61c
push str._s_service_does_not_exist_n
call fcn.004112c3
pop ecx
pop ecx
jmp 0x412955
push eax
push 0x41d64c
push str.Could_not_open__s_service:_OpenService_failed__error__d__n
call fcn.004112c3
add esp, 0xc
xor al, al
jmp 0x4129ed
push esi
lea eax, [ebp - 0x24]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4129a1
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
mov ebx, 0x3e8
push ebx
call esi
lea eax, [ebp - 0x24]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x41299a
cmp dword [ebp - 0x20], 3
jne 0x4129a0
push ebx
call esi
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x41298a
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x4129cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x41d69c
push str.Unable_to_remove__s_service:_DeleteService_failed__error__d__n
call fcn.004112c3
add esp, 0xc
xor al, al
jmp 0x4129ec
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 4]
call esi
call fcn.00411486
call fcn.00412721
call fcn.00412207
mov al, 1
pop esi
pop edi
leave
ret
Function at 0x412f7f
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x422a68]
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x412fb1
push eax
push str.Unable_to_initialize_socket_library__error__d_n
call fcn.004112c3
pop ecx
pop ecx
mov ecx, dword [esp + 0x190]
call fcn.00414165
add esp, 0x194
ret

Function at 0x413121
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
mov eax, 0x4163f8
call fcn.00414060
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
mov dword [esi], 0x41d944
call fcn.00413003
and dword [ebp - 4], 0
push 6
push 1
push 2
mov byte [esi + 0x14], 0
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x413179
push str.socket___failed
lea ecx, [ebp - 0x30]
call fcn.00413a53
push 0x420598
lea eax, [ebp - 0x30]
push eax
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [ebp - 0xc]
mov dword [esi + 8], bind
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41327e
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x10
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4132cb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x274d
lea ecx, [ebp - 0x20]
jne 0x4132b3
call fcn.00413886
push 0x42073c
jmp 0x4132c2
push str.connect___failed
call fcn.00413a53
push 0x420598
lea eax, [ebp - 0x20]
push eax
call sub.MSVCR71.dll__CxxThrowException
leave
ret 4

Function at 0x413310
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, esi
cdq
mov edi, 0x3e8
idiv edi
sub esi, 0x7fffffff
imul edx, edx, 0x3e8
mov dword [ebp - 8], eax
neg esi
sbb esi, esi
lea eax, [ebp - 8]
and esi, eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 8]
mov ecx, eax
xor edi, edi
inc edi
dec ecx
neg ecx
sbb ecx, ecx
mov dword [ebp - 4], edx
push esi
not ecx
lea edx, [ebp - 0x12c]
and ecx, edx
neg eax
push 0
push ecx
sbb eax, eax
not eax
mov ecx, edx
and eax, ecx
push eax
push edi
mov dword [ebp - 0x12c], edi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x41339b
test eax, eax
je 0x41338c
cmp eax, edi
jne 0x41339b
xor ecx, ecx
cmp eax, edi
sete cl
pop edi
mov al, cl
pop esi
leave
ret 8
push str.select___failed
lea ecx, [ebp - 0x28]
call fcn.00413a53
push 0x420598
lea eax, [ebp - 0x28]
push eax
call sub.MSVCR71.dll__CxxThrowException
int3

Function at 0x413b4e
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0
mov esi, ecx
push esi
push 0x413add
push 0
push 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 4], eax
pop esi
jne 0x413b94
call dword [sym.imp.MSVCR71.dll__errno]
push dword [eax]
call dword [sym.imp.MSVCR71.dll_strerror]
push eax
push str.Unable_to_start_thread:__s_n
call fcn.0041100f
add esp, 0xc
xor al, al
pop ecx
ret
mov al, 1
pop ecx
ret
Function at 0x403bb4
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
call fcn.00404220
mov dword [ebp - 4], eax
push 9
push 9
push 9
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CImageList::Create
push 0x89
mov ecx, dword [ebp - 4]
jmp loc.004224a9

Function at 0x404370
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0
jmp loc.00422a1c

Function at 0x404837
Capabilities:
Get disk information
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40be70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0x40f78c
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x4048fc
mov eax, dword [ebp - 0x18]
and eax, 1
test eax, eax
je 0x4048e9
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040b85c
mov edx, dword [ebp - 0x14]
add edx, 0x41
push edx
push 0
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::SetAt
mov eax, dword [ebp + 8]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea edx, [ebp - 0x20]
push edx
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
call fcn.00404927
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4048e9
jmp loc.00422b56
mov ecx, dword [ebp - 0x18]
shr ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x40488c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040b856
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040b856
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x404927
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40be83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404190
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x18], eax
push 0
lea ecx, [ebp + 8]
call fcn.004058c0
movsx eax, al
sub eax, 0x41
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
sub edx, 2
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 4
ja 0x404aab
mov eax, dword [ebp - 0x28]
jmp loc.00422533
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b856
mov eax, dword [ebp - 0x1c]
jmp 0x404adf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x404daf
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp + 8]
call fcn.00404150
cmp eax, 3
jne 0x404dd2
mov eax, 1
jmp 0x404e2b
mov dword [ebp - 0x148], 0
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404190
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
je 0x404e25
mov ecx, dword [ebp - 0x140]
and ecx, 0x10
test ecx, ecx
je 0x404e18
jmp 0x422d78
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x148]
mov esp, ebp
pop ebp
ret 4

Function at 0x404e31
Capabilities:
Get disk information
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
call fcn.00404190
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
je fcn.00404e5d
cmp dword [ebp - 4], 5
je fcn.00404e5d
jmp loc.00422cfd

Function at 0x404e63
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx

Function at 0x404f0c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40bf26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x160], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
push 0x40f7a4
push 1
lea ecx, [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x18c], eax
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x190], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x190]
push eax
call fcn.004058e0
mov byte [ebp - 0x170], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.0040b856
mov ecx, dword [ebp - 0x170]
and ecx, 0xff
test ecx, ecx
je fcn.00404fb7
push 0x40f7a8
lea ecx, [ebp - 0x10]
jmp loc.00422060
Function at 0x4059b0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x1102
jmp loc.004226e8
Function at 0x101b1f7d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101c6de8]
jne 0x101b1f87
repz ret
jmp fcn.101b4897

Function at 0x101b522f
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.101b0c8b
and dword [ebp - 4], 0
cmp dword [0x101c871c], 0
mov ebx, eax
jne 0x101b52e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101b5391
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101b5391
push eax
call fcn.101b0c19
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101c871c], eax
call esi
push eax
call fcn.101b0c19
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101c8720], eax
call esi
push eax
call fcn.101b0c19
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101c8724], eax
call esi
push eax
call fcn.101b0c19
pop ecx
mov dword [0x101c872c], eax
test eax, eax
je 0x101b52e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101b0c19
pop ecx
mov dword [0x101c8728], eax
mov eax, dword [0x101c8728]
cmp eax, ebx
je 0x101b5338
cmp dword [0x101c872c], ebx
je 0x101b5338
push eax
call fcn.101b0c94
push dword [0x101c872c]
mov esi, eax
call fcn.101b0c94
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101b5338
test edi, edi
je 0x101b5338
call esi
test eax, eax
je 0x101b532f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101b532f
test byte [ebp - 0xc], 1
jne 0x101b5338
or dword [ebp + 0x10], 0x200000
jmp 0x101b5371
mov eax, dword [0x101c8720]
cmp eax, ebx
je 0x101b5371
push eax
call fcn.101b0c94
pop ecx
test eax, eax
je 0x101b5371
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101b5371
mov eax, dword [0x101c8724]
cmp eax, ebx
je 0x101b5371
push eax
call fcn.101b0c94
pop ecx
test eax, eax
je 0x101b5371
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101c871c]
call fcn.101b0c94
pop ecx
test eax, eax
je 0x101b5391
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101b5393
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101b636d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001075
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x101b642e
jmp 0x101b64e8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x101b63cf
jmp 0x101b64d1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x101b64e8
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x101b6395
jmp 0x101b64d1
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x3c], esi
mov dword [0x101c6140], 0x287
mov esi, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101b702c
mov ecx, dword [0x101c6140]
add ecx, 0x1596
mov dword [0x101c6140], ecx
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x18], eax
jmp 0x101b63ae
lea eax, [esp + 0x28]
mov dword [0x101c6140], 0x1c88
mov dword [esp + 0x10], eax
call fcn.101b6a34
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x101b63ae
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.101b60b8
lea ecx, [0x101b6cfb]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x74], edx
mov dword [esp + 0x40], 0x142400
mov edx, dword [0x101c612c]
mov dword [esp + 0x68], edx
mov edx, dword [0x101c6130]
mov dword [esp + 0x60], edx
mov dword [0x101c6144], 0x1cfb
mov edx, dword [0x101c6134]
mov dword [esp + 0x5c], edx
mov edx, dword [0x101c6138]
mov dword [esp + 0x28], edx
mov edx, dword [0x101c613c]
mov dword [esp + 0x78], edx
mov dword [0x101c6140], 0x3721
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
jmp 0x101b63bb
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101b63bb
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x101b67ca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x101c6140], 0x7d3
mov dword [ebp - 0x10], eax
call fcn.101b71cc
xor ecx, ecx
mov edx, eax
mov dword [0x101c6140], 0x2094
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101b681a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x101c6144], 0x10c6
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101b6941
jmp 0x101b68b0
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], eax
jb 0x101b68c2
jmp 0x101b6941
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
jne 0x101b68de
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x101b690c
jmp 0x101b6855
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edx
jmp 0x101b687e
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x101b687e
jmp 0x101b68a7
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov dword [ebp - 0x54], ecx
mov dword [0x101c6144], 0x552
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add eax, dword [eax + ecx + 0x1c]
mov edx, dword [ebp - 0x54]
mov eax, dword [eax + edx*4]
mov dword [0x101c6140], 0x401
mov esi, dword [ebp - 0x1c]
add esi, eax
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b6a34
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov dword [0x101c6140], 0xbee
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, 0x26f4
xor edx, edx
mov dword [0x101c6140], 0x26f4
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x101b6abf
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101b6b64
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop esi
pop ebp
ret
mov dword [0x101c6140], 0x1581
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101b6b24
jmp 0x101b6b64
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
jne 0x101b6af9
mov eax, dword [ebp - 0x2c]
mov dword [0x101c6140], 0x1599
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x101b6aa1
jmp 0x101b6b64
mov eax, dword [ebp - 0x24]
add eax, 1
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffc2c
mov dword [0x101c6140], ecx
cmp eax, 0x104
mov edx, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], eax
jl 0x101b6abf
jmp 0x101b6adb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101b6b64
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x101b6b64
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101b6b64
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101b6a7d
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x101b6a98
Function at 0x101b6d54
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]
xor edi, edi
mov dword [0x101c6140], 0x545
mov dword [0x101c6148], 0
mov dword [0x101c614c], 0
mov dword [0x101c6158], 0
mov ebx, dword [0x101c6144]
add ebx, 0x1628
mov dword [0x101c6144], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101b6de0
jmp 0x101b6de8
mov eax, dword [0x101c614c]
mov ecx, dword [0x101c6148]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x101b6de8
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x101c6148], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101c614c], edx
mov dword [0x101c6140], 0x1d10
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101c6150], cl
mov dword [0x101c6144], 0x609
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x101c6144]
add edx, 0x19b1
mov dword [0x101c6140], edx
mov cl, byte [0x101c6150]
mov edx, dword [0x101c614c]
mov byte [ebx + edx], cl
mov edx, dword [0x101c6148]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101c614c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101c6158], ecx
mov edx, dword [0x101c6140]
add edx, 0x223a
mov dword [0x101c6144], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
je 0x101b6de0
jmp 0x101b6dc7