joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419505
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x46b730]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test dword [0x46d24c], 0x2000
je 0x419531
call fcn.0041ac8e
jmp 0x4195c6
push ebx
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0041ad63
pop ecx
pop ecx
test eax, eax
je 0x4195c5
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x408294
call fcn.0042e16d
call fcn.00417fc1
test al, al
je 0x4195c3
push edi
call fcn.004181cc
push 1
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00418006
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x4195c2
push esi
lea eax, [ebp - 0x20c]
push eax
push 1
push edi
call fcn.00418291
add esp, 0x10
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x414]
test esi, esi
jne 0x4195b3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4195c2
push ebx
push 0x46d29c
push eax
call fcn.00417210
add esp, 0xc
pop edi
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041b956
leave
ret
Function at 0x41a1be
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x46b730]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov byte [eax], bl
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
mov esi, ebx
mov byte [edi], 1
call fcn.0041abe5
mov dword [ebp - 0x220], eax
cmp eax, 3
je 0x41a3d8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041a193
pop ecx
pop ecx
test eax, eax
je 0x41a3d8
xor eax, eax
inc eax
push eax
push ebx
push 0x80
push 3
push ebx
push eax
push SysReAllocString
lea eax, [ebp - 0x20c]
push eax
call fcn.0042ee56
mov dword [ebp - 0x210], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x210]
cmp ecx, 0xffffffff
jne 0x41a276
cmp eax, 0x20
jne 0x41a26c
push 0x1c8016
call fcn.00419d97
mov eax, ebx
mov byte [edi], al
jmp 0x41a3d8
cmp eax, 5
je 0x41a263
xor eax, eax
inc eax
jmp 0x41a265
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi - 0x8c]
cmp eax, 0xf74
ja 0x41a3c2
push edi
call fcn.00416fe4
mov esi, eax
test esi, esi
je 0x41a3c2
push ebx
lea eax, [ebp - 0x218]
push eax
push edi
push esi
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a3c2
cmp edi, dword [ebp - 0x218]
jne 0x41a3c2
push ebx
push edi
push esi
call fcn.00417ee5
add esp, 0xc
test eax, eax
je 0x41a3c2
cmp dword [esi + 0x78], ebx
jne 0x41a3c2
mov eax, dword [esi + 0x7c]
push 0xc
xor edx, edx
pop ecx
div ecx
mov ecx, eax
imul ecx, ecx, 0xc
mov dword [ebp - 0x214], eax
cmp dword [esi + 0x7c], ecx
jne 0x41a3c2
lea edi, [esi + 0x80]
test eax, eax
jle 0x41a396
cmp dword [edi], 0x2102
ja 0x41a33c
je 0x41a35c
cmp dword [edi], 0x10
je 0x41a35c
cmp dword [edi], 0x195b
je 0x41a35c
cmp dword [edi], 0x19df
jbe 0x41a36c
cmp dword [edi], 0x19e2
jbe 0x41a35c
jmp 0x41a36c
cmp dword [edi], 0x24c8
jb 0x41a36c
cmp dword [edi], 0x24cb
jbe 0x41a35c
cmp dword [edi], 0x24cd
je 0x41a35c
cmp dword [edi], 0x2696
jne 0x41a36c
push dword [edi + 4]
push dword [edi]
call fcn.00417329
mov eax, dword [ebp - 0x214]
cmp dword [edi], 0x195b
je 0x41a384
cmp dword [edi], 0x19e1
je 0x41a384
cmp dword [edi], 0x24cd
jne 0x41a385
inc ebx
add edi, 0xc
dec eax
mov dword [ebp - 0x214], eax
jne 0x41a313
cmp ebx, 3
je 0x41a3a4
call fcn.0042f840
test eax, eax
je 0x41a3af
cmp ebx, 2
jl 0x41a3af
mov ecx, dword [ebp - 0x21c]
mov byte [ecx], 1
jmp 0x41a3c2
xor eax, eax
inc eax
cmp dword [ebp - 0x220], eax
jne 0x41a3c2
mov ecx, dword [ebp - 0x21c]
mov byte [ecx], al
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41a3d8
push esi
call fcn.00416ff4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b956
leave
ret

