joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425620
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
mov edi, eax
call fcn.00424310
mov ebx, eax
test ebx, ebx
je 0x4256c2
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebx + 8]
push esi
mov esi, dword [ebx + 0xc]
push edx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4256a1
call dword [sym.imp.USER32.dll_EmptyClipboard]
add esi, esi
lea eax, [esi + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 4]
push esi
push ecx
push eax
mov dword [ebp - 8], eax
call fcn.00456d70
mov eax, dword [ebp - 8]
add esp, 0xc
xor edx, edx
push edi
mov word [esi + eax], dx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebx + 8]
pop esi
test eax, eax
je 0x4256b9
push eax
call fcn.0044fa55
add esp, 4
mov dword [ebx + 8], 0
push ebx
call fcn.0044fa55
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4256d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
cmp dword [esi + 0xfc], 0
push edi
jne 0x425777
call fcn.00424450
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x425777
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x425777
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x425777
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x425722
sub ecx, edi
sar ecx, 1
test ecx, ecx
jle 0x42576a
cmp dword [ebp - 4], 0
jne 0x425756
mov edx, dword [esi + 0x110]
push edx
push eax
mov eax, dword [esi + 0x118]
push esi
call fcn.00423e10
add esp, 0xc
test eax, eax
je 0x42576a
xor ebx, ebx
push 0
lea ecx, [ebx + 0x52]
mov eax, esi
call fcn.0041d010
mov ebx, dword [ebp - 8]
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433eb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4be0f0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov eax, ecx
mov esi, dword [eax + 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x220]
push edx
xor edi, edi
or esi, 0x2001f
push esi
push edi
mov dword [ebp - 0x224], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x220], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x218]
mov ebx, eax
cmp ebx, edi
jne 0x433f44
xor eax, eax
cmp ecx, edi
je 0x433f26
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x220]
and esi, 0x300
mov ebx, eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], esi
cmp eax, edi
je 0x433f64
cmp ecx, edi
je 0x433f4f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x230]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x20c]
push eax
push edi
push ecx
mov dword [ebp - 0x21c], 0x100
call esi
test eax, eax
jne 0x433fec
jmp 0x433fa0
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00433eb0
mov ebx, eax
cmp ebx, edi
jne 0x434042
lea edx, [ebp - 0x230]
push edx
mov edx, dword [ebp - 0x218]
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push edi
push edx
mov dword [ebp - 0x21c], 0x100
call esi
test eax, eax
je 0x433fa0
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x434003
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x218], edi
mov ebx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x214], edi
call fcn.004340e0
mov esi, eax
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x43402d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x434053
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0044de17
mov esp, ebp
pop ebp
ret 4
Function at 0x434d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2666
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4be0f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x418], edi
push 2
push edi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x424], esi
cmp esi, edi
jne 0x434e00
call fcn.00432fc0
mov edi, eax
jmp 0x434f19
mov eax, dword [ebp - 0x41c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
jne 0x434e1f
call fcn.00432fc0
jmp 0x434f10
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, edi
jne 0x434e3b
call fcn.00432fc0
jmp 0x434f10
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
jae 0x434e5c
mov edi, 0x8007000e
jmp 0x434f12
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, edi
ja 0x434e71
cmp eax, 0xffffffff
jbe 0x434e7b
push 0x80070216
call fcn.00433c60
cmp eax, 0x400
jbe 0x434ead
lea ecx, [ebp - 0x418]
push ecx
call fcn.00432f90
jmp 0x434eb9
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x418]
cmp eax, edi
jne 0x434ed1
mov edi, 0x8007000e
jmp 0x434f12
push ebx
push eax
mov eax, dword [ebp - 0x420]
push ebx
push eax
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x434eef
call fcn.00432fc0
jmp 0x434f10
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00434be0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x434f32
lea eax, [ebp - 0x418]
call fcn.00432f70
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret 0xc
Function at 0x443cb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4be0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x14]
mov esi, ecx
mov ecx, dword [edi + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x443cfe
mov ecx, edi
call fcn.00443ed0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x164]
mov eax, dword [edx + 0xc]
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x443d52
mov eax, dword [edi + 0x164]
mov ecx, dword [eax + 0xc]
push 0
push ecx
call esi
mov edx, dword [edi + 0x168]
mov eax, dword [edx + 0xc]
push 0
push eax
call esi
mov ecx, dword [edi + 0x16c]
mov edx, dword [ecx + 0xc]
push 0
push edx
call esi
mov eax, dword [edi + 0x170]
mov ecx, dword [eax + 0xc]
push 0
push ecx
call esi
mov eax, dword [edi + 0x160]
mov edx, dword [eax + 0xc]
push edx
call ebx
test eax, eax
je 0x443d7a
mov eax, dword [edi + 0x160]
mov ecx, dword [eax + 0xc]
push 0
push ecx
call esi
mov dword [edi + 0x17c], 0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044de17
mov esp, ebp
pop ebp
ret
Function at 0x443ed0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4be0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi + 0x164]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x443f67
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x57
push eax
push eax
push eax
push eax
push eax
mov eax, dword [edi + 0x164]
mov ecx, dword [eax + 0xc]
push ecx
call ebx
mov edx, dword [edi + 0x168]
mov eax, dword [edx + 0xc]
push 0x57
push 0
push 0
push 0
push 0
push 0
push eax
call ebx
mov ecx, dword [edi + 0x16c]
mov edx, dword [ecx + 0xc]
push 0x57
push 0
push 0
push 0
push 0
push 0
push edx
call ebx
mov eax, dword [edi + 0x170]
mov ecx, dword [eax + 0xc]
push 0x57
push 0
push 0
push 0
push 0
push 0
push ecx
call ebx
mov eax, dword [edi + 0x154]
test eax, eax
je 0x444021
push eax
call fcn.0043daa0
add esp, 4
test eax, eax
je 0x444021
mov edx, dword [esi]
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov edx, dword [edi + 0xc]
push ecx
push edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [edi + 0x30]
sub dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x2c]
test eax, eax
jg 0x443faf
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x443fbe
mov edx, dword [ecx + 0x1c]
sub edx, dword [ecx + 0x14]
add eax, edx
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x443fcd
mov edx, dword [ecx + 0x1c]
sub edx, dword [ecx + 0x14]
add eax, edx
sub dword [ebp - 0x18], eax
mov ecx, dword [edi + 0x154]
push esi
lea eax, [ebp - 0x1c]
push eax
push ecx
push edi
call fcn.00443d90
mov ebx, eax
mov eax, dword [edi + 0x160]
mov edx, dword [eax + 0xc]
add esp, 0x10
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x444021
test ebx, ebx
jne 0x444016
mov eax, dword [edi + 0x160]
mov ecx, dword [eax + 0xc]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi + 0x17c], ebx
mov ecx, esi
call fcn.00444070
test eax, eax
jne 0x444054
mov edx, esi
mov ecx, edi
call fcn.004446a0
test eax, eax
jne 0x444054
mov eax, dword [edi + 0x174]
mov edx, dword [eax + 0xc]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x444054
mov eax, dword [edi + 0x174]
mov ecx, dword [eax + 0xc]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0044de17
mov esp, ebp
pop ebp
ret
Function at 0x445e70
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4be0f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x28]
push ecx
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
call edi
test eax, eax
je 0x445eb6
cmp eax, 0x6f
je 0x445eb6
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x28]
push esi
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x445edb
lea eax, [ebp - 0x28]
push eax
push esi
call edi
test eax, eax
je 0x445eed
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov byte [ebp - 7], al
movzx ecx, byte [esi + 0x199]
movzx edx, byte [esi + 0x198]
movzx eax, byte [esi + 0x197]
push ecx
movzx ecx, byte [esi + 0x196]
push edx
movzx edx, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push ecx
push edx
push eax
lea ecx, [ebp - 0x24]
push str._02X__02X__02X__02X__02X__02X
push ecx
call fcn.0044fe2c
lea eax, [ebp - 0x24]
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x445f52
mov ecx, dword [ebp - 0x2c]
sub eax, edx
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.00401480
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop edi
call fcn.0044de17
mov esp, ebp
pop ebp
ret
Function at 0x4465e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2eb8
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4be0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edi
mov byte [ecx], 0
call fcn.00401120
lea ebx, [ebp - 0x2c]
call fcn.004460e0
push 0x40
lea eax, [ebp - 0xdc]
push 0
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0xe0], 0x44
call fcn.00458dc0
mov eax, dword [ebp - 0x2c]
add esp, 0x28
cmp dword [ebp - 0x18], 8
mov ecx, 1
mov dword [ebp - 0xb4], 1
mov word [ebp - 0xb0], cx
jae 0x446680
mov eax, ebx
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0xe0]
push ecx
push 0
push 0
mov ebx, 0x10
push ebx
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4466c5
mov edx, dword [ebp - 0x90]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x94]
push eax
call esi
jmp 0x446743
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [ebp - 0x80]
call fcn.004462f0
mov esi, eax
push 0x4b5ec0
lea ecx, [ebp - 0x48]
push edi
push ecx
mov byte [ebp - 4], 1
call fcn.00409040
mov ecx, eax
lea edx, [ebp - 0x64]
push edx
mov eax, esi
mov byte [ebp - 4], 2
call fcn.00448440
add esp, 0x10
cmp dword [ebp - 0x34], ebx
jb 0x44670f
mov eax, dword [ebp - 0x48]
push eax
call fcn.0044de0c
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x6c], ebx
jb 0x446732
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0044de0c
add esp, 4
cmp dword [ebp - 0x50], ebx
jb 0x446743
mov edx, dword [ebp - 0x64]
push edx
call fcn.0044de0c
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x446755
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044de0c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret
Function at 0x446770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2e78
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4be0f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], ebx
jne 0x4467c1
cmp dword [ebp + 0x1c], 0x10
jb 0x4467ba
mov eax, dword [ebp + 8]
push eax
call fcn.0044de0c
add esp, 4
xor eax, eax
jmp 0x4468bd
lea ecx, [ebp - 0x34]
push ecx
call fcn.004468e0
add esp, 4
test eax, eax
jne 0x4467ea
cmp dword [ebp + 0x1c], 0x10
jb 0x4467ba
mov edx, dword [ebp + 8]
push edx
call fcn.0044de0c
add esp, 4
xor eax, eax
jmp 0x4468bd
push 0x44
lea eax, [ebp - 0x9c]
push ebx
push eax
call fcn.00458dc0
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xffffffffffffffff
mov dword [ebp - 0x9c], 0x44
mov dword [ebp - 0x94], 0x4b5ec4
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
push ebx
lea edx, [ebp + 8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00401120
lea ebx, [ebp - 0x30]
call fcn.004460e0
mov eax, dword [ebp - 0x30]
mov ebx, 8
add esp, 0x1c
cmp dword [ebp - 0x1c], ebx
jae 0x446855
lea eax, [ebp - 0x30]
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x9c]
push edx
push 0
push 0
push 0x30
push 0
push 0
lea ecx, [ebp - 0x40]
push ecx
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], ebx
jb 0x446895
mov edx, dword [ebp - 0x30]
push edx
call fcn.0044de0c
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x4468bb
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044de0c
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret
Function at 0x446c60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2990
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x4be0f0]
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
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x290]
push eax
push esi
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x290], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x446df9
push 0xb
push str.svcerst.exe
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00401480
lea ecx, [ebp - 0x290]
push ecx
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x446de4
mov edi, 7
jmp 0x446d02
xor ebx, ebx
xor edx, edx
lea eax, [ebp - 0x26c]
mov word [ebp - 0x48], dx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x446d17
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x26c]
lea esi, [ebp - 0x48]
call fcn.00401a50
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 1
mov dword [ebp - 0x298], esp
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push ebx
mov edx, esi
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.00401670
lea ebx, [ebp - 0x2c]
call fcn.00445f90
mov ecx, dword [ebp - 0x2c]
mov ebx, 0x10
add esp, 0x1c
cmp dword [ebp - 0x18], ebx
jae 0x446d76
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x446d81
lea eax, [ebp - 0x64]
push ecx
push eax
call fcn.00460bf2
add esp, 8
test eax, eax
je 0x446e15
cmp dword [ebp - 0x18], ebx
jb 0x446da4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044de0c
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
jb 0x446dc8
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0044de0c
add esp, 4
mov eax, dword [ebp - 0x294]
lea edx, [ebp - 0x290]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x446d00
cmp dword [ebp - 0x50], 0x10
jb 0x446df6
mov edx, dword [ebp - 0x64]
push edx
call fcn.0044de0c
add esp, 4
or eax, 0xffffffff
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.0044de17
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x288]
cmp dword [ebp - 0x18], ebx
jb 0x446e2c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0044de0c
add esp, 4
xor ebx, ebx
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jb 0x446e4d
mov edx, dword [ebp - 0x48]
push edx
call fcn.0044de0c
add esp, 4
xor eax, eax
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
jb 0x446e6b
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0044de0c
add esp, 4
mov eax, esi
jmp 0x446df9
Function at 0x4479f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4be0f0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x108], 2
jne 0x447a89
mov ecx, dword [ebp - 0x114]
cmp ecx, 5
jne 0x447a61
mov ecx, dword [ebp - 0x110]
cmp ecx, 1
jne 0x447a4b
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jne 0x447a89
lea eax, [ecx + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret
cmp ecx, 6
jne 0x447a89
mov ecx, dword [ebp - 0x110]
test ecx, ecx
jne 0x447a81
lea eax, [ecx + 4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne 0x447a89
lea eax, [ecx + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret

Function at 0x44a970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1f38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4be0f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.0044dfb5
add esp, 4
cmp eax, ebx
je 0x44aa54
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.0044dfb5
add esp, 4
cmp eax, ebx
je 0x44aa30
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov word [esi + 0x7c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.0044deae
push 0x4b8ba8
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.0044f68a
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.0044deae
push 0x4b8ba8
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.0044f68a
int3

Function at 0x44de17
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4be0f0]
jne 0x44de21
repz ret
jmp fcn.004520f0