joyce8/EMBER2024-capa huggingface dataset:
Function at 0x78af26db
Capabilities:
Get thread local storage value

Disassembly:
push 0
mov eax, 0x78b4fcec
call fcn.78abb6a2
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
push dword [eax + 0x70]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x78af27a1
mov ecx, eax
and ecx, 3
jne 0x78af270b
mov esi, eax
mov ebx, eax
jmp 0x78af2728
cmp ecx, 1
jne 0x78af272f
and eax, 0xfffffffe
mov esi, dword [eax + 0x10]
mov eax, dword [esi + 0x20]
add esi, 4
test eax, eax
je 0x78af2726
cmp byte [eax + 0x40], 0
jne 0x78af27a1
mov ebx, esi
call fcn.78ae87b8
jmp 0x78af2766
and eax, 0xfffffffd
mov esi, eax
lea edi, [esi + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov esi, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
add esi, 0xc
test eax, eax
je 0x78af2755
cmp byte [eax + 0x40], 0
je 0x78af2755
xor esi, esi
jmp 0x78af275c
mov ebx, esi
call fcn.78ae87b8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov edi, dword [ebp + 8]
test esi, esi
je 0x78af27a1
cmp dword [esi + 0x14], edi
je 0x78af279d
push 0x3c
call sym.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x78af278e
push edi
mov ebx, esi
mov edi, eax
call fcn.78ae86aa
jmp 0x78af2790
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ebx, eax
mov esi, eax
call fcn.78ae87b8
mov eax, esi
jmp 0x78af27a3
xor eax, eax
call fcn.78abbf68
ret 4

Function at 0x78af725f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebx
push 0x78af72f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x78af72ec
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x78af730c
push ebx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af7320
xor ecx, eax
push ebx
mov dword [edi], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af7338
xor ecx, eax
push ebx
mov dword [edi + 4], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af7344
xor ecx, eax
push ebx
mov dword [edi + 8], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af735c
xor ecx, eax
push ebx
mov dword [edi + 0xc], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af7370
xor ecx, eax
push ebx
mov dword [edi + 0x10], ecx
call esi
mov ecx, dword [0x78b555e8]
xor ecx, eax
mov dword [edi + 0x14], ecx
pop esi
mov eax, edi
pop ebx
ret

Function at 0x78af8e07
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax + 0x38fffffc], esp
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.78af7e99
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.78af7e4e
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.78af7e89
das
pop ds
retf 0x681f
Function at 0x78afa6ec
Capabilities:
Get thread local storage value
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x80c], edi
call fcn.78af0322
push dword [0x78b58954]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x78afa73c
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78ab0817
leave
ret
test esi, esi
je 0x78afa799
cmp dword [esi + 0x1c], 0
je 0x78afa799
mov eax, dword [esi + 0x18]
test eax, eax
je 0x78afa752
mov edi, dword [eax + 0x6c]
jmp 0x78afa755
or edi, 0xffffffff
push dword [ebp + 0x10]
push dword [ebp - 0x80c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 8]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
push 0x78afa800
lea eax, [ebp - 0x808]
push 0x400
push eax
call sym.MSVCR100.dll_swprintf_s
add esp, 0x2c
jmp 0x78afa7be
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x78afa868
lea eax, [ebp - 0x808]
push 0x400
push eax
call sym.MSVCR100.dll_swprintf_s
add esp, 0x1c
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x808]
push eax
push dword [0x78b555ec]
call sym.MSVCR100.dll_fwprintf
push dword [0x78b555ec]
call sym.MSVCR100.dll_fflush
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0xfffffffffffffff8
call sym.MSVCR100.dll_exit
int3

Function at 0x78afa8bc
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea ebx, [ebp - 0x808]
call fcn.78afab3a
xor eax, eax
pop ecx
mov word [ebp - 8], ax
pop ecx
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, ebx
push eax
call sym.MSVCR100.dll___iob_func
add eax, 0x40
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.78ab0817
leave
ret
Function at 0x78afa915
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x78b589ec]
test dword [ebp + 8], eax
je 0x78afa9aa
push ebx
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea ebx, [ebp - 0x808]
call fcn.78afab3a
xor eax, eax
pop ecx
mov word [ebp - 8], ax
mov eax, dword [0x78b555ec]
pop ecx
pop ebx
test eax, eax
je 0x78afa99d
lea ecx, [ebp - 0x808]
push ecx
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
push 0
push 0x32
push dword [0x78b589f4]
push dword [0x78b589f0]
call fcn.78ac8210
add dword [0x78b589f0], 1
adc dword [0x78b589f4], 0
or eax, edx
jne 0x78afa9aa
push dword [0x78b555ec]
call sym.MSVCR100.dll_fflush
pop ecx
jmp 0x78afa9aa
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.78ab0817
leave
ret