Function at 0x41a574
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x46b730]
xor eax, ebp
lds ecx, [ecx + 0x5653fc45]
Function at 0x41a9fe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x46b730]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push 0x118
lea eax, [ebp - 0x11c]
push esi
push eax
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], esi
call fcn.0041b964
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 1
push esi
push 0x4084cc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41aaa6
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x134]
push eax
push esi
push 0x4084f8
push dword [ebp - 0x128]
mov dword [ebp - 0x12c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41aa98
push dword [ebp - 0x130]
push 0x22df
call fcn.00417329
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41aab0
push 0x1c800b
call fcn.00419d97
lea eax, [ebp - 0x120]
push eax
call fcn.0043075b
pop ecx
pop esi
test al, al
je 0x41ab31
push dword [ebp - 0x114]
push 0x1a
call fcn.00417329
movzx ecx, word [ebp - 0xc]
movzx eax, word [ebp - 0xa]
shl ecx, 0x10
or ecx, eax
push ecx
push 0x43
call fcn.00417329
movzx eax, word [ebp - 8]
push eax
push 0x3a5
call fcn.00417329
push dword [ebp - 0x11c]
push 0x22e1
call fcn.00417329
push dword [ebp - 0x118]
push 0x22e2
call fcn.00417329
movzx eax, word [ebp - 0xc]
push eax
push 0x22e4
call fcn.00417329
movzx eax, word [ebp - 0xa]
push eax
push 0x22e5
call fcn.00417329
lea eax, [ebp - 0x124]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
test eax, eax
je 0x41ab6a
push dword [ebp - 0x124]
push 0x1af7
call fcn.00417329
jmp 0x41ab80
push 0xffffffffffffffff
push 0x1af7
call fcn.00417329
push 0x1c800c
call fcn.00419d97
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b956
leave
ret

Function at 0x41ab9a
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x46b730]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
add ecx, 0x80000
adc eax, 0
shrd ecx, eax, 0x14
push ecx
push 0xc
shr eax, 0x14
call fcn.00417329
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b956
leave
ret
Function at 0x41ad63
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
call fcn.0042f7c2
test eax, eax
je 0x41ad86
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.0042f01f
pop ecx
pop ecx
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 8]
push 1
push dword [ebp + 0xc]
call fcn.0041b0e6
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x41ae14
push edi
call fcn.004171e8
cmp word [edi + eax*2 - 2], 0x5c
pop ecx
je 0x41adc7
push 0xffffffffffffffff
push 0x408548
push dword [ebp + 0xc]
push edi
call fcn.0041c70c
xor ebx, ebx
add esp, 0x10
cmp eax, 0x50
setne bl
test ebx, ebx
je 0x41ae14
push 0xffffffffffffffff
push 0x40854c
push dword [ebp + 0xc]
push edi
call fcn.0041c70c
xor ebx, ebx
add esp, 0x10
cmp eax, 0x50
setne bl
test ebx, ebx
je 0x41ae14
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41ae14
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax - 0xb7]
neg ebx
sbb ebx, ebx
inc ebx
jne 0x41ae14
push 0x1cb247
call fcn.00419d97
pop edi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x41af64
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
jne 0x41af84
push 0x1cb21e
call fcn.00419d97
jmp 0x41b0e3
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x41af9b
push 0x1cb21f
call fcn.00419d97
jmp 0x41b0e2
push ebx
mov ebx, dword [ebp + 8]
push 2
pop ecx
cmp ebx, ecx
je 0x41afba
cmp ebx, 8
je 0x41afba
cmp ebx, 3
je 0x41afba
push 0x1cb220
jmp 0x41b0b5
cmp dword [eax], esi
je 0x41afc8
push 0x1cb221
call fcn.00419d97
cmp dword [edi], esi
je 0x41afd6
push 0x1cb222
call fcn.00419d97
push edi
push esi
push ebx
mov dword [edi], esi
call sub.Secur32.dll_GetUserNameExW
movzx esi, al
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x41b0bc
cmp eax, 0xea
jne 0x41b0bc
mov eax, dword [edi]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041c02b
mov esi, dword [ebp + 0xc]
pop ecx
mov ecx, eax
mov dword [esi], ecx
test ecx, ecx
jne 0x41b025
push 0x1cb240
jmp 0x41b09d
mov eax, dword [edi]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ecx
push ebx
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x41b040
push 0x1cb241
jmp 0x41b09d
mov eax, dword [edi]
dec eax
cmp dword [ebp - 4], eax
je 0x41b052
push 0x1cb242
call fcn.00419d97
push 2
pop eax
cmp ebx, eax
jne 0x41b06e
push dword [edi]
mov eax, dword [esi]
call fcn.0041af02
pop ecx
test eax, eax
jne 0x41b0e1
push 0x1cb243
jmp 0x41b09d
cmp ebx, 8
jne 0x41b0ab
cmp dword [esi], 0
jne 0x41b07f
push 0x1cb21c
jmp 0x41b093
push 0x40
push dword [esi]
call fcn.0041c6e5
pop ecx
pop ecx
test eax, eax
jne 0x41b0a4
push 0x1cb21d
call fcn.00419d97
push 0x1cb244
call fcn.00419d97
jmp 0x41b0c9
xor ecx, ecx
mov word [eax], cx
jmp 0x41b0e1
cmp ebx, 3
je 0x41b0e1
push 0x1cb245
call fcn.00419d97
jmp 0x41b0e1
push 0x1cb223
call fcn.00419d97
mov esi, dword [ebp + 0xc]
cmp dword [esi], 0
je 0x41b0d9
push dword [esi]
call fcn.0041c036
and dword [esi], 0
pop ecx
cmp dword [edi], 0
je 0x41b0e1
and dword [edi], 0
pop ebx
pop edi
pop esi
leave
ret

