joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003210
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x1000a57b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push 0
push 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jne 0x10003268
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
add esp, 0x144
ret
lea eax, [esp + 0x14]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10003296
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
add esp, 0x144
ret
push ebp
mov ebp, dword [esp + 0x150]
push esi
push edi
mov ecx, dword [esp + 0x28]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10003337
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x10003337
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_2
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x150], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call fcn.10009828
test bl, bl
jne 0x1000334b
lea ecx, [esp + 0x10]
mov dword [esp + 0x150], 0xffffffff
call fcn.10009828
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1000336b
jmp 0x100032a0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 0x150], 0xffffffff
call fcn.10009828
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x148]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret
Function at 0x10005140
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x68
call fcn.10009b8d
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_AFX_MAINTAIN_STATE2::AFX_MAINTAIN_STATE2
lea ecx, [esp + 0x1c]
call fcn.100086e0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x1000e88c
call sub.MFC42.DLL_CString::CString_2
call fcn.10003170
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Phone_software_update_tool___Call_START
call sub.MFC42.DLL_CString::CString_2
call fcn.10003170
add esp, 4
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push str.SoftwareLowRegistryLG_Electronics_IncLGMobileAX
push 0x80000001
call fcn.100080a0
test eax, eax
jne 0x100051bb
push str.SoftwareLowRegistryLG_Electronics_IncLGMobileAX
push 0x80000001
lea ecx, [esp + 0xc]
call fcn.100080e0
push str.TRUE
push str.SYNCUPDATE
lea ecx, [esp + 0xc]
call fcn.10008120
push str.TLPC
push str.SYNCTYPE
lea ecx, [esp + 0xc]
call fcn.10008120
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0xc]
push eax
call fcn.10002f00
mov ecx, dword [esp + 0x10]
lea edx, [esp + 4]
push ecx
push str._sLGMOBILEAX
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 4]
mov eax, esp
mov dword [esp + 0x14], esp
push 0x1000e224
push ecx
push eax
call sub.MFC42.DLL_operator
call fcn.10008420
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Check_BYR_Launcher
call sub.MFC42.DLL_CString::CString_2
call fcn.10003170
add esp, 4
lea edx, [esp]
lea eax, [esp + 8]
push 0x1000e7d8
push edx
push eax
call sub.MFC42.DLL_operator
push 0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
push ecx
mov ecx, esp
jne 0x100052f8
mov dword [esp + 0x14], esp
push str.Call_Launcher
call sub.MFC42.DLL_CString::CString_2
call fcn.10003170
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
add esp, 4
push 1
push edx
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Phone_software_update_tool___Call_END
call sub.MFC42.DLL_CString::CString_2
call fcn.10003170
add esp, 4
lea ecx, [esp + 8]
call fcn.10009828
lea ecx, [esp + 0xc]
call fcn.10009828
lea ecx, [esp]
call fcn.10009828
lea ecx, [esp + 4]
call fcn.100081b0
lea ecx, [esp + 0x1c]
call fcn.100087b0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, 1
mov dword [ecx + 4], edx
add esp, 0x68
ret
mov dword [esp + 0x14], esp
push str.BYR_tool_Not_exist.
call sub.MFC42.DLL_CString::CString_2
call fcn.10003170
add esp, 4
lea ecx, [esp + 8]
call fcn.10009828
lea ecx, [esp + 0xc]
call fcn.10009828
lea ecx, [esp]
call fcn.10009828
lea ecx, [esp + 4]
call fcn.100081b0
lea ecx, [esp + 0x1c]
call fcn.100087b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
xor eax, eax
add esp, 0x68
ret
Function at 0x100056c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x100056ce
mov eax, 1
ret
push esi
push edi
push eax
push 0xffffffffffffffff
push 0x1f0fff
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x10008170
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x100081a6
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push 4
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x100081a6
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, 1
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x100082b0
Capabilities:
Access peb ldr_data
Create http request

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1000a808
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
push edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x100082f9
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.10009828
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push 0
push 0
push 0
push 0
push str.LGE_ActiveDP_0.9
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x10008336
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.10009828
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
push 0
push 0x84000000
push 0
push 0
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x1000837e
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.10009828
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea edx, [esp + 8]
push 0
lea eax, [esp + 0x10]
push edx
push eax
push 5
push esi
mov dword [esp + 0x1c], 0x20
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x100083cf
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.10009828
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea ecx, [esp + 0xc]
push ebx
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov ebx, eax
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.10009828
mov ecx, dword [esp + 0x30]
mov eax, ebx
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x10008420
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1000a838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esp + 0x1c], 1
mov edi, 3
push edi
push 0x1000e224
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
cmp esi, 0xffffffff
jne 0x10008488
push edi
push 0x1000ed8c
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
cmp esi, 0xffffffff
je 0x100084c5
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.100099b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.10009828
mov ecx, dword [esp + 0xc]
push 0
push ecx
call ebp
cmp esi, 0xffffffff
lea edi, [esi + 1]
jne 0x1000845c
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.10009828
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10009828
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x100086e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1000a8af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
lea ecx, [edi + 8]
call sub.MFC42.DLL_CString::CString
lea esi, [edi + 0x10]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
mov dword [esi], 0x1000b710
lea ecx, [esi + 4]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
push 0xa
lea ecx, [esi + 0x10]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CObList::CObList
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov dword [esi], 0x1000ba38
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [edi], 0x1000ba34
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0xc], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10009080
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1000aa77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x2c]
mov ebx, 1
push edi
push eax
mov ecx, esi
mov dword [esp + 0x28], ebx
call fcn.100092f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.100099b4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], bl
call fcn.10009828
mov ecx, dword [esp + 0x10]
push 0x1000eef8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 8
test eax, eax
jne 0x10009132
push str._CSMG__Retry_1___Call_result_Empty_n
call ebp
lea edx, [esp + 0x2c]
push edi
push edx
mov ecx, esi
call fcn.100092f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.100099b4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], bl
call fcn.10009828
mov eax, dword [esp + 0x10]
push 0x1000eef8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x10009179
push str._CSMG__Retry_2___Call_result_Empty_n
call ebp
lea ecx, [esp + 0x2c]
push edi
push ecx
mov ecx, esi
call fcn.100092f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 4
call fcn.100099b4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], bl
call fcn.10009828
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.10009828
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x404910
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00437e00
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x404a33
push ecx
lea ecx, [esi + 0x18]
call fcn.00424130
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x404a4a
push ecx
lea ecx, [esi + 0x24]
call fcn.00424040
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44dc20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00481110
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x44dd43
push ecx
lea ecx, [esi + 0x18]
call fcn.0046d440
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x44dd5a
push ecx
lea ecx, [esi + 0x24]
call fcn.0046d350
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4564e0
Capabilities:
Encode data using xor

Disassembly:
inc eax
aaa
xchg dword [eax + 0x76], esi
adc ecx, dword [ebp + 0x15522b1b]
mov cl, 0xb0
inc ebx
aas
xor byte [ebp + esi*2 - 0x1cb4d11c], ah
xchg ecx, eax
in eax, dx
clc
sub byte [edi], 0x2f
not dword [edi - 0x15]
insb byte es:[edi], dx
scasb al, byte es:[edi]
xchg ebx, eax
movsd dword es:[edi], dword [esi]
fadd st(6), st(0)
dec eax
stc
push 7
invalid

Function at 0x477d50
Capabilities:
Encode data using xor

Disassembly:
sbb al, bl
xor eax, 0xb1d5459d
daa
push edx
invalid
std
movsb byte es:[edi], byte [esi]
mov dl, 0x83
sti
js 0x477d02
sbb esi, 0xbc32cba0
rcr dword [esi + 0x4cf43108], 1
pop ss
adc byte [eax], 0xec
sub eax, ecx
pop esi
sub dl, byte [ecx + 0x3e]
pop eax
invalid
Function at 0x493570
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
push esi
lea eax, [ebp - 0x198]
push edi
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0044a210
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 8], 1
call edi
lea ecx, [ebp - 4]
mov esi, eax
push ecx
push 0x2000000
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4935f0
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push 4
push edx
push 0x18
push eax
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x4935e6
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4935f0
call edi
jmp 0x4935f0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0xb45481

Function at 0x496fa0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004ca490
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x4970c3
push ecx
lea ecx, [esi + 0x18]
call fcn.004b67c0
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x4970da
push ecx
lea ecx, [esi + 0x24]
call fcn.004b66d0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e0400
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005138f0
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x4e0523
push ecx
lea ecx, [esi + 0x18]
call fcn.004ffc20
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x4e053a
push ecx
lea ecx, [esi + 0x24]
call fcn.004ffb30
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x549250
Capabilities:
Encode data using xor

Disassembly:
sub bl, byte [ebx - 0x38]
pop edi
sub edx, esi
dec eax
adc eax, 0xaccf3c5c
out dx, al
pop esp
rcl dword [eax + 0x2b], 0x2c
sub ebp, dword [edx + 0x2d312e85]
call 0x8b1a4f1d
clc
outsd dx, dword [esi]
mov esp, 0x6ff88ac5
lds ecx, [edx - 0x6849008]
jnp 0x549269
push ss
xor dword [ebx], esi
or cl, byte [0x828d3c75]
xchg ebx, eax
jecxz 0x54926a
dec esp
inc ecx
invalid
Function at 0x55c760
Capabilities:
Encode data using xor

Disassembly:
sub eax, dword [ebx + 0x345b0c44]
or esi, dword [ebx]
jno 0x55c7d8
invalid
mov edx, 0xc845cc11
xchg ebx, eax
push 0x93a08c4e
aaa
lodsb al, byte [esi]
sbb dword [ecx], edi
pop es
or dl, al
pop ds
shr ah, cl
and dword [ecx + 0x5c], ebp
xor ah, 0xab
push ebp
outsd dx, dword [esi]
invalid
insd dword es:[edi], dx
bnd jge 0x55c774
push ss
scasd eax, dword es:[edi]
aas
test ah, cl
invalid
imul ebp, dword [0x159990ed], 0xfffffffe
push esi
add byte [ebp - 0x1eac61d4], 0xa
pop edi
int 0x1f
pop ds
jmp 0xfa7eb8c7
jbe 0x55c7b6
mov al, byte [0xfd379908]
test ch, dh
out dx, eax
or al, 0x61
add esp, dword [ecx - 0x3f8c5d73]
pop ecx
inc edx
adc byte [0x1575a1b6], al
popfd
jae 0x55c7a2
xor ebp, dword [ecx - 0x18]
cmp dword [eax], 0x44
aam 0x74
jge 0x55c7c9
pop esi
pop ds
mov ebx, 0x5b13bf35
lahf
mov esp, 0xe191b736
cmp dl, byte [ebx]
and eax, 0x62
mov al, pe_nt_image_headers32
or eax, 0x3c96cc0d
dec ebx
sahf
push ecx
mov esp, 0xa5f13d42
mov bh, 0x54
mov dword [ebp - 0x4683424a], ebx
fisubr dword [edx]
cmp al, 0x16
sbb byte [eax + ecx + 0x1d], 0x72
std
xlatb
retf 0x1ded

Function at 0x5788d4
Capabilities:
Encode data using xor

Disassembly:
cmp cl, 0x15
inc ebp
mov bh, 0x22
lahf
and al, 0xd
xor byte [eax - 0x2b4faa16], cl
pop ss
mov ah, 0xd0
ror ch, 1
cmc
ror ch, 1
cmc
sbb dword [ebp - 0x11], eax
and dword [edi - 0x80], ebp
mov dword [0x6b7571bb], ebp
arpl word [edx - 0x32], ax
xor eax, 0x1e8bbadc
xchg ebp, eax
xor byte [eax], cl
or esi, edx
mov ebx, 0xc53007f8
rol byte [edx + 0x534420e8], 1
add byte [ecx - 0x38], ah
jae 0x5788c3
mov ebp, 0x4d609163
into
mov edi, 0xdb026410
adc edi, dword [esi + 0xe3031ed]
retf