joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d3614
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
mov eax, dword [0x734054]
cmp dword [eax], 1
jne 0x6d3709
push 0x6d3804
push 0x6d3834
call sub.user32.dll_FindWindowW
test eax, eax
je 0x6d3646
mov byte [ebp - 1], 1
jmp 0x6d37fa
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.00403cd8
mov dword [ebp - 0x54], 0x44
mov eax, 0x104
call fcn.00403254
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6d3702
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0x104
push 0
push 0x6d3854
push 0
call sub.kernel32.dll_SearchPathW
test eax, eax
jne 0x6d36a3
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x6d36ec
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x210
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x6d36d6
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x6d36ec
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d37fa
mov eax, dword [ebp - 8]
call fcn.00403270
ret
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
test ebx, ebx
jne 0x6d372a
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x6d37fa
push 4
push 0x6d386c
push ebx
call sub.advapi32.dll_OpenServiceW
mov esi, eax
test esi, esi
jne 0x6d374c
push 0x10
push 0x6d386c
push ebx
call sub.advapi32.dll_OpenServiceW
mov esi, eax
mov eax, ebx
call fcn.00523fb0
test esi, esi
jne 0x6d3767
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x6d37fa
lea eax, [ebp - 0x80]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
jne 0x6d3789
mov eax, esi
call fcn.00523fb0
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x6d37fa
cmp dword [ebp - 0x7c], 4
jne 0x6d379c
mov eax, esi
call fcn.00523fb0
mov byte [ebp - 1], 1
jmp 0x6d37fa
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.00523fb0
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
push 0x10
push 0x6d386c
push ebx
call sub.advapi32.dll_OpenServiceW
mov esi, eax
mov eax, ebx
call fcn.00523fb0
lea eax, [ebp - 0x10]
push eax
push 0
push esi
call sub.advapi32.dll_StartServiceW
test eax, eax
jne 0x6d37ef
mov eax, esi
call fcn.00523fb0
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete byte [ebp - 1]
jmp 0x6d37fa
mov eax, esi
call fcn.00523fb0
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6e5ef0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6e5f68
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00472180
cmp dword [ebp - 4], 0
je 0x6e5f52
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00406e68
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x6e5f52
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e5f6f
lea eax, [ebp - 4]
call fcn.00406dcc
ret

Function at 0x6e603c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x6e6109
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov esi, 8
mov ebx, 0x732dec
mov edx, dword [ebx]
mov eax, edi
call fcn.0046e948
test al, al
jne 0x6e60ee
add ebx, 4
dec esi
jne 0x6e6066
lea edx, [ebp - 8]
mov eax, edi
call fcn.00472180
cmp dword [ebp - 8], 0
je 0x6e60ee
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.004708a0
test al, al
jne 0x6e60ee
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x6e60a3
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
lea edx, [ebx + 1]
mov ecx, 0x7fffffff
mov eax, edi
call fcn.00407430
mov edx, 0x6e6128
mov eax, dword [ebp - 4]
call fcn.0046e948
test al, al
jne 0x6e60ee
mov eax, dword [ebp - 8]
call fcn.00406e68
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
jne 0x6e60ee
mov eax, edi
call fcn.00406e68
call fcn.00523e88
test eax, eax
jne 0x6e60ee
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e6110
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406dd4
ret

Function at 0x6e7238
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], eax
mov eax, 0xedb88320
xor esi, esi
mov ebx, dword [esp]
mov edx, esi
mov ecx, 0xfffffff8
mov edi, edx
and edi, 1
dec edi
jne 0x6e725e
shr edx, 1
xor edx, eax
jmp 0x6e7260
shr edx, 1
inc ecx
jne 0x6e7250
mov dword [ebx], edx
inc esi
add ebx, 4
cmp esi, 0x100
jne 0x6e7249
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x6e72ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
xor edx, edx
mov dword [ebp - 0x20c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6e7360
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x23
lea eax, [ebp - 0x208]
push eax
mov eax, dword [0x737b20]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.00406fdc
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.00479b20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e7367
lea eax, [ebp - 0x20c]
call fcn.00406dcc
ret
Function at 0x6e736c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6e73db
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20a]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406fdc
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.00479b20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e73e2
lea eax, [ebp - 0x210]
call fcn.00406dcc
ret