Function at 0x41b0e6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x46b730]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 1
push 0x1c
push edi
xor esi, esi
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41b161
push dword [ebp + 8]
push edi
push 0x40850c
call fcn.0042e16d
inc esi
cmp dword [ebp + 0xc], 0
je 0x41b161
push edi
call fcn.0042f082
test eax, eax
jne 0x41b161
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00417210
add esp, 0xc
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x408534
call fcn.0042efb0
lea eax, [ebp - 0x20c]
push eax
call fcn.0042f0a1
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b956
leave
ret
Function at 0x41b2bb
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x46b730]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40c], eax
test esi, esi
jne 0x41b304
xor eax, eax
jmp 0x41b47e
and dword [esi], 0
push ebx
push edi
xor edi, edi
inc edi
push edi
push eax
push ecx
push 0x400
lea eax, [ebp - 0x404]
push eax
call fcn.00430c75
mov ecx, dword [ebp - 0x40c]
and dword [ebp - 0x408], 0
and dword [ebp - 0x41c], 0
mov ebx, eax
mov eax, ecx
shr eax, 0x1a
not eax
and eax, edi
mov dword [ebp - 0x410], eax
test ebx, ebx
je 0x41b36b
mov eax, ecx
shr eax, 0x17
push ebx
and eax, edi
push eax
push 0x120001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov ecx, dword [ebp - 0x40c]
mov dword [esi], eax
mov eax, dword [ebp - 0x410]
cmp dword [esi], 0
jne 0x41b418
test eax, eax
je 0x41b418
and dword [ebp - 0x418], 0
push edi
lea eax, [ebp - 0x414]
push eax
push ecx
call fcn.00430afc
test eax, eax
je 0x41b3fa
mov eax, dword [ebp - 0x40c]
shr eax, 0x19
push ebx
and eax, edi
push eax
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x418], eax
push edi
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x40c]
call fcn.00430c30
mov ecx, dword [ebp - 0x418]
cmp ecx, 5
jne 0x41b400
cmp dword [ebp - 0x41c], 0
jne 0x41b400
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x41c], edi
jmp 0x41b345
mov ecx, dword [ebp - 0x418]
cmp dword [esi], 0
je 0x41b418
xor eax, eax
cmp ecx, 0xb7
setne al
mov dword [ebp - 0x408], eax
jmp 0x41b41e
mov eax, dword [ebp - 0x408]
cmp dword [esi], 0
je 0x41b428
cmp dword [esi], 0xffffffff
jne 0x41b448
cmp dword [ebp - 0x410], 0
je 0x41b43b
push 0x6b633230
call fcn.00419d97
and dword [esi], 0
xor eax, eax
mov dword [ebp - 0x408], eax
xor edi, edi
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x41b46e
test ebx, ebx
jne 0x41b45b
mov ebx, 0x40811d
push dword [ebp + 0x14]
push ecx
push ebx
call fcn.0041b265
mov eax, dword [ebp - 0x408]
add esp, 0xc
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x41b47a
mov dword [ecx], eax
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041b956
leave
ret 0x1c