Function at 0x78afaaa1
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor ecx, ecx
sub esp, 0x14
mov eax, 0x78b589f8
inc ecx
lock xadd dword [eax], ecx
inc ecx
cmp ecx, 1
jne 0x78afaacc
call fcn.78afaa14
xor ecx, ecx
mov eax, 0x78b5735c
inc ecx
lock xadd dword [eax], ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x78afab12
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x78afaafb
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x14]
call sym.MSVCR100.dll_public:_void___thiscall_Concurrency::scheduler_resource_allocation_error::constructor_long_int_
push 0x78b50bf8
lea eax, [ebp - 0x14]
push eax
call sym.MSVCR100.dll__CxxThrowException
leave
ret

Function at 0x78afe86f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x78afe896
call sym.MSVCR100.dll___doserrno
mov dword [eax], esi
call sym.MSVCR100.dll__errno
push 0x16
pop esi
mov dword [eax], esi
call sym.MSVCR100.dll__invalid_parameter_noinfo
mov eax, esi
jmp 0x78afe8eb
test dword [ebp + 0xc], 0xfffffff9
jne 0x78afe87c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afe8c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR100.dll__dosmaperr
pop ecx
call sym.MSVCR100.dll__errno
mov eax, dword [eax]
jmp 0x78afe8eb
test al, 0x10
jne 0x78afe8e9
test al, 1
je 0x78afe8e9
test byte [ebp + 0xc], 2
je 0x78afe8e9
call sym.MSVCR100.dll___doserrno
mov dword [eax], 5
call sym.MSVCR100.dll__errno
mov dword [eax], 0xd
jmp 0x78afe8ba
xor eax, eax
pop esi
pop ebp
ret
Function at 0x78afe906
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78afe92e
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afe94b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR100.dll__dosmaperr
pop ecx
jmp 0x78afe929
test byte [ebp + 0xc], 0x80
je 0x78afe956
and eax, 0xfffffffe
jmp 0x78afe959
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x78afe93c
xor eax, eax
pop ebp
ret

