joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459710
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword [0x4b18fc]
cmp eax, 3
jne 0x45975a
call dword [sym.imp.KERNEL32.DLL_GetSystemDefaultUILanguage]
and eax, 0x1ff
add eax, 0xfffffffe
cmp eax, 0x83
ja case.0x459736.3
movzx eax, byte [eax + 0x459768]
jmp dword [eax*4 + 0x45975c]
mov eax, 1
mov dword [0x4b18fc], eax
ret
mov eax, 2
mov dword [0x4b18fc], eax
ret
xor eax, eax
mov dword [0x4b18fc], eax
ret

Function at 0x459d10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x491ce8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x14]
mov ebx, dword [eax]
mov esi, dword [ecx]
xor ebp, ebp
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx]
cmp esi, ebp
je 0x459d51
cmp esi, eax
je 0x459d56
call fcn.004746d2
cmp ebx, edi
je 0x459e13
xor edi, edi
cmp esi, ebp
jne 0x459e04
call fcn.004746d2
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x459d79
call fcn.004746d2
cmp dword [ebx + 0x78], 3
jne 0x459d84
mov edi, str.__restore_last_session
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
cmp esi, ebp
jne 0x459e0b
call fcn.004746d2
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x459da5
call fcn.004746d2
lea eax, [esp + 0x14]
push eax
lea ecx, [ebx + 8]
push ecx
call fcn.00429c40
mov edx, dword [esp + 0x1c]
add esp, 8
push 5
push ebp
push edi
push edx
push ebp
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
cmp eax, ebp
je 0x459de4
push eax
call fcn.00473f71
add esp, 4
mov dword [esp + 0x18], ebp
cmp esi, ebp
jne 0x459e0f
call fcn.004746d2
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x459df9
call fcn.004746d2
mov ebx, dword [ebx]
mov ecx, dword [esp + 0x2c]
jmp 0x459d44
mov eax, dword [esi]
jmp 0x459d6f
mov eax, dword [esi]
jmp 0x459d9b
mov eax, dword [esi]
jmp 0x459def
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x459e30
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x1c]
mov ebx, dword [eax]
mov esi, dword [edi + 8]
mov edi, edi
mov ebp, dword [edi + 0x1c]
mov eax, dword [edi + 8]
test esi, esi
je 0x459e4e
cmp esi, eax
je 0x459e53
call fcn.004746d2
cmp ebx, ebp
je 0x459e9d
test esi, esi
jne 0x459e95
call fcn.004746d2
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x459e6c
call fcn.004746d2
mov ecx, dword [ebx + 8]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
jne 0x459e99
call fcn.004746d2
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x459e91
call fcn.004746d2
mov ebx, dword [ebx]
jmp 0x459e40
mov eax, dword [esi]
jmp 0x459e62
mov eax, dword [esi]
jmp 0x459e87
cmp dword [edi + 0x20], 0
mov esi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
je 0x459ebc
mov edx, dword [edi]
push 0x1388
push edx
call esi
test eax, eax
sete al
test al, al
jne 0x459ed1
mov eax, dword [edi]
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov ecx, dword [edi]
push 0x7d0
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x459fc0
Capabilities:
Reference http user-agent string

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
xor ecx, ecx
push esi
mov dword [esp + 4], ecx
cmp eax, 4
ja case.default.0x459fd1
jmp dword [eax*4 + 0x45a068]
mov esi, dword [esp + 0xc]
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
mov ecx, esi
call fcn.0040b8c0
mov eax, esi
pop esi
pop ecx
ret
mov esi, dword [esp + 0xc]
push str.Mozilla_5.0__X11__U__Linux_i686__ru__rv:1.9.2.14__Gecko_20110221_Ubuntu_10.10__maverick__Firefox_3.6.14
mov ecx, esi
call fcn.0040b8c0
mov eax, esi
pop esi
pop ecx
ret
mov esi, dword [esp + 0xc]
push str.Opera_9.80__X11__Linux_i686__U__ru__Presto_2.7.62_Version_11.01
mov ecx, esi
call fcn.0040b8c0
mov eax, esi
pop esi
pop ecx
ret
mov esi, dword [esp + 0xc]
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__AppleWebKit_534.13__KHTML__like_Gecko__Chrome_9.0.597.107_Safari_534.13
mov ecx, esi
call fcn.0040b8c0
mov eax, esi
pop esi
pop ecx
ret
mov esi, dword [esp + 0xc]
push str.Mozilla_5.0__Macintosh__U__Intel_Mac_OS_X_10_6_6__en_US__AppleWebKit_534.13__KHTML__like_Gecko__Chrome_9.0.597.102_Safari_534.13
mov ecx, esi
call fcn.0040b8c0
mov eax, esi
pop esi
pop ecx
ret
mov esi, dword [esp + 0xc]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0xf
push 0x12
mov byte [esi + 4], cl
push str.MediaGet_installer
mov ecx, esi
call fcn.0040b5a0
mov eax, esi
pop esi
pop ecx
ret
Function at 0x45a800
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x491e5e
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov esi, dword [esp + 0x264]
xor ebx, ebx
push ebx
push 0x1a
lea eax, [esp + 0x50]
push eax
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0042a950
push str.MozillaFirefox_
push eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x270], ebx
call fcn.0040bd80
add esp, 0x14
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0x25c], 2
jb 0x45a89a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00473948
add esp, 4
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.0042a3d0
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
test al, al
je 0x45a8e5
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0040b380
cmp dword [esp + 0x44], 0x10
jb 0x45a8f9
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x45a8f1
cmp dword [esp + 0x44], 0x10
jb 0x45a8f9
mov edx, dword [esp + 0x30]
push edx
call fcn.00473948
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00474468
add esp, 0x254
ret

