joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41864f
Capabilities:
Delete registry value

Disassembly:
push 0x10
mov eax, 0x45d6b5
call fcn.004412e0
mov esi, ecx
lea edi, [esi + 4]
xor ebx, ebx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0040359e
push 0x46a764
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403855
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00403a90
cmp dword [esi + 0x10], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
je 0x4186a0
push 0x102
jmp 0x4186a2
push 2
push ebx
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
je 0x4186e2
push dword [edi]
push esi
push 0x471c90
call fcn.00409842
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401109
mov eax, esi
call fcn.00441363
ret 4
push ebx
lea ecx, [ebp + 8]
call fcn.004036cd
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x418719
push dword [ebp + 8]
push esi
push str.Deleting_key:_:__d____s
call fcn.00409842
add esp, 0xc
xor esi, esi
jmp 0x4186c2
xor esi, esi
inc esi
jmp 0x4186c2

Function at 0x41871e
Capabilities:
Delete registry key

Disassembly:
push 0xc
mov eax, 0x45d680
call fcn.004412e0
mov esi, ecx
lea edi, [esi + 4]
xor ebx, ebx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0040359e
push 0x46a764
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403855
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00403a90
cmp dword [esi + 0x10], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
je 0x41876f
push 0x102
jmp 0x418771
push 2
push ebx
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
je 0x4187b1
push dword [edi]
push esi
push str.failed_accessing_key:_:__d____s
call fcn.00409842
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401109
mov eax, esi
call fcn.00441363
ret 4
push ebx
lea ecx, [ebp + 8]
call fcn.004036cd
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x4187e8
push dword [ebp + 8]
push esi
push str.Failed_Delete_key:__d____s
call fcn.00409842
add esp, 0xc
xor esi, esi
jmp 0x418791
xor esi, esi
inc esi
jmp 0x418791
Function at 0x418961
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0xf0]
sub esp, 0x170
mov eax, dword [0x4849a0]
xor eax, ebp
mov dword [ebp + 0xec], eax
push ebx
push esi
push edi
xor edi, edi
push 0x110
lea eax, [ebp - 0x68]
push edi
push eax
mov dword [ebp - 0x80], edi
xor ebx, ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x6c], 0x114
call fcn.0043d8e0
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x418a60
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x418a60
cmp dword [ebp - 0x68], 6
jb 0x418a11
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x78]
push eax
push 4
lea eax, [ebp - 0x7c]
push eax
push 0x12
push dword [ebp - 0x74]
call esi
test eax, eax
je 0x418a60
cmp dword [ebp - 0x7c], 3
jne 0x418a11
lea eax, [ebp - 0x78]
push eax
push 4
lea eax, [ebp - 0x70]
push eax
push 0x13
push dword [ebp - 0x74]
call esi
test eax, eax
je 0x418a60
cmp dword [ebp - 0x70], edi
jne 0x418a29
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x418a60
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xa8]
push eax
push edi
push 0x1a
mov dword [ebp - 0x78], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x418a60
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xa8]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x418a68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [ebp - 0x74], edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x418a7b
push dword [ebp - 0x74]
call esi
mov dword [ebp - 0x74], edi
cmp dword [ebp - 0x70], edi
je 0x418a88
push dword [ebp - 0x70]
call esi
mov dword [ebp - 0x70], edi
cmp ebx, edi
je 0x418a9d
push 0x47bff8
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], ebx
call fcn.00441656
mov ecx, dword [ebp + 0xec]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a2d7
add ebp, 0xf0
leave
ret
Function at 0x4190b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d5c3
mov eax, dword fs:[0]
push eax
mov eax, 0x139c
call fcn.00441ba0
mov eax, dword [0x4849a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0x1386
lea eax, [ebp - 0x1396]
push edi
push eax
mov dword [ebp - 0x139c], 0x3ffe
mov dword [ebp - 0x13a0], 7
mov word [ebp - 0x1398], di
call fcn.0043d8e0
mov eax, dword [esi + 4]
add esp, 0xc
cmp dword [esi + 0x10], edi
push esi
je 0x419126
push 0x101
jmp 0x419128
push 1
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x419151
push eax
push dword [esi + 4]
push str.ReadDwordRegistryData:_Error_while_opening_registry_key__s_and_the_errorcode_is_:__d
call fcn.00409842
add esp, 0xc
xor eax, eax
jmp 0x4191d7
push 0x467314
lea ecx, [ebp - 0x13a4]
call fcn.00403310
lea eax, [ebp - 0x139c]
push eax
lea eax, [ebp - 0x1398]
push eax
lea eax, [ebp - 0x13a0]
push eax
mov dword [ebp - 4], edi
inc dword [esi + 0x14]
push edi
push dword [esi + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x139c]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041e84a
mov edi, eax
mov eax, dword [ebp - 0x139c]
pop ecx
push eax
mov dword [ebx], eax
lea eax, [ebp - 0x1398]
push eax
push edi
call fcn.0043daf0
add esp, 0xc
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x13a4]
add ecx, 0xfffffff0
call fcn.00401109
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a2d7
leave
ret

Function at 0x4192f4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, eax
xor eax, eax
push eax
push eax
lea ecx, [ebp - 4]
push ecx
push 0x400
push dword [esi + 0x54]
push eax
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 0x50]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 4]
mov edi, eax
push dword [esi + 0x54]
push str.CustomURLProtocol::Failed_with_error__d:__s
push edi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, eax
shr ecx, 1
call fcn.00419230
add esp, 0xc
push edi
add esi, 0x58
push esi
call fcn.004082e5
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push edi
call esi
pop edi
pop esi
leave
ret
Function at 0x4195c7
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 8
push ebx
lea ebx, [esi + 4]
jb 0x4195dd
mov eax, dword [ebx]
jmp 0x4195df
mov eax, ebx
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [esi + 0x54], eax
jne 0x41967b
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.DefaultIcon
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x41967a
push str.ShellOpencommand
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x41967a
push str.ShellOpen
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x41967a
push str.Shell
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x41967a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x41967a
cmp dword [esi + 0x18], 8
jb 0x41966f
mov ebx, dword [ebx]
push ebx
push SysReAllocString
call edi
mov dword [esi + 0x54], eax
pop edi
cmp dword [esi + 0x54], 0
pop ebx
je 0x419689
mov eax, esi
call fcn.004192f4
mov eax, dword [esi + 0x54]
leave
ret
Function at 0x41a38d
Capabilities:
Accept command line arguments

Disassembly:
push 0xc
mov eax, 0x45e443
call fcn.00441277
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp dword [0x488150], 1
jle 0x41a3d4
push eax
lea ecx, [ebp - 0x10]
call fcn.00403310
and dword [ebp - 4], 0
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0040359e
call fcn.0041a3da
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
call fcn.0044134f
ret

Function at 0x41e244
Capabilities:
Read file on windows

Disassembly:
push 8
mov eax, 0x45d456
call fcn.00441277
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], edi
push 0x46733a
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
call fcn.004191ef
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 0xc]
cmp dword [ebx - 0xc], edi
jne 0x41e2a8
push str.Check_Arg_passed___Empty_Filename
call fcn.00409842
mov dword [esp], str.FAILED
push dword [ebp + 8]
call fcn.004191ef
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
lea ecx, [ebx - 0x10]
call fcn.00401109
mov eax, dword [ebp + 8]
jmp 0x41e3fa
cmp byte [ebp + 0x10], 0
push 0x40
je 0x41e2b5
mov eax, dword [esi + 0xc]
jmp 0x41e2b8
mov eax, dword [esi + 0x10]
push eax
push ebx
call fcn.0043c885
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x10], eax
jne 0x41e2e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.File_open_Error_:__d
call fcn.00409842
pop ecx
pop ecx
push str.FAILED
jmp 0x41e285
push 2
push edi
push dword [ebp + 0x10]
call fcn.0043e4b2
add esp, 0xc
test eax, eax
je 0x41e313
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.File_seek_Error_:__d
call fcn.00409842
push dword [ebp + 0x10]
call fcn.0043d448
add esp, 0xc
jmp 0x41e2dc
push dword [ebp + 0x10]
call fcn.0043e3bd
pop ecx
push dword [ebp + 0x10]
mov dword [esi], eax
call fcn.0043dee8
mov edi, dword [esi]
pop ecx
inc edi
push edi
lea ecx, [ebp - 0x10]
call fcn.00406573
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.0040659d
push dword [ebp + 0x10]
push dword [esi]
mov esi, dword [ebp - 0x14]
push 1
push esi
call fcn.0043e20a
add esp, 0x10
test eax, eax
jne 0x41e392
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.File_read_error_:__d
call fcn.00409842
cmp dword [ebp - 0x10], 0
pop ecx
pop ecx
jne 0x41e373
xor eax, eax
jmp 0x41e37c
push dword [ebp - 0x10]
call fcn.0043b5a0
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040659d
push dword [ebp + 0x10]
call fcn.0043d448
jmp 0x41e27e
mov byte [esi + eax], 0
cmp dword [ebp - 0x10], 0
jne 0x41e3a0
xor eax, eax
jmp 0x41e3a9
push dword [ebp - 0x10]
call fcn.0043b5a0
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040659d
push dword [ebp + 0x10]
call fcn.0043d448
test eax, eax
pop ecx
je 0x41e3d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.File_close_error_:__d
jmp 0x41e2d5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.004065c3
mov esi, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.00401109
lea ecx, [ebx - 0x10]
call fcn.00401109
mov eax, esi
call fcn.0044134f
ret 0xc
Function at 0x420ef7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x420f3d
call fcn.0042af0a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x420f3d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x420f80
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x420f69
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x420f69
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x420f7d
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x427fd9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x428012
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041ef00
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041c718
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x429af2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x429b35
call fcn.0042af0a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x429b35
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x429b50
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004296ac
test ebx, ebx
mov esi, eax
je 0x429b4e
test edi, edi
je 0x429b4e
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42ce7f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42cead
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42cecb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042cde9
jmp 0x42cecb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42cecb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042cde9
test edi, edi
mov eax, edi
jne 0x42ceb5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4880a0]
test ecx, ecx
je 0x42cf8e
jmp 0x42ce7e
ret 8
Function at 0x43a2d7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4849a0]
jne 0x43a2e1
repz ret
jmp fcn.004435bf

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x43c669
call fcn.0043cb34
mov dword [eax], esi
call fcn.0043cb21
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0043c250
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43c687
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043cb47
pop ecx
jmp 0x43c664
test byte [esp + 0xc], 0x80
je 0x43c693
and eax, 0xfffffffe
jmp 0x43c696
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43c678
xor eax, eax
pop esi
ret
Function at 0x44f856
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00442fa6
xor ebx, ebx
cmp dword [0x488cd4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x44f92b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x44f896
xor eax, eax
jmp 0x44f9ef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44f88f
push eax
call fcn.00442f43
mov dword [esp], 0x465010
push edi
mov dword [0x488cd4], eax
call esi
push eax
call fcn.00442f43
mov dword [esp], 0x464ffc
push edi
mov dword [0x488cd8], eax
call esi
push eax
call fcn.00442f43
mov dword [0x488cdc], eax
lea eax, [ebp - 8]
push eax
call fcn.0043acbb
test eax, eax
pop ecx
pop ecx
je 0x44f8f9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043c154
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44f92b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00442f43
cmp eax, ebx
pop ecx
mov dword [0x488ce4], eax
je 0x44f92b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442f43
pop ecx
mov dword [0x488ce0], eax
mov eax, dword [0x488ce0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x44f9a4
cmp dword [0x488ce4], esi
je 0x44f9a4
push eax
call fcn.00442faf
pop ecx
call eax
cmp eax, ebx
je 0x44f971
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x488ce4]
call fcn.00442faf
pop ecx
call eax
test eax, eax
je 0x44f971
test byte [ebp - 0x18], 1
jne 0x44f9a4
lea eax, [ebp - 0xc]
push eax
call fcn.0043acf2
test eax, eax
pop ecx
je 0x44f98c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043c154
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44f99b
or dword [ebp + 0x10], 0x200000
jmp 0x44f9d5
or dword [ebp + 0x10], 0x40000
jmp 0x44f9d5
mov eax, dword [0x488cd8]
cmp eax, esi
je 0x44f9d5
push eax
call fcn.00442faf
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44f9d5
mov eax, dword [0x488cdc]
cmp eax, esi
je 0x44f9d5
push dword [ebp - 4]
push eax
call fcn.00442faf
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x488cd4]
call fcn.00442faf
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4574fe
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4849a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00457493
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043d8e0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x45754d
cmp dword [ebp - 0x1c], 5
jb 0x457565
jmp 0x457561
cmp dword [ebp - 0x10], 1
jne 0x457565
cmp dword [ebp - 0x1c], 4
ja 0x457561
jne 0x457565
cmp dword [ebp - 0x18], 0
jbe 0x457565
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x467104
call fcn.00457367
test eax, eax
jge 0x457586
mov byte [0x488f6b], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043a2d7
add ebp, 0x78
leave
ret
Function at 0x10009910
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
movzx eax, word [ebx + 6]
mov edi, ecx
mov ecx, 0xffff
mov dword [esp + 0x14], edi
mov esi, eax
cmp ax, cx
je 0x10009948
push ebx
call sub.tbb12.dll_unsigned_short_int___cdecl_tbb::detail::r1::execution_slot_struct_tbb::detail::d1::execution_data_const__
add esp, 4
cmp si, ax
je 0x10009948
push ebx
call sub.tbb12.dll_unsigned_short_int___cdecl_tbb::detail::r1::execution_slot_struct_tbb::detail::d1::execution_data_const__
add esp, 4
cmp dword [edi + 0x60], 0
lea esi, [edi + 0x60]
jne 0x1000998b
push ebx
mov dword [esi], 1
call fcn.1000aa60
add esp, 4
test al, al
je 0x1000998b
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 4]
cmp eax, 2
jl 0x1000998b
mov eax, dword [edi + 0x5c]
mov edx, 1
mov byte [eax + 0xc], 1
mov al, byte [esi + 8]
test al, al
movzx ecx, al
cmove ecx, edx
inc cl
mov byte [esi + 8], cl
mov eax, dword [edi + 0x44]
lea ebp, [edi + 0x40]
sub eax, dword [ebp]
cmp dword [ebp + 8], eax
jb 0x100099a8
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
cmp dword [ebp + 0x14], eax
jae 0x10009abe
mov eax, dword [esi]
cmp eax, 1
ja 0x100099cd
test eax, eax
je 0x10009abe
mov al, byte [esi + 8]
test al, al
je 0x10009abe
dec al
mov dword [esi], 0
mov byte [esi + 8], al
lea eax, [esp + 0x1c]
push eax
call fcn.10015540
add esp, 4
mov byte [esp + 0x1c], al
nop
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push 0x80
push eax
call sub.tbb12.dll_void____cdecl_tbb::detail::r1::allocate_class_tbb::detail::d1::small_object_pool____unsigned_int__struct_tbb::detail::d1::execution_data_const__
mov edi, eax
push 0x30
push 0
lea ecx, [edi + 0x10]
mov dword [edi + 8], 0
push ecx
mov dword [edi + 0xc], 0
call fcn.100263d0
add esp, 0x18
mov dword [edi], vtable.tbb::detail::d1::start_for_class_Intel::OpenCL::TaskExecutor::BlockedRangeByTile2d__struct_TaskLoopBody2D_class_Intel::OpenCL::TaskExecutor::BlockedRangeByTile2d___class_tbb::detail::d1::auto_partitioner_const__.0
Function at 0x10009a52
Capabilities:
Terminate process

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push dword [0x10059f2c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [0x10059f3c]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x7530
call eax
push dword [0x10059f48]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [0x10059f48]
mov esi, eax
push esi
call fcn.10009a1e
push 0x104
push esi
push dword [0x10059f38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [str.IDRService.exe]
mov ecx, edi
cmp word [esi], di
je 0x10009ac5
inc ecx
cmp word [esi + ecx*2], di
jne 0x10009abe
push 0x5c
pop edx
jmp 0x10009ad1
xor eax, eax
mov word [esi + ecx*2], ax
dec ecx
cmp word [esi + ecx*2 - 2], dx
jne 0x10009aca
movzx eax, word [ebx]
mov edx, edi
mov edi, eax
test ax, ax
je 0x10009af7
lea eax, [esi + ecx*2]
inc edx
mov word [eax], di
lea eax, [eax + 2]
movzx edi, word [ebx + edx*2]
test di, di
jne 0x10009ae7
push 0x44
lea eax, [esp + 0x24]
push eax
call fcn.10009a1e
push 0x10
lea eax, [esp + 0x14]
push eax
call fcn.10009a1e
push dword [0x10059f44]
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x10]
xor ebx, ebx
push ecx
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call eax
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]