Function at 0x78b002c7
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78b002ef
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x78b0030c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR100.dll__dosmaperr
pop ecx
jmp 0x78b002ea
test byte [ebp + 0xc], 0x80
je 0x78b00317
and eax, 0xfffffffe
jmp 0x78b0031a
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x78b002fd
xor eax, eax
pop ebp
ret
Function at 0x78b2b62f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call sym.MSVCR100.dll__encoded_null
and dword [ebp - 0x14], 0
cmp dword [0x78b58530], 0
mov dword [ebp - 0x18], eax
jne 0x78b2b6e2
push 0x78ae31a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x78b2b78a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x78b2b7b8
push ebx
call edi
test eax, eax
je 0x78b2b78a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x78ae3194
push ebx
mov dword [0x78b58530], eax
call edi
push eax
call esi
push 0x78ae3180
push ebx
mov dword [0x78b58534], eax
call edi
push eax
call esi
push 0x78b2b79c
push ebx
mov dword [0x78b58538], eax
call edi
push eax
call esi
mov dword [0x78b58540], eax
test eax, eax
je 0x78b2b6e2
push 0x78ae3168
push ebx
call edi
push eax
call esi
mov dword [0x78b5853c], eax
mov eax, dword [0x78b5853c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x78b2b73b
cmp dword [0x78b58540], ecx
je 0x78b2b73b
push eax
call esi
push dword [0x78b58540]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x78b2b73b
test ebx, ebx
je 0x78b2b73b
call edi
test eax, eax
je 0x78b2b732
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x78b2b732
test byte [ebp - 8], 1
jne 0x78b2b73b
or dword [ebp + 0x10], 0x200000
jmp 0x78b2b76e
mov eax, dword [0x78b58534]
cmp eax, dword [ebp - 0x18]
je 0x78b2b76e
push eax
call esi
test eax, eax
je 0x78b2b76e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x78b2b76e
mov eax, dword [0x78b58538]
cmp eax, dword [ebp - 0x18]
je 0x78b2b76e
push eax
call esi
test eax, eax
je 0x78b2b76e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x78b58530]
call esi
test eax, eax
je 0x78b2b78a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x78b2b78c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78ab0817
leave
ret
Function at 0x78b2c11f
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x78b58650], eax
mov dword [0x78b5864c], ecx
mov dword [0x78b58648], edx
mov dword [0x78b58644], ebx
mov dword [0x78b58640], esi
mov dword [0x78b5863c], edi
mov word [0x78b58668], ss
mov word [0x78b5865c], cs
mov word [0x78b58638], ds
mov word [0x78b58634], es
mov word [0x78b58630], fs
mov word [0x78b5862c], gs
pushfd
pop dword [0x78b58660]
mov eax, dword [ebp]
mov dword [0x78b58654], eax
mov eax, dword [ebp + 4]
mov dword [0x78b58658], eax
lea eax, [ebp + 8]
mov dword [0x78b58664], eax
mov eax, dword [ebp - 0x320]
mov dword [0x78b585a0], 0x10001
mov eax, dword [0x78b58658]
mov dword [0x78b58554], eax
mov dword [0x78b58548], 0xc0000409
mov dword [0x78b5854c], 1
mov eax, dword [0x78b54610]
mov dword [ebp - 0x328], eax
mov eax, dword [0x78b553f8]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x78b58598], eax
push 1
call sym.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x78b2c220
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x78b58598], 0
jne 0x78b2c20b
push 1
call sym.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x78b2f41a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call sym.MSVCR100.dll__encoded_null
and dword [ebp - 0x14], 0
cmp dword [0x78b5886c], 0
mov dword [ebp - 0x18], eax
jne 0x78b2f4cd
push 0x78ae31a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x78b2f575
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x78b2f5a4
push ebx
call edi
test eax, eax
je 0x78b2f575
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x78ae3194
push ebx
mov dword [0x78b5886c], eax
call edi
push eax
call esi
push 0x78ae3180
push ebx
mov dword [0x78b58870], eax
call edi
push eax
call esi
push 0x78b2f588
push ebx
mov dword [0x78b58874], eax
call edi
push eax
call esi
mov dword [0x78b5887c], eax
test eax, eax
je 0x78b2f4cd
push 0x78ae3168
push ebx
call edi
push eax
call esi
mov dword [0x78b58878], eax
mov eax, dword [0x78b58878]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x78b2f526
cmp dword [0x78b5887c], ecx
je 0x78b2f526
push eax
call esi
push dword [0x78b5887c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x78b2f526
test ebx, ebx
je 0x78b2f526
call edi
test eax, eax
je 0x78b2f51d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x78b2f51d
test byte [ebp - 8], 1
jne 0x78b2f526
or dword [ebp + 0x10], 0x200000
jmp 0x78b2f559
mov eax, dword [0x78b58870]
cmp eax, dword [ebp - 0x18]
je 0x78b2f559
push eax
call esi
test eax, eax
je 0x78b2f559
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x78b2f559
mov eax, dword [0x78b58874]
cmp eax, dword [ebp - 0x18]
je 0x78b2f559
push eax
call esi
test eax, eax
je 0x78b2f559
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x78b5886c]
call esi
test eax, eax
je 0x78b2f575
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x78b2f577
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78ab0817
leave
ret
Function at 0x1000b7a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x1007401c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, ecx
push esi
mov esi, dword [ebp + 0xc]
or eax, 1
bsr edx, esi
mov dword [ebp - 0x88], 0x10001
mov dword [ebp - 0x84], 0x20001
mov dword [ebp - 0x80], 0x20002
mov dword [ebp - 0x7c], 0x30003
mov dword [ebp - 0x78], 0x40003
mov dword [ebp - 0x74], 0x40004
mov dword [ebp - 0x70], 0x50004
mov dword [ebp - 0x6c], 0x50005
mov dword [ebp - 0x68], 0x60006
mov dword [ebp - 0x64], 0x70006
mov dword [ebp - 0x60], 0x70007
mov dword [ebp - 0x5c], 0x80007
mov dword [ebp - 0x58], 0x80008
mov dword [ebp - 0x54], 0x90009
mov dword [ebp - 0x50], 0xa0009
mov dword [ebp - 0x4c], 0xa000a
mov dword [ebp - 0x48], 0xb000a
mov dword [ebp - 0x44], 0xb000b
mov dword [ebp - 0x40], 0xc000c
mov dword [ebp - 0x3c], 0xd000c
mov dword [ebp - 0x38], 0xd000d
mov dword [ebp - 0x34], 0xe000d
mov dword [ebp - 0x30], 0xe000e
mov dword [ebp - 0x2c], 0xf000f
mov dword [ebp - 0x28], 0x10000f
mov dword [ebp - 0x24], 0x100010
mov dword [ebp - 0x20], 0x110010
mov dword [ebp - 0x1c], 0x110011
mov dword [ebp - 0x18], 0x120012
mov dword [ebp - 0x14], 0x130012
mov dword [ebp - 0x10], 0x130013
mov dword [ebp - 0xc], 0x140013
mov dword [ebp - 8], 0
je 0x1000b8b6
lea eax, [edx + 0x20]
jmp 0x1000b8b9
bsr eax, eax
xor eax, 0x3f
mov dword [ebp - 0x120], 0xa
xor eax, 0x3f
mov dword [ebp - 0x11c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0x64
movlpd qword [ebp - 0x130], xmm0
movlpd qword [ebp - 0x128], xmm0
movzx eax, word [ebp + eax*2 - 0x88]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0x3e8
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0x2710
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0x186a0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0xf4240
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0x989680
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0x5f5e100
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0x3b9aca00
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0x540be400
mov dword [ebp - 0xd4], 2
mov dword [ebp - 0xd0], 0x4876e800
mov dword [ebp - 0xcc], 0x17
mov dword [ebp - 0xc8], 0xd4a51000
mov dword [ebp - 0xc4], 0xe8
mov dword [ebp - 0xc0], 0x4e72a000
mov dword [ebp - 0xbc], 0x918
mov dword [ebp - 0xb8], 0x107a4000
mov dword [ebp - 0xb4], 0x5af3
mov dword [ebp - 0xb0], 0xa4c68000
mov dword [ebp - 0xac], 0x38d7e
mov dword [ebp - 0xa8], 0x6fc10000
mov dword [ebp - 0xa4], 0x2386f2
mov dword [ebp - 0xa0], 0x5d8a0000
mov dword [ebp - 0x9c], 0x1634578
mov dword [ebp - 0x98], 0xa7640000
mov dword [ebp - 0x94], 0xde0b6b3
mov dword [ebp - 0x90], 0x89e80000
mov dword [ebp - 0x8c], 0x8ac72304
cmp esi, dword [ebp + eax*8 - 0x12c]
ja 0x1000ba80
jb 0x1000ba6a
cmp ecx, dword [ebp + eax*8 - 0x130]
jae 0x1000ba80
mov ecx, 1
sub eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037900
mov esp, ebp
pop ebp
ret
xor ecx, ecx
sub eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10037900
mov esp, ebp
pop ebp
ret
Function at 0x10011ee0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058f1d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1007401c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp + 8]
push 0x58
mov dword [ebp - 0x14], esi
call fcn.10037e73
mov edx, dword [esi]
mov ebx, eax
lea edi, [ebx + 8]
add esp, 4
add esi, 8
mov dword [ebx], edx
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10011f70
cmp ecx, esi
jne 0x10011f66
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10011f70
mov eax, dword [ecx]
cmp ecx, esi
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
jmp 0x10011f69
mov dword [edi + 0x24], ecx
mov dword [esi + 0x24], 0
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x30]
add esi, 0x30
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10011fbf
cmp ecx, esi
jne 0x10011fb5
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10011fbf
mov eax, dword [ecx]
cmp ecx, esi
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
jmp 0x10011fb8
mov dword [edi + 0x24], ecx
mov dword [esi + 0x24], 0
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp - 0x18]
mov dword [ebp - 4], 4
lea esi, [edi + 4]
push esi
push 0
push ebx
push 0x10012970
push 0
push 0
call fcn.10041b9c
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x10012008
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10037900
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [esi], 0
call fcn.1001fafd
int3
Function at 0x1004ef77
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004ebf4