Function at 0x45a930
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x491ea2
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov esi, dword [esp + 0x264]
xor ebx, ebx
push ebx
push 0x1c
lea eax, [esp + 0x50]
push eax
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0042a950
push str.GoogleChromeUser_DataDefaultPreferences
push eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x270], ebx
call fcn.0040bd80
add esp, 0x14
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0x25c], 2
jb 0x45a9ca
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00473948
add esp, 4
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.0042a3d0
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
test al, al
je 0x45aa15
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0040b380
cmp dword [esp + 0x44], 0x10
jb 0x45aa29
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x45aa21
cmp dword [esp + 0x44], 0x10
jb 0x45aa29
mov edx, dword [esp + 0x30]
push edx
call fcn.00473948
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00474468
add esp, 0x254
ret
Function at 0x45aa60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x491ee6
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov esi, dword [esp + 0x264]
xor ebx, ebx
push ebx
push 0x1c
lea eax, [esp + 0x50]
push eax
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0042a950
push str.GoogleChromeUser_DataDefaultSecure_Preferences
push eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x270], ebx
call fcn.0040bd80
add esp, 0x14
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0x25c], 2
jb 0x45aafa
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00473948
add esp, 4
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.0042a3d0
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
test al, al
je 0x45ab45
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0040b380
cmp dword [esp + 0x44], 0x10
jb 0x45ab59
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x45ab51
cmp dword [esp + 0x44], 0x10
jb 0x45ab59
mov edx, dword [esp + 0x30]
push edx
call fcn.00473948
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00474468
add esp, 0x254
ret
Function at 0x45edc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49273f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 8], eax
mov edx, 0xf
mov dword [esp + 0xc], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov byte [esp + 0x14], al
mov dword [esi], eax
lea ecx, [esi + 4]
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], edx
push eax
mov byte [ecx + 4], al
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x44], 1
call fcn.0040b380
cmp dword [esp + 0x28], 0x10
jb 0x45ee45
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00473948
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00474468
add esp, 0x34
ret
Function at 0x465150
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret
Function at 0x472eb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4b3654], 0
push esi
jne 0x472e23
call fcn.00472d49
test eax, eax
je 0x472e66
mov eax, dword [0x4b3654]
cmp eax, 1
jne 0x472e44
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x472e66
pop esi
ret
push eax
call dword [0x4b365c]
test eax, eax
jne 0x472eae
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 0x472e6a
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4b3654]
call dword [0x4b365c]
mov edi, eax
test edi, edi
je 0x472e8f
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x472eab
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4b3654]
call dword [0x4b3658]
add edi, 0x10
cmp edi, esi
jb 0x472e97
mov eax, edi
pop edi
pop esi
ret
jmp 0x472e10

Function at 0x474468
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b1ae0]
jne 0x474472
repz ret
jmp fcn.0047c56c