Function at 0x41b956
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46b730]
jne fcn.0041d32a
repz ret
Function at 0x41d32a
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x46d8f8], eax
mov dword [0x46d8f4], ecx
mov dword [0x46d8f0], edx
mov dword [0x46d8ec], ebx
mov dword [0x46d8e8], esi
mov dword [0x46d8e4], edi
mov word [0x46d910], ss
mov word [0x46d904], cs
mov word [0x46d8e0], ds
mov word [0x46d8dc], es
mov word [0x46d8d8], fs
mov word [0x46d8d4], gs
pushfd
pop dword [0x46d908]
mov eax, dword [ebp]
mov dword [0x46d8fc], eax
mov eax, dword [ebp + 4]
mov dword [0x46d900], eax
lea eax, [ebp + 8]
mov dword [0x46d90c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x46d848], 0x10001
mov eax, dword [0x46d900]
mov dword [0x46d7fc], eax
mov dword [0x46d7f0], 0xc0000409
mov dword [0x46d7f4], 1
mov eax, dword [0x46b730]
mov dword [ebp - 0x328], eax
mov eax, dword [0x46b734]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x46d840], eax
push 1
call fcn.0041eef3
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x408760
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x46d840], 0
jne 0x41d416
push 1
call fcn.0041eef3
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x423979
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46b730]
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 fcn.0041e10d
and dword [ebp - 0x14], 0
cmp dword [0x46e524], 0
mov dword [ebp - 0x18], eax
jne 0x423a2c
push 0x409588
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x423ad4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40957c
push ebx
call edi
test eax, eax
je 0x423ad4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40956c
push ebx
mov dword [0x46e524], eax
call edi
push eax
call esi
push 0x409558
push ebx
mov dword [0x46e528], eax
call edi
push eax
call esi
push 0x40953c
push ebx
mov dword [0x46e52c], eax
call edi
push eax
call esi
mov dword [0x46e534], eax
test eax, eax
je 0x423a2c
push 0x409524
push ebx
call edi
push eax
call esi
mov dword [0x46e530], eax
mov eax, dword [0x46e530]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x423a85
cmp dword [0x46e534], ecx
je 0x423a85
push eax
call esi
push dword [0x46e534]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x423a85
test ebx, ebx
je 0x423a85
call edi
test eax, eax
je 0x423a7c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x423a7c
test byte [ebp - 8], 1
jne 0x423a85
or dword [ebp + 0x10], 0x200000
jmp 0x423ab8
mov eax, dword [0x46e528]
cmp eax, dword [ebp - 0x18]
je 0x423ab8
push eax
call esi
test eax, eax
je 0x423ab8
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x423ab8
mov eax, dword [0x46e52c]
cmp eax, dword [ebp - 0x18]
je 0x423ab8
push eax
call esi
test eax, eax
je 0x423ab8
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46e524]
call esi
test eax, eax
je 0x423ad4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x423ad6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b956
leave
ret

Function at 0x42bfcc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
inc esi
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42bffb
xor eax, eax
jmp 0x42c023
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x42c018
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 4
Function at 0x42c0de
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x46b730]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov ebx, 0x104
lea eax, [ebp - 0x20c]
cmp dword [ebp + 8], esi
je 0x42c129
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x42c115
cmp eax, ebx
jbe 0x42c139
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30303030
call fcn.00419d97
xor eax, eax
jmp 0x42c19a
push 1
push 0x1c
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42c11b
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x409e48
call fcn.0042e16d
cmp dword [ebp + 8], esi
jne 0x42c168
push 0x409e70
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c042
test eax, eax
je 0x42c168
xor esi, esi
inc esi
push 0x409e84
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c042
test eax, eax
je 0x42c180
or esi, 2
push 0x409e98
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c042
test eax, eax
je 0x42c198
or esi, 4
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b956
leave
ret 4

Function at 0x42c1cf
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x46b730]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42c230
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x42c224
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041b956
leave
ret
Function at 0x42c68f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x46b730]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x670]
push ebx
push eax
mov dword [ebp - 0x674], 0x44
call fcn.0041b964
xor eax, eax
mov dword [ebp - 0x630], ebx
lea edi, [ebp - 0x62c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov esi, edi
neg esi
sbb esi, esi
push 0x409ff0
and esi, 0x3a980
call fcn.0042c651
test eax, eax
je 0x42c7bd
test esi, esi
je 0x42c704
test edi, edi
je 0x42c704
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c374
test eax, eax
je 0x42c7bd
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x71
push eax
push 0x40a020
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.0041b938
add esp, 0x18
push ebx
lea eax, [ebp - 0x620]
push eax
push ebx
push 0x72
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x42c760
cmp dword [ebp - 0x620], ebx
jne 0x42c7bd
test edi, edi
je 0x42c778
push 7
pop eax
mov dword [ebp - 0x648], 1
mov word [ebp - 0x644], ax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x674]
push eax
push ebx
push ebx
push 0x4000020
push ebx
push ebx
push ebx
lea eax, [ebp - 0x61c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42c7bd
push dword [ebp - 0x630]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x62c]
call esi
xor eax, eax
inc eax
jmp 0x42c7bf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b956
leave
ret 8

Function at 0x42c836
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x46b730]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x464]
push ebx
push eax
mov dword [ebp - 0x468], 0x44
call fcn.0041b964
xor eax, eax
mov dword [ebp - 0x424], ebx
lea edi, [ebp - 0x420]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push esi
stosd dword es:[edi], eax
call fcn.0041b6d9
cmp eax, 0x104
jg 0x42c8ec
push dword [ebp + 0xc]
lea eax, [ebp - 0x414]
push 0x6b
push esi
push 0x40a020
push 0x208
push eax
call fcn.0041b938
add esp, 0x18
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
push 0x4000020
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42c8ec
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x420]
call esi
jmp 0x42c8f6
push 0x30303030
call fcn.00419d97
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b956
leave
ret 8
Function at 0x42ca57
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0042cf11
test eax, eax
je 0x42cac8
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42cac8
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push 0x40a098
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42cabe
cmp dword [ebp - 0x10], 1
je 0x42cabe
mov word [esi], ax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 0xc