joyce8/EMBER2024-capa huggingface dataset:
Function at 0x568b50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x614b54
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6ae450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CRaceManager.0
mov dword [ebp - 4], 4
call fcn.00568d50
cmp dword [edi + 0x30], 0x10
jb 0x568b9f
push dword [edi + 0x1c]
call fcn.004c3680
add esp, 4
mov dword [edi + 0x30], 0xf
lea ecx, [edi + 0x14]
mov dword [edi + 0x2c], 0
mov byte [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
push eax
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.00475720
push dword [edi + 0x14]
call fcn.004c3680
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0xc]
add esp, 4
mov byte [ebp - 4], 1
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.004b23a0
push dword [edi + 0xc]
call fcn.004c3680
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
add esp, 4
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.0044bf90
push dword [edi + 4]
call fcn.004c3680
mov dword [edi], vtable.CSingleton_class_CRaceManager_.0
add esp, 4
mov dword [0x703264], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x588a00
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617237
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ae450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CArea.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 7
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
call fcn.0044c590
mov dword [edi + 0x64], eax
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 0xa
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
call fcn.0044c590
mov dword [edi + 0x8c], eax
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 0xb
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
call fcn.00450cd0
mov dword [edi + 0x98], eax
mov eax, edi
mov dword [edi + 0x84], 0xff00ff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5a3a70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x613f3b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6ae450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
sub edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
inc edi
sub esi, ebx
inc esi
je 0x5a3b3d
test edi, edi
je 0x5a3b3d
push 0x40
call fcn.005b50aa
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x5a3ada
mov ecx, eax
call fcn.005a80a0
mov ecx, eax
jmp 0x5a3adc
xor ecx, ecx
mov eax, dword [ebp + 0x10]
cmp edi, esi
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
cmovg esi, edi
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0x24], esi
movzx eax, word [eax + 0x8c]
imul eax, edx
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
add eax, ebx
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5a8270
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6187f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ae450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x703288], edi
mov dword [edi], vtable.CSoundManager.0
lea ecx, [edi + 0x6c]
mov dword [ebp - 4], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
call fcn.00450d00
mov dword [edi + 0x6c], eax
mov eax, edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x43480000
mov dword [edi + 0x1c], 0x447a0000
mov dword [edi + 0x20], 0x3f800000
mov dword [edi + 0x24], 0x3f800000
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5d895f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6ae450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005c105b
mov dword [ebp - 0x14], eax
cmp dword [0x6ff99c], esi
jne 0x5d8a52
push 0x800
push esi
push 0x6451fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5d89df
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5d8b32
push esi
push esi
push 0x6451fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5d8b32
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5d8b32
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x6ff99c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x6ff9a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x6ff9a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6ff9ac], eax
test eax, eax
je 0x5d8a4f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6ff9a8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5d8a77
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5d8a6a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5d8a8c
push 4
pop eax
jmp 0x5d8b34
cmp dword [ebp - 0x14], esi
je 0x5d8a8c
push dword [0x6ff99c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5d8a71
mov eax, dword [0x6ff9a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5d8aea
cmp dword [0x6ff9ac], edi
je 0x5d8aea
push eax
call ebx
push dword [0x6ff9ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5d8aea
test eax, eax
je 0x5d8aea
call ecx
test eax, eax
je 0x5d8adf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5d8adf
test byte [ebp - 8], 1
jne 0x5d8aea
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5d8b1a
mov eax, dword [0x6ff9a0]
cmp eax, edi
je 0x5d8b17
push eax
call ebx
test eax, eax
je 0x5d8b17
call eax
mov esi, eax
test esi, esi
je 0x5d8b17
mov eax, dword [0x6ff9a4]
cmp eax, edi
je 0x5d8b17
push eax
call ebx
test eax, eax
je 0x5d8b17
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x6ff99c]
call ebx
test eax, eax
je 0x5d8b32
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5d8b34
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b509b
mov esp, ebp
pop ebp
ret
Function at 0x5ef410
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
lea ebx, [edx + eax]
mov dword [ebp - 8], ebx
cmp eax, 0x10
jb 0x5ef4b5
mov esi, dword [ebp + 0x10]
lea eax, [ebx - 0x10]
mov dword [ebp - 4], eax
lea edi, [esi + 0x24234428]
lea ebx, [esi - 0x7a143589]
lea eax, [esi + 0x61c8864f]
lea esp, [esp]
imul ecx, dword [edx], 0x7a143589
sub edi, ecx
imul ecx, dword [edx + 4], 0x7a143589
rol edi, 0xd
imul edi, edi, 0x9e3779b1
sub ebx, ecx
imul ecx, dword [edx + 8], 0x7a143589
rol ebx, 0xd
imul ebx, ebx, 0x9e3779b1
sub esi, ecx
imul ecx, dword [edx + 0xc], 0x7a143589
rol esi, 0xd
add edx, 0x10
imul esi, esi, 0x9e3779b1
sub eax, ecx
rol eax, 0xd
imul eax, eax, 0x9e3779b1
cmp edx, dword [ebp - 4]
jbe 0x5ef450
rol eax, 0x12
rol esi, 0xc
rol ebx, 7
add eax, esi
add eax, ebx
rol edi, 1
mov ebx, dword [ebp - 8]
add eax, edi
jmp 0x5ef4bd
mov eax, dword [ebp + 0x10]
add eax, 0x165667b1
add eax, dword [ebp + 0xc]
lea esi, [edx + 4]
cmp esi, ebx
ja 0x5ef4ea
jmp 0x5ef4d0
imul ecx, dword [edx], 0x3d4d51c3
mov edx, esi
lea esi, [edx + 4]
sub eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp esi, ebx
jbe 0x5ef4d0
mov edi, ebx
xor ecx, ecx
sub edi, edx
xor esi, esi
cmp edx, ebx
cmova edi, ecx
test edi, edi
je 0x5ef51c
jmp 0x5ef500
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul ecx, ecx, 0x165667b1
inc esi
add ecx, eax
rol ecx, 0xb
imul eax, ecx, 0x9e3779b1
cmp esi, edi
jb 0x5ef500
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul ecx, ecx, 0x85ebca77
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x411b2d
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041186a

Function at 0x42a402
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042a189

Function at 0x42c696
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042be70

Function at 0x42c6a1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042c0ab

Function at 0x1001152
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
push 0x104
lea eax, [ebp - 0x170]
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call fcn.010010e4
cmp eax, 1
jl 0x100121b
push ebx
xor ebx, ebx
cmp byte [ebp - 0x170], bl
push esi
lea esi, [ebp - 0x170]
je 0x10011bb
cmp byte [esi], 0x3a
je 0x100119e
inc esi
cmp byte [esi], bl
jne 0x1001192
jmp 0x10011a1
mov byte [esi], bl
inc esi
cmp byte [esi], bl
je 0x10011bb
push 0x10010ac
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10011c1
lea esi, [ebp - 0x170]
push 0x29
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1001219
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x1001219
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x1001219
push ebx
lea eax, [ebp - 0x14]
push eax
call sub.ole32.dll_CoRegisterSurrogateEx
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
pop ebx
xor eax, eax
leave
ret 0x10
Function at 0x401010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2844
call fcn.004020f0
mov eax, dword [0x404004]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x44], 0x70747468
push eax
push 0xdc51
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], 0x312f2f3a
push eax
lea eax, [ebp - 0x2844]
mov dword [ebp - 0x3c], 0x382e3934
push str._s_d_s
push eax
mov dword [ebp - 0x38], 0x32372e38
mov dword [ebp - 0x34], 0x3934312e
mov dword [ebp - 0x30], 0x6461722f
mov dword [ebp - 0x2c], 0x3f2f7261
mov dword [ebp - 0x28], 0x65696c63
mov dword [ebp - 0x24], 0x3d746e
mov dword [ebp - 0x20], 0x64646126
mov dword [ebp - 0x1c], 0x35313d72
mov dword [ebp - 0x18], 0x33312e32
mov dword [ebp - 0x14], 0x37312e36
mov dword [ebp - 0x10], 0x32322e34
mov dword [ebp - 0xc], 0x64692637
mov word [ebp - 8], 0x3d73
mov byte [ebp - 6], 0
call fcn.004010f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x2844]
add esp, 0x14
push 0x401370
call fcn.00401130
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0040145a
mov esp, ebp
pop ebp
ret
Function at 0x851609
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x851a90
call fcn.008517b4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x852370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x8513c4
cmp eax, esi
jne 0x8513b7
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x8513c7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x85139e
xor esi, esi
inc esi
mov eax, dword [0x85236c]
cmp eax, esi
jne 0x8513da
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x851409
mov eax, dword [0x85236c]
test eax, eax
jne 0x851403
mov dword [0x85236c], esi
push 0x8510b8
push 0x8510ac
call fcn.00851300
pop ecx
pop ecx
test eax, eax
je 0x851409
jmp 0x85152d
mov dword [0x852034], esi
mov eax, dword [0x85236c]
cmp eax, esi
jne 0x85142d
push 0x8510a8
push 0x8510a0
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x85236c], 2
cmp dword [ebp - 0x20], ebx
jne 0x85143a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x852374], ebx
je 0x85145b
push 0x852374
call fcn.00851729
pop ecx
test eax, eax
je 0x85145b
push ebx
push 2
push ebx
call dword [0x852374]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x85152d
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x8514c5
cmp cx, bx
je 0x851480
cmp dword [ebp - 0x1c], ebx
jne 0x8514c5
movzx ecx, word [eax]
cmp cx, bx
je 0x851495
cmp cx, 0x20
ja 0x851495
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x851480
test byte [ebp - 0x40], 1
je 0x8514a1
movzx ecx, word [ebp - 0x3c]
jmp 0x8514a4
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x850000
call main
mov dword [0x852030], eax
cmp dword [0x852024], ebx
jne 0x85150a
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x8514d6
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x85146a
cmp dword [0x852034], ebx
jne 0x851518
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x852030]
jmp 0x851539
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.008517f9
ret
call fcn.00851901
jmp 0x851361
Function at 0x10001000
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push 0
push 0
call fcn.10001260
add esp, 8
cmp eax, 2
jne 0x10001018
xor eax, eax
pop edi
pop esi
ret
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100010a1
push str.CreateToolhelp32Snapshot
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
call esi
push str.Module32First
mov dword [0x1000b444], eax
push edi
call esi
push str.Module32Next
mov dword [0x1000b43c], eax
push edi
call esi
push str.Process32First
mov dword [0x1000b448], eax
push edi
call esi
push str.Process32Next
mov dword [0x1000b440], eax
push edi
call esi
cmp dword [0x1000b444], 0
mov dword [0x1000b438], eax
je 0x10001098
cmp dword [0x1000b440], 0
je 0x10001098
test eax, eax
je 0x10001098
cmp dword [0x1000b43c], 0
je 0x10001098
cmp dword [0x1000b448], 0
jne 0x100010a1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
mov eax, edi
pop edi
pop esi
ret
Function at 0x100010b0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
sub esp, 0x1c
push ebx
mov byte [ebp - 8], cl
push esi
mov byte [ebp - 7], cl
push edi
mov byte [ebp - 6], cl
lea eax, [ebp - 0x14]
mov byte [ebp - 5], cl
push eax
mov byte [ebp - 4], cl
mov byte [ebp - 3], 5
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10001124
call esi
cmp eax, 0x3f0
jne 0x10001118
lea eax, [ebp - 0x14]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10001124
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push 0
push 0
push 2
push ecx
call edi
test eax, eax
je 0x1000114a
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
cmp eax, 0x7a
je 0x1000115d
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
add eax, 3
and eax, 0xfffffffc
call fcn.10005f00
mov dword [ebp - 0xc], esp
cmp dword [ebp - 0xc], 0
jne 0x10001180
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0xc]
push ecx
mov eax, dword [ebp - 0x14]
push edx
push 2
push eax
call edi
test eax, eax
jne 0x100011a4
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 8]
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 0
push 0x220
push 0x20
push 2
push ecx
call esi
test eax, eax
jne 0x100011d9
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 8]
push 0
push 0
push 0x223
push 0x20
push 2
push ecx
call esi
test eax, eax
jne 0x10001212
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
xor edi, edi
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov eax, dword [ebp - 0xc]
cmp dword [eax], edi
jbe 0x1000123a
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x10]
push eax
add ebx, 8
push ecx
inc edi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esi, eax
test esi, esi
je 0x1000121c
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_FreeSid]
push eax
call edi
mov ecx, dword [ebp - 0x1c]
push ecx
call edi
mov eax, esi
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100012c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov dword [esp + 0xc], 0
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x10001338
lea eax, [edi + 0x10]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
mov esi, eax
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10001331
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0x1000a0a4
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10001331
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x24]
mov dword [edx], ecx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x100014e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x314
lea eax, [esp]
push ebx
push esi
push edi
push ebp
push eax
push 0x100091f0
push 1
push 0
push 0x10009010
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x10001644
mov esi, dword [esp + 0x328]
mov ebp, esi
cmp byte [esi], 0
je 0x10001522
inc ebp
cmp byte [ebp], 0
jne 0x1000151b
xor edi, edi
cmp esi, ebp
jae 0x10001556
mov bl, byte [ebp]
push ebp
push esi
call dword [sym.imp.USER32.dll_CharPrevA]
mov ebp, eax
push ebx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
jne 0x10001552
cmp bl, 0x2f
je 0x1000154a
cmp bl, 0x2d
jne 0x10001552
cmp byte [ebp], 0x20
jne 0x10001552
mov edi, ebp
cmp esi, ebp
jb 0x10001528
test edi, edi
je 0x1000156f
push edi
call dword [sym.imp.USER32.dll_CharNextA]
push eax
mov eax, dword [esp + 0x14]
push eax
mov ebx, dword [eax]
call dword [ebx + 0x2c]
mov byte [edi], 0
mov eax, dword [esp + 0x10]
push esi
push eax
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov ecx, dword [esp + 0x330]
mov eax, dword [esp + 0x10]
mov ebx, dword [eax]
push ecx
push eax
call dword [ebx + 0x1c]
lea ecx, [esp + 0x220]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
call fcn.10004c50
mov ecx, dword [esp + 0x14]
add esp, 4
push eax
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [esp + 0x33c]
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push ecx
push edx
call dword [eax + 0x3c]
mov eax, dword [esp + 0x334]
test eax, eax
je 0x100015e4
cmp byte [eax], 0
je 0x100015e4
mov ecx, dword [esp + 0x338]
push ecx
push eax
mov eax, dword [esp + 0x18]
push eax
mov ebx, dword [eax]
call dword [ebx + 0x44]
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push 0x10009340
push ecx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
jl 0x10001638
lea eax, [esp + 0x18]
push 0x104
mov ecx, dword [esp + 0x330]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x18]
push 1
mov eax, dword [esp + 0x18]
push ecx
push eax
mov ebx, dword [eax]
call dword [ebx + 0x18]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ebx, dword [eax]
call dword [ebx + 8]
test esi, esi
mov eax, 1
jge 0x1000164d
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x314
ret