Function at 0x6f19c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
add ebx, 0xfffffffc
mov eax, dword [ebx]
call fcn.006f23a0
mov eax, dword [ebx]
add eax, 0x864
xor edx, edx
call fcn.00406ddc
mov eax, dword [ebx]
mov byte [eax + 0x874], 0
mov eax, dword [ebx]
call fcn.0070992c
mov eax, dword [ebx]
add eax, 0x898
mov edx, 0x6f1a88
call fcn.00406ddc
mov eax, dword [ebx]
add eax, 0x8a0
mov edx, 0x6f1a88
call fcn.00406ddc
mov eax, dword [ebx]
add eax, 0x8a8
mov edx, 0x6f1a88
call fcn.00406ddc
mov eax, dword [ebx]
mov eax, dword [eax + 0x894]
mov edx, 0x6f1a98
call fcn.00407428
je 0x6f1a5e
mov eax, dword [ebx]
mov eax, dword [eax + 0x89c]
mov edx, 0x6f1a98
call fcn.00407428
je 0x6f1a5e
mov eax, dword [ebx]
mov eax, dword [eax + 0x8a4]
mov edx, 0x6f1a98
call fcn.00407428
jne 0x6f1a65
mov eax, dword [ebx]
call fcn.00709ae0
mov eax, dword [ebx]
call fcn.00709c28
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
pop ebx
pop ebp
ret
Function at 0x10001e10
Capabilities:
Check for sandbox and av modules

Disassembly:
push str.pstorec.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
jne 0x10001e31
push str.pstorec.dll
call fcn.10004550
add esp, 4
test eax, eax
jne 0x10001e31
ret
push str.PStoreCreateInstance
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
ret

Function at 0x10002150
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xfffffffffffffffe
push 0x100474a8
push 0x10037882
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1004f860]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c], 0xff
or ebx, 0xffffffff
push str.Secur32.dll
call fcn.10004550
add esp, 4
mov dword [ebp - 0x1c], eax
push str.LsaEnumerateLogonSessions
push eax
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call esi
mov edi, eax
push str.LsaGetLogonSessionData
mov eax, dword [ebp - 0x1c]
push eax
call esi
mov dword [ebp - 0x40], eax
push str.LsaFreeReturnBuffer
mov ecx, dword [ebp - 0x1c]
push ecx
call esi
mov dword [ebp - 0x30], eax
xor esi, esi
cmp edi, esi
je 0x100021fa
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x24]
push eax
call edi
mov ebx, eax
cmp ebx, esi
je 0x10002205
mov dword [ebp - 0x24], 1
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [ebp - 0x24]
jge 0x100022a2
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x40]
cmp eax, esi
je 0x100022a2
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x28]
lea ecx, [edx + ebx*8]
push ecx
call eax
cmp eax, esi
jne 0x100022a2
mov edi, dword [ebp - 0x20]
cmp dword [edi + 0x20], esi
je 0x10002298
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp]
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x10]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10002277
cmp dx, si
je 0x10002273
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10002277
add eax, 4
add ecx, 4
cmp dx, si
jne 0x10002251
xor eax, eax
jmp 0x1000227c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x10002298
mov eax, dword [edi + 4]
mov dword [ebp - 0x48], eax
mov ecx, dword [edi + 8]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ebx
push edi
call dword [ebp - 0x30]
inc ebx
jmp 0x10002207
mov eax, dword [ebp - 0x30]
cmp eax, esi
je 0x100022af
mov edx, dword [ebp - 0x28]
push edx
call eax
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x100022bd
push eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
jmp 0x100022ee
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.1003779c
lea esp, [ebp + 0x204]
pop ebp
ret 8
Function at 0x10002f60
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x1004fbac], esi
jne 0x10002f9c
call dword [sym.imp.kernel32.dll_GetVersion]
test eax, eax
jns 0x10002f92
push str.___.___
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x1004fba8], eax
mov dword [0x1004fbac], 1
mov eax, dword [0x1004fba8]
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x10002fb9
push edi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x10002ff5
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp]
test eax, eax
jne 0x10002fea
call dword [sym.imp.kernel32.dll_GetVersion]
test eax, eax
mov eax, dword [esp + 0x14]
jns 0x10002fdb
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
jmp 0x10002fe0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
call edx
test eax, eax
je 0x10002ffd
mov dword [ebp], eax
push edi
push eax
call ebx
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret 0xc
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
ret 0xc