Function at 0x4834a2
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.0047a55e
and dword [ebp - 4], 0
cmp dword [0x4b43bc], 0
mov ebx, eax
jne 0x483553
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x483604
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x483604
push eax
call fcn.0047a4ec
mov dword [esp], 0x4a1270
push edi
mov dword [0x4b43bc], eax
call esi
push eax
call fcn.0047a4ec
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b43c0], eax
call esi
push eax
call fcn.0047a4ec
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b43c4], eax
call esi
push eax
call fcn.0047a4ec
pop ecx
mov dword [0x4b43cc], eax
test eax, eax
je 0x483553
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0047a4ec
pop ecx
mov dword [0x4b43c8], eax
mov eax, dword [0x4b43c8]
cmp eax, ebx
je 0x4835ab
cmp dword [0x4b43cc], ebx
je 0x4835ab
push eax
call fcn.0047a567
push dword [0x4b43cc]
mov esi, eax
call fcn.0047a567
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4835ab
test edi, edi
je 0x4835ab
call esi
test eax, eax
je 0x4835a2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4835a2
test byte [ebp - 0xc], 1
jne 0x4835ab
or dword [ebp + 0x10], 0x200000
jmp 0x4835e4
mov eax, dword [0x4b43c0]
cmp eax, ebx
je 0x4835e4
push eax
call fcn.0047a567
pop ecx
test eax, eax
je 0x4835e4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4835e4
mov eax, dword [0x4b43c4]
cmp eax, ebx
je 0x4835e4
push eax
call fcn.0047a567
pop ecx
test eax, eax
je 0x4835e4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b43bc]
call fcn.0047a567
pop ecx
test eax, eax
je 0x483604
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x483606
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423082
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
pushal
mov ebp, sub.kernel32.dll_LoadLibraryA
lea eax, [ebp + 0x33]
lea ebx, [ebp + 0x59]
call fcn.004231b0
lea eax, [ebp + 0x33]
lea ebx, [ebp + 0x4c]
call fcn.004231b0
lea eax, [ebp + 0x28]
lea ebx, [ebp + 0x40]
call fcn.004231b0
lea eax, [ebp + 0x16c]
push eax
call dword [ebp + 0x5a]
mov dword [ebp + 0x75], eax
mov edi, 0x62b98680
mov ecx, 0x3e8
xor ebx, ebx
mov esi, 0x312e1fcf
pushfd
or dword [esp], 0x100
popfd
rol ebx, 1
jb 0x4230dc
mov dword [ebp + 0x7a], 0xa4
ror esi, 1
jb 0x4230e7
mov dword [ebp + 0x7a], 0xa0
ror ebx, 1
jb 0x4230ee
inc dword [ebp + 0x7e]
ror esi, 1
jb 0x4230f5
dec dword [ebp + 0x7e]
loop 0x4230d1
mov byte [ebp + 0x79], 0
push dword [ebp + 0x75]
call dword [ebp + 0x5a]
xor edi, ebx
add edi, esi
xor ebx, ebx
mov ecx, 0x5a
lea esi, [ebp + 0x82]
cld
lodsd eax, dword [esi]
add ebx, eax
loop 0x423113
add ebx, dword [ebp + 0x1ec]
mov dword [esp + 0x20], ebx
lea eax, [ebp + 0x33]
lea ebx, [ebp + 0xc]
call fcn.004231b0
push eax
lea eax, [ebp + 0x33]
lea ebx, [ebp + 0x19]
call fcn.004231b0
jb 0x423140
mov edx, dword [ebp + 8]
mov dword [edx], eax
pop ecx
jecxz 0x423148
mov edx, dword [ebp + 2]
mov dword [edx], ecx
mov edx, section..grand
mov ecx, 0xe00
mov eax, edi
xor byte [edx], al
rol eax, 1
jae 0x42315c
add al, cl
bt ecx, 0xc
jb 0x423166
ror ax, 3
inc edx
loop 0x423154
popal
clc
ret
Function at 0x7d2210cd
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x7d25ff70
sub esp, 0xc
mov ecx, dword [str.sbox5.58.0]
mov edx, 0x40
push ebx
cmp cl, 0xff
mov dword [esp + 8], ecx
mov eax, 4
mov dword [esp + 4], 0
cmove eax, edx
mov dword [esp + 0xc], 0x10000
push eax
push 0x103000
lea eax, [esp + 0x14]
push eax
push 0
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x7d2600c1
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0x80
mov dword [ebx + 0x10], eax
lea edi, [ebx + 0x80]
mov eax, 0x1fe
mov dword [ebx + 8], 0
push 0
push edi
mov word [ebx + 0x14], ax
call sub.ntdll.dll_memset
add esp, 0xc
mov esi, 0x1fe
mov eax, 0x3f
mov edx, 0x40
cmp edx, 1
jne 0x7d260011
mov byte [eax + edi], 0xff
lea eax, [edx + 7]
jmp 0x7d260019
or byte [eax + edi], dl
mov eax, 1
add esi, eax
mov edx, 1
mov ecx, esi
mov eax, esi
and ecx, 7
shr eax, 3
shl edx, cl
cmp eax, 0x80
jb 0x7d260003
call fcn.7d279440
stosd dword es:[edi], eax
add byte [ecx], al
add byte [eax], al
mov dword [ebp], eax
xor ecx, ecx
mov dword [ebx + 0xc], ebp
lea eax, [ebp + 4]
xchg dword [eax], ecx
push 0x3e8
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea edi, [ebp + 0x44]
mov ecx, 0x20
lea esi, [ebx + 0x80]
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
movq qword [ebp + 0x20], xmm0
mov dword [ebp + 0x28], 0
mov ecx, dword [ebp + 0x20]
inc dword [ebp + 0x28]
mov dword [ebp + 0x20], ebx
mov dword [ebx + 4], 0
mov dword [ebx], ecx
test ecx, ecx
jne 0x7d260093
mov dword [ebp + 0x24], ebx
jmp 0x7d260096
mov dword [ecx + 4], ebx
movups xmmword [ebp + 0x2c], xmm0
mov eax, ebp
movq qword [ebp + 0x3c], xmm0
movzx ecx, byte [ebx + 0x80]
bts ecx, 0
pop edi
movzx ecx, cl
pop esi
bts ecx, 1
pop ebp
mov byte [ebx + 0x80], cl
pop ebx
add esp, 0xc
ret
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x7d2210f0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x7d267500
mov eax, dword [0x7d2b7358]
sub esp, 0x24
cmp eax, 1
je 0x7d267556
cmp eax, 2
je 0x7d267556
cmp byte [0x7d2b7353], 0
jne 0x7d267556
push ebx
mov bl, byte [esp + 0x2c]
test bl, bl
je 0x7d267540
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor ecx, ecx
movzx eax, bl
cmp dword [esp + 0x18], 2
cmovb eax, ecx
mov byte [esp + 0x2c], al
push dword [esp + 0x2c]
push dword [0x7d2b64c8]
call fcn.7d266e70
pop ebx
add esp, 0x24
ret 4
mov al, 1
add esp, 0x24
ret 4

Function at 0x7d22119f
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x7d237040
push esi
push dword [esp + 8]
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x7d23706a
push dword [esp + 8]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x7d237078
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, esi
pop esi
ret 4
Function at 0x7d2211ae
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x7d2253a0
mov ecx, dword [esp + 0xc]
mov eax, ecx
push esi
mov esi, dword [esp + 0x14]
or eax, esi
je 0x7d2253bd
mov eax, dword [esp + 8]
xor edx, edx
add eax, ecx
adc edx, esi
pop esi
ret 0x10
mov ecx, dword [esp + 0xc]
xor esi, esi
push ebx
push edi
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
movzx ebx, word [ecx + 6]
add edx, eax
test ebx, ebx
je 0x7d2253ff
mov edi, dword [esp + 0x10]
nop word [eax + eax]
mov eax, dword [edx + 8]
test eax, eax
jne 0x7d2253ea
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
cmp edi, ecx
jb 0x7d2253f7
add eax, ecx
cmp edi, eax
jb 0x7d225409
inc esi
add edx, 0x28
cmp esi, ebx
jb 0x7d2253e0
pop edi
pop ebx
xor eax, eax
xor edx, edx
pop esi
ret 0x10
mov eax, dword [edx + 0x14]
xor edx, edx
sub eax, ecx
add eax, edi
pop edi
pop ebx
pop esi
ret 0x10

