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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x24
push ebx
mov ebx, dword [eax + 0xb4]
push esi
push edi
xor edi, edi
test ebx, ebx
jne 0x47c3fe
mov ebx, dword [eax + 0xe4]
mov esi, dword [0x54af14]
test esi, esi
je 0x47c4c8
mov ecx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0xc], ecx
cmp dword [eax + 0xb4], 0
je 0x47c442
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x47c442
push ebx
push eax
call fcn.004c9460
add esp, 8
test eax, eax
je 0x47c45a
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x47c4b5
push ebx
push eax
call fcn.004c9460
add esp, 8
test eax, eax
jne 0x47c4b5
push dword [esi + 0x338]
call fcn.004c8d5f
add esp, 4
cmp word [edi], 0
je 0x47c479
push edi
call fcn.004c8d00
add esp, 4
jmp 0x47c47b
xor eax, eax
mov dword [esi + 0x338], eax
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [0x54fea4]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], esi
call dword [ebp - 8]
cmp eax, 0xffffffff
je 0x47c4b5
push 0xffffffffffffffff
push eax
push 0x7eb
push dword [0x54fea0]
call dword [ebp - 0xc]
mov esi, dword [esi + 0x5c0]
mov eax, dword [ebp + 8]
test esi, esi
jne 0x47c421
xor edi, edi
mov ecx, dword [0x54f9f0]
test ecx, ecx
je 0x47c508
cmp dword [ecx], 0
je 0x47c508
xor eax, eax
nop dword [eax]
push ebx
push dword [eax + ecx]
call fcn.004c9460
add esp, 8
test eax, eax
je 0x47c59d
mov ecx, dword [0x54f9f0]
inc edi
lea eax, [edi*8]
cmp dword [eax + ecx], 0
jne 0x47c4e0
mov esi, dword [ebp + 0xc]
shl edi, 3
test ecx, ecx
je 0x47c518
cmp dword [edi + ecx], 0
jne 0x47c556
lea eax, [edi + 0x10]
push eax
push ecx
call fcn.004c8d85
push ebx
mov dword [0x54f9f0], eax
call fcn.004c8d00
mov ecx, dword [0x54f9f0]
push esi
mov dword [edi + ecx], eax
call fcn.004c8d00
mov ecx, dword [0x54f9f0]
add esp, 0x10
mov dword [edi + ecx + 4], eax
mov eax, dword [0x54f9f0]
mov dword [edi + eax + 8], 0
lea eax, [ebp - 4]
push eax
push 0x50d518
push reloc.ACLUI.dll_CreateSecurityPage
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x47c601
mov edx, dword [0x54f9f0]
add edx, edi
mov esi, dword [edx + 4]
cmp word [esi], ax
jne 0x47c5cc
push dword [edx]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x54f9f0]
push dword [eax + edi*8 + 4]
call fcn.004c8d5f
mov esi, dword [ebp + 0xc]
push esi
call fcn.004c8d00
mov ecx, dword [0x54f9f0]
add esp, 8
mov dword [ecx + edi*8 + 4], eax
mov ecx, dword [0x54f9f0]
jmp 0x47c50b
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c5d1
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push dword [edx]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47c610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10050
call fcn.004c39f0
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x47c69b
lea eax, [ebp - 0x10050]
mov dword [ebp - 0x10050], 5
push eax
push 0
push 0x104d
push edi
mov dword [ebp - 0x1004c], SysReAllocStringLen
mov dword [ebp - 0x1003c], 0x50d394
mov dword [ebp - 0x10030], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
mov eax, dword [0x54ff44]
test eax, eax
jne 0x47c6b5
push 0x7f02
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x54ff44], eax
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0
mov dword [ebp - 0x10014], eax
lea eax, [ebp - 0x10010]
push eax
push 0x10008
lea eax, [ebp - 0x1000c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47c743
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
nop dword [eax]
mov eax, dword [ebp - 0x10010]
test eax, eax
je 0x47c742
push eax
lea eax, [ebp - 0x1000c]
push eax
push 3
push edi
call fcn.00479080
add esp, 0x10
cmp dword [ebp - 0x10010], 0x10008
jne 0x47c722
push 1
push 0
push 0xfffffffffffffffe
push esi
call ebx
push 0
lea eax, [ebp - 0x10010]
push eax
push 0x10008
lea eax, [ebp - 0x1000c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47c6f0
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10014]
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x47d390
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x54fbfc], 0
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0x500
mov dword [ebp - 0x14], 0
jne 0x47d499
push ebx
push esi
lea eax, [ebp - 0x18]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 2
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x10]
call fcn.004c8d7a
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push ebx
push 2
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x47d475
push edi
xor edi, edi
cmp edi, dword [ebx]
jae 0x47d46d
lea esi, [ebx + 8]
nop dword [eax + eax]
push dword [esi - 4]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x47d463
mov eax, dword [esi]
test eax, 0xffffffef
setne cl
test al, 4
setne al
test al, cl
jne 0x47d46b
inc edi
add esi, 8
cmp edi, dword [ebx]
jb 0x47d440
cmp edi, dword [ebx]
setne byte [0x54fbfd]
pop edi
push ebx
call fcn.004c8d5f
add esp, 4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov byte [0x54fbfc], 1
pop ebx
mov ecx, dword [ebp - 4]
mov al, byte [0x54fbfd]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret

Function at 0x47e350
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6295
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x535a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x50e0ec
push 0x50e108
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.0045a940
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18]
call fcn.00482080
push 0x50dad0
push 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004820e0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.00481a70
push 0x50dad0
lea ecx, [ebp - 0x34]
call fcn.00481a90
test eax, eax
setne byte [0x54fc00]
test eax, eax
je 0x47e43b
push 1
push 0x50e128
call fcn.0042f970
add esp, 8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp byte [0x54fc00], 0
je 0x47e43b
mov eax, dword [0x54fc08]
mov ecx, dword [0x54fc0c]
push 0x54fc08
mov dword [0x54fc10], eax
mov dword [0x54fc14], ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0x50dfb0
push 0
mov ecx, 0x54fc2c
call fcn.004820e0
lea ecx, [ebp - 0x18]
call fcn.004820a0
lea ecx, [ebp - 0x24]
call fcn.0045aae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48b130
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 4
push 0x54f48e
push 0x50f900
mov dword [ebp - 4], 0
call fcn.004c95b0
mov edi, dword [sym.imp.USER32.dll_DialogBoxParamW]
add esp, 0xc
test eax, eax
jne 0x48b1c0
push ebx
push esi
lea eax, [ebp - 4]
push eax
push 0x54f284
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
push esi
call fcn.004c8d7a
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push 0x54f284
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x48b1b5
cmp dword [ebx + 0x30], 0x60000
jae 0x48b1b5
cmp dword [ebp + 8], 0
push 0
push 0x453060
push 0
jne 0x48b1a8
push 0x50f90c
jmp 0x48b1ad
push 0x50f934
push dword [0x54a9b8]
call edi
push ebx
call fcn.004c8d5f
add esp, 4
pop esi
pop ebx
cmp byte [0x54f48c], 0
jne 0x48b209
cmp dword [0x555138], 0
je 0x48b1dc
cmp word [0x54f48e], 0
jne 0x48b209
push 0
push 0x453060
push 0
push 0x50f90c
push dword [0x54a9b8]
call edi
push 1
push dword [0x54fea0]
mov byte [0x54f48c], 1
call fcn.00473ce0
add esp, 8
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x48db60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f67dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x535a40]
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 esi, ecx
mov dword [ebp - 0x24], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.CResizer.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x2c], 0x32
mov dword [esi + 0x30], 0x43
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [esi + 0x34], 1
test edi, edi
je 0x48dc78
push esi
push 0x50ac20
push edi
mov dword [esi + 0xc], edi
call dword [sym.imp.USER32.dll_SetPropW]
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x458410
push 0xfffffffffffffffc
push edi
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0xc]
test eax, eax
je 0x48dc14
push eax
call dword [0x53a8b8]
mov dword [esi + 4], 0
mov eax, dword [0x53a8ac]
test eax, eax
je 0x48dc4d
call eax
test eax, eax
je 0x48dc4d
mov eax, dword [esi]
mov edi, dword [0x53a8b0]
mov eax, dword [eax]
cmp eax, method.CResizer.virtual_0
jne 0x48dc42
mov eax, 0x50ac10
jmp 0x48dc46
mov ecx, esi
call eax
push eax
push ebx
call edi
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov eax, esi
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.004c34b7
mov esp, ebp
pop ebp
ret 4
Function at 0x48f380
Capabilities:
Delete file
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5355f4
push 0x511428
call fcn.0045b040
add esp, 8
test eax, eax
jne 0x48f4c9
push 0x104
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x511440
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x511460
push eax
call fcn.0042fa30
lea eax, [ebp - 0x20c]
push eax
push 0x96
call fcn.0045ad30
add esp, 0x18
test al, al
jne 0x48f489
push 0x511440
lea eax, [ebp - 0x414]
push 0x51147c
push eax
call fcn.0042fa30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
push 0x96
call fcn.0045ad30
add esp, 8
test al, al
jne 0x48f489
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x511440
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4ff628
push eax
call fcn.0042fa30
lea eax, [ebp - 0x20c]
push eax
push 0x96
call fcn.0045ad30
add esp, 0x18
test al, al
je 0x48f4b3
push 0x5355f4
lea eax, [ebp - 0x20c]
push eax
push 0x511428
call fcn.0045adb0
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x20c]
push eax
jne 0x48f4c3
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x493fd0
Capabilities:
Enumerate process modules
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x434], ecx
mov ecx, dword [ebp + 0x14]
push eax
mov dword [ebp - 0x43c], ecx
mov ecx, dword [ebp + 0x18]
push 8
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x440], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x438], ebx
cmp ebx, 0xffffffff
jne 0x49402e
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
push esi
push edi
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x428
push eax
push ebx
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x4941b9
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push 4
push 0x4fa4f4
push eax
call fcn.004c936a
add esp, 0xc
test eax, eax
jne 0x494077
lea eax, [ebp - 0x204]
jmp 0x4940ed
push 0xc
lea eax, [ebp - 0x20c]
push 0x51135c
push eax
call fcn.004c95b0
add esp, 0xc
test eax, eax
jne 0x4940e7
lea esi, [ebp - 0x20c]
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4940a0
push 0
push 0
sub esi, ecx
push 0x511378
sar esi, 1
call ebx
inc eax
add esi, eax
lea eax, [esi + esi]
push eax
call fcn.004c8d7a
add esp, 4
mov edi, eax
push esi
push edi
push 0x511378
call ebx
lea eax, [ebp - 0x1f6]
push eax
push esi
push edi
call fcn.004d6355
add esp, 0xc
jmp 0x4940f8
lea eax, [ebp - 0x20c]
push eax
call fcn.004c8d00
mov edi, eax
add esp, 4
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ebx, eax
test ebx, ebx
je 0x49413b
lea ecx, [ebx*2 + 2]
push ecx
call fcn.004c8d7a
add esp, 4
mov esi, eax
lea eax, [ebx + 1]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push edi
call fcn.004c8d5f
push 2
push 0
mov edi, esi
call fcn.004c34a9
add esp, 0xc
mov eax, dword [ebp - 0x430]
cmp dword [ebp - 0x424], eax
jne 0x49415c
push edi
push dword [ebp - 0x434]
call fcn.004c9460
add esp, 8
test eax, eax
je 0x49417f
push 2
push edi
call fcn.004c34a9
mov ebx, dword [ebp - 0x438]
lea eax, [ebp - 0x42c]
add esp, 8
push eax
push ebx
call sub.KERNEL32.dll_Module32NextW
jmp 0x494047
mov ecx, dword [ebp - 0x43c]
mov eax, dword [ebp - 0x418]
push 2
push edi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x414]
mov dword [ecx], eax
call fcn.004c34a9
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x4a9b50
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
jne 0x4a9cab
mov eax, dword [0x5551f0]
test eax, eax
je 0x4a9b71
push eax
call fcn.004c8d5f
add esp, 4
mov eax, dword [0x532de8]
mov dword [0x5551f0], 0
cmp dword [0x532df4], eax
jne 0x4a9b94
mov eax, dword [0x5551ec]
mov dword [0x5551f0], eax
jmp 0x4a9bb1
mov ecx, dword [0x5551ec]
test ecx, ecx
je 0x4a9bac
push ecx
call fcn.004c8d5f
mov eax, dword [0x532de8]
add esp, 4
mov dword [0x532df4], eax
push dword [0x5355f8]
call fcn.004c8d7a
add esp, 4
mov dword [0x5551ec], eax
cmp byte [0x550a96], 0
lea ecx, [ebp + 8]
mov edi, 0x40
push ecx
push dword [0x5355f8]
push eax
mov eax, 0x10
cmovne eax, edi
push eax
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
je 0x4a9d79
cmp eax, 0xc0000022
je 0x4a9c90
cmp eax, 0xc000009a
je 0x4a9c50
push dword [0x5551ec]
call fcn.004c8d5f
mov eax, dword [0x5355f8]
add eax, eax
push eax
mov dword [0x5355f8], eax
call fcn.004c8d7a
add esp, 8
mov dword [0x5551ec], eax
cmp byte [0x550a96], 0
lea ecx, [ebp + 8]
push ecx
push dword [0x5355f8]
push eax
mov eax, 0x10
cmovne eax, edi
push eax
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x4a9bf1
pop edi
pop esi
pop ebp
ret
push 0x10
push 0x4fa6f4
push 0x5115b0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [0x5355f8]
push esi
push 0
push dword [0x5551ec]
call fcn.004c53a0
add esp, 0xc
push esi
push 0
push dword [0x5551ec]
call fcn.004c53a0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
mov esi, dword [0x5355f8]
push esi
push 0
push dword [0x5551ec]
call fcn.004c53a0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
mov eax, dword [0x5551e8]
test eax, eax
je 0x4a9cbd
push eax
call fcn.004c8d5f
add esp, 4
push dword [0x5355f8]
call fcn.004c8d7a
add esp, 4
mov dword [0x5551e8], eax
cmp byte [0x550a96], 0
lea ecx, [ebp + 8]
mov edi, 0x40
push ecx
push dword [0x5355f8]
push eax
mov eax, 0x10
cmovne eax, edi
push eax
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
je 0x4a9d79
nop dword [eax]
cmp eax, 0xc0000022
je 0x4a9d63
push dword [0x5551e8]
call fcn.004c8d5f
mov eax, dword [0x5355f8]
add eax, eax
push eax
mov dword [0x5355f8], eax
call fcn.004c8d7a
mov esi, dword [0x5355f8]
push esi
push 0
push eax
mov dword [0x5551e8], eax
call fcn.004c53a0
add esp, 0x14
lea eax, [ebp + 8]
cmp byte [0x550a96], 0
push eax
push esi
push dword [0x5551e8]
mov eax, 0x10
cmovne eax, edi
push eax
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x4a9d00
pop edi
pop esi
pop ebp
ret
push dword [0x5355f8]
push 0
push dword [0x5551e8]
call fcn.004c53a0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
Function at 0x4aa3b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x54f25f], 0
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
je 0x4aa424
push eax
lea eax, [ebp - 0x804]
push 0x511228
push eax
call fcn.0044be00
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x31
push 0x4fa6f4
push eax
push dword [0x54fea0]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x4aa424
push dword [0x54fea4]
call dword [sym.imp.USER32.dll_SetFocus]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4aa459
push dword [0x54fea0]
push 0x510478
call fcn.004aae60
add esp, 8
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4aa491
push dword [0x54fea0]
push 0x51126c
call fcn.004aae60
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x4aa4c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa08
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x54f25f], 0
mov eax, dword [ebp + 8]
je 0x4aa52d
push eax
lea eax, [ebp - 0xa04]
push 0x5112a0
push eax
call fcn.0044be00
add esp, 0xc
lea eax, [ebp - 0xa04]
push 0x31
push 0x4fa6f4
push eax
push dword [0x54fea0]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x4aa52d
push dword [0x54fea4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [0x54af14]
test esi, esi
je 0x4aa667
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov eax, esi
cmp dword [eax + 0x24], ebx
je 0x4aa557
mov eax, dword [eax + 0xf8]
test eax, eax
jne 0x4aa543
jmp 0x4aa657
push dword [esi + 0x24]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4aa617
push dword [esi + 0xe4]
lea eax, [ebp - 0xa04]
push 0x51130c
push eax
call fcn.0044be00
mov edi, dword [0x54fea0]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4aa5e5
push 0
push 0
lea ecx, [ebp - 0xa08]
push ecx
push 0x400
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 0xa08]
lea eax, [ebp - 0xa04]
push eax
lea eax, [ebp - 0x204]
push 0x5110a4
push eax
call fcn.00466520
add esp, 0x10
push dword [ebp - 0xa08]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4aa600
lea eax, [ebp - 0xa04]
push eax
lea eax, [ebp - 0x204]
push 0x5110b4
push eax
call fcn.00466520
add esp, 0xc
push 0x10
push 0x4fa6f4
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4aa657
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4aa650
push dword [esi + 0xe4]
lea eax, [ebp - 0xa04]
push 0x511330
push eax
call fcn.0044be00
push dword [0x54fea0]
lea eax, [ebp - 0xa04]
push eax
call fcn.004aae60
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 0x5c0]
test esi, esi
jne 0x4aa541
pop edi
pop ebx
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004c34b7
mov esp, ebp
pop ebp
ret