Function at 0x10003080
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x100030c0
push str.Advapi32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x100030cd
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x100030cd
mov ecx, dword [esi]
mov edx, dword [esp + 0xc]
push 0
push ecx
mov ecx, dword [esp + 0x10]
push 0
push 0
push edx
push ecx
call eax
pop esi
ret 8
cmp dword [esi + 4], 0
je 0x100030cd
pop esi
jmp dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
pop esi
ret 8

Function at 0x10003210
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
lea eax, [esp]
push eax
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10003249
mov eax, dword [esp + 0xc]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
pop ecx
ret 8

Function at 0x10003250
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100032c6
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x10003295
cmp eax, 2
jne 0x100032b1
mov eax, dword [esp + 0x14]
test esi, esi
je 0x100032c0
test eax, eax
je 0x100032bb
test al, 1
jne 0x100032b1
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x100032c0
pop edi
mov eax, 0xd
pop esi
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x10003390
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x114], eax
cmp dword [0x1004fbc0], 0
jne 0x10003400
push 0x114
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov eax, dword [esp + 0x10]
mov ecx, 1
cmp eax, 2
ja 0x100033f4
jne 0x100033fa
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x100033f4
jne 0x100033fa
cmp dword [esp + 8], ecx
jb 0x100033fa
mov dword [0x1004fbbc], ecx
mov dword [0x1004fbc0], ecx
mov ecx, dword [esp + 0x114]
mov eax, dword [0x1004fbbc]
xor ecx, esp
call fcn.1003779c
add esp, 0x118
ret

Function at 0x100034e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x114], eax
cmp dword [0x1004fbd0], 0
je 0x10003517
mov eax, dword [0x1004fbcc]
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1003779c
add esp, 0x118
ret
push 0x114
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.kernel32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x10003552
cmp dword [esp + 4], 6
jb 0x10003552
mov eax, 1
jmp 0x10003554
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov dword [0x1004fbcc], eax
mov dword [0x1004fbd0], 1
call fcn.1003779c
add esp, 0x118
ret

Function at 0x100035c0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp]
push eax
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
xor eax, eax
cmp word [esp], 9
sete al
add esp, 0x24
ret

Function at 0x10003740
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x10003749
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
ret
Function at 0x10003780
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push 0x44
lea eax, [esp + 0x18]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea edx, [esp]
push edx
xor ecx, ecx
push 0x2000000
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x48], 1
mov word [esp + 0x4c], cx
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000380d
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1000380d
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 8]
push 0
push 0
push 0x8000008
push 0
push 0
push 0
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x10003813
xor eax, eax
add esp, 0x58
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 4]
push esi
push eax
push ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
mov eax, 1
pop esi
add esp, 0x58
ret

Function at 0x10003c30
Capabilities:
Print debug messages

Disassembly:
push edi
xor edi, edi
cmp dword [0x1004fb70], edi
je 0x10003c46
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp dword [0x1004fb68], edi
je 0x10003c57
mov eax, 1
pop edi
ret 4
push esi
cmp dword [0x1004fb70], edi
jne 0x10003c69
call fcn.10003a30
test eax, eax
je 0x10003cab
mov eax, dword [0x1004fbdc]
mov esi, dword [0x1004f094]
test eax, eax
jne 0x10003c95
push str.ActivateActCtx
push 0x1004fbb0
push 0x1003aa3c
call fcn.10002f60
test eax, eax
je 0x10003cab
mov dword [0x1004fbdc], eax
mov ecx, dword [esp + 0xc]
push ecx
push esi
call eax
test eax, eax
je 0x10003cab
pop esi
mov eax, 1
pop edi
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7f
je 0x10003cc0
cmp eax, 0x7e
je 0x10003cc0
cmp eax, 0x78
jne 0x10003ccf
mov eax, 1
pop esi
mov dword [0x1004fb68], eax
pop edi
ret 4
pop esi
mov eax, edi
pop edi
ret 4
Function at 0x10003d00
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x220
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.10003190
mov ebx, eax
cmp ebx, esi
je 0x10003d65
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x10003d5e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x10003e01
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push esi
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
push eax
mov dword [esp + 0x3c], pe_nt_image_headers32
call ebp
test eax, eax
jne 0x10003dcc
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10003d00
mov ebx, eax
cmp ebx, esi
jne 0x10003e1b
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
push esi
push edx
mov dword [esp + 0x3c], pe_nt_image_headers32
call ebp
test eax, eax
je 0x10003d92
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x10003de1
push eax
call ebx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x18], esi
call fcn.100030e0
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x10003dfe
push eax
call ebx
mov eax, edi
pop ebp
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x220
ret 4
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x10003e2a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x10003e00
Function at 0x10004550
Capabilities:
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
mov esi, dword [esp + 0x41c]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x100045fd
cmp eax, 0x104
ja 0x100045fd
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x216]
push ecx
mov word [esp + 0x218], ax
call sub.MSVCR100.dll_memset
push esi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x220]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea ecx, [esp + 0x20c]
push ecx
call fcn.10030fd0
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.1003779c
add esp, 0x414
ret
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
xor eax, eax
call fcn.1003779c
add esp, 0x414
ret
Function at 0x100047e0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1040
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x103c], eax
push ebx
push esi
push edi
xor eax, eax
push 0xffe
push eax
lea ecx, [esp + 0x52]
push ecx
mov word [esp + 0x54], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x800
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x1000499a
mov esi, dword [sym.imp.kernel32.dll_GetModuleHandleW]
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x14], 0
call esi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x10004870
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call ebx
cmp dword [esp + 0xc], 0
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x10]
je 0x10004946
call fcn.10002e00
push str._system32javaws.exe
lea ecx, [esp + 0x14]
call fcn.10002e00
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.10004760
lea ecx, [esp + 0x10]
call fcn.10002330
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call esi
push eax
call edi
push str.Wow64RevertWow64FsRedirection
push str.kernel32
mov ebx, eax
call esi
push eax
call edi
mov esi, eax
test ebx, ebx
je 0x10004991
test esi, esi
je 0x10004991
lea eax, [esp + 0x14]
push eax
call ebx
test eax, eax
je 0x10004991
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100048fb
mov eax, dword [eax]
jmp 0x100048fd
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.MSVCR100.dll__wstat64i32]
add esp, 8
test eax, eax
jne 0x1000493d
mov edx, dword [esp + 0x14]
push edx
call esi
lea ecx, [esp + 0xc]
call fcn.10002330
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x103c]
xor ecx, esp
call fcn.1003779c
add esp, 0x1040
ret
mov eax, dword [esp + 0x14]
push eax
call esi
jmp 0x10004991
call fcn.10002e00
push str._sysWow64javaws.exe
lea ecx, [esp + 0x14]
call fcn.10002e00
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.10004760
lea ecx, [esp + 0x10]
call fcn.10002330
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000497c
mov eax, dword [eax]
jmp 0x1000497e
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.MSVCR100.dll__wstat64i32]
add esp, 8
test eax, eax
je 0x10004917
lea ecx, [esp + 0xc]
call fcn.10002330
mov ecx, dword [esp + 0x1048]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1003779c
add esp, 0x1040
ret