Function at 0x7d2211e0
Capabilities:
Read file on windows

Disassembly:
jmp 0x7d261320
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
cmp dword [esi + 8], 0
jne 0x7d26137d
push 0
push 0
push 0xfe8
lea edi, [esi + 0x10]
push edi
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push dword [esi]
call dword [sym.imp.ntdll.dll_NtReadFile]
mov dword [esi + 4], edi
test eax, eax
js 0x7d26136e
mov eax, dword [esp + 0xc]
mov dword [esi + 8], eax
test eax, eax
jne 0x7d26137d
pop edi
mov eax, 0xc0000011
pop esi
add esp, 8
ret 8
pop edi
mov dword [esi + 8], 0
pop esi
add esp, 8
ret 8
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x18]
mov al, byte [eax]
mov byte [edi], al
inc dword [esi + 4]
add dword [esi + 8], 0xffffffff
jne 0x7d26139b
push esi
call fcn.7d2218b1
test eax, eax
js 0x7d2613e1
mov eax, dword [esi + 4]
mov al, byte [eax]
mov byte [edi + 1], al
inc dword [esi + 4]
add dword [esi + 8], 0xffffffff
jne 0x7d2613b6
push esi
call fcn.7d2218b1
test eax, eax
js 0x7d2613e1
mov eax, dword [esi + 4]
mov al, byte [eax]
mov byte [edi + 2], al
inc dword [esi + 4]
add dword [esi + 8], 0xffffffff
jne 0x7d2613d1
push esi
call fcn.7d2218b1
test eax, eax
js 0x7d2613e1
mov eax, dword [esi + 4]
mov al, byte [eax]
mov byte [edi + 3], al
inc dword [esi + 4]
dec dword [esi + 8]
xor eax, eax
pop edi
pop esi
add esp, 8
ret 8

Function at 0x7d22120d
Capabilities:
Terminate process

Disassembly:
jmp 0x7d234370
push 0x80
push dword [0x7d2b7394]
call fcn.7d2214d3
test eax, eax
jne 0x7d23439a
push eax
push 0x901
call sym.SbieDll.dll_SbieApi_Log
add esp, 8
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x7d221226
Capabilities:
Query or enumerate registry key

Disassembly:
jmp 0x7d272660
push esi
mov esi, dword [esp + 0x10]
push edi
cmp dword [esi + 4], 0
je 0x7d2726c8
push 0x1000
mov dword [esp + 0x18], 0x1000
call fcn.7d2217b2
mov edi, eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push edi
push 3
push dword [esi + 4]
call dword [sym.imp.ntdll.dll_NtQueryKey]
test eax, eax
js 0x7d2726f3
mov eax, dword [edi]
shr eax, 1
lea ecx, [edi + eax*2]
mov eax, 0x5c
mov word [ecx + 4], ax
add ecx, 6
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x7d2726b2
lea eax, [edi + 4]
jmp 0x7d2726ce
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
push eax
push 0x6b
call fcn.7d221631
test eax, eax
je 0x7d2726e4
pop edi
mov eax, 0xc000000a
pop esi
ret 0xc
push esi
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.ntdll.dll_NtOpenKey]
pop edi
pop esi
ret 0xc
Function at 0x7d2212d5
Capabilities:
Get common file path

Disassembly:
jmp 0x7d26a010
sub esp, 0x28c
lea eax, [esp + 4]
push ebx
push esi
push edi
push 0x288
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [esp + 0x10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x7d26a044
mov al, byte [esp + 0x29c]
mov ecx, 6
mov esi, str.SbiePst.dat
test al, al
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x80
push 0
movsw word es:[edi], word [esi]
movzx esi, al
mov edi, 2
cmove edi, ecx
xor esi, 1
push edi
lea eax, [esi + 2]
push eax
push 0
lea ebx, [esi + 1]
push esi
shl ebx, 0x1e
lea eax, [esp + 0x24]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x7d26a0c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x7d26a0e7
cmp byte [esp + 0x29c], 0
je 0x7d26a0e7
push 0
push edi
push eax
push 0
push esi
push ebx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x7d26a0e7
push eax
lea eax, [esp + 0x10]
push eax
call fcn.7d221c0d
test eax, eax
jne 0x7d26a0e7
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x28c
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x28c
ret 4