Function at 0x100572a1
Capabilities:
Enumerate services
Query service status

Disassembly:
push 0x84
push 0x10072b60
call fcn.10057960
mov esi, edx
mov dword [ebp - 0x6c], esi
mov eax, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov byte [ebp - 0x49], 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
xor ebx, ebx
push ebx
push ebx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x100572ed
mov al, 1
jmp 0x10057423
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x10057421
mov esi, dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x58], edi
test edi, edi
je 0x10057421
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push edi
push 1
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x10057353
mov byte [ebp - 0x49], bl
mov dword [ebp - 4], 0xfffffffe
call fcn.1005740f
mov al, byte [ebp - 0x49]
jmp 0x10057423
mov eax, ebx
mov dword [ebp - 0x54], ebx
cmp eax, dword [ebp - 0x24]
jae 0x1005733f
imul esi, eax, 0x24
add esi, edi
push 9
pop ecx
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
push 0x24
push dword [ebp - 0x94]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x1005733c
xor eax, eax
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x48]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x100573e0
cmp dword [ebp - 0x44], 1
je 0x100573e3
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push 0x24
lea eax, [ebp - 0x48]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x100573e0
cmp dword [ebp - 0x44], 1
je 0x100573e3
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [ebp - 0x68]
sbb edx, dword [ebp - 0x64]
mov dword [ebp - 0x6c], edx
jne 0x100573e0
cmp eax, 0x7530
jbe 0x1005739d
mov byte [ebp - 0x49], bl
mov dword [ebp - 4], ebx
call fcn.10057405
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
mov edi, dword [ebp - 0x58]
jmp 0x10057358
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret