joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426db0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43575f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
push edi
xor ebx, ebx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
push 0x5c
lea ecx, [esp + 0x1c]
mov edi, 1
push eax
push ecx
mov dword [esp + 0x34], edi
call sub.MFC42.DLL_operator_2
mov edx, dword [esp + 0x38]
mov byte [esp + 0x28], 2
push edx
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push str..bmp
lea edx, [esp + 0x10]
push ecx
push edx
call sub.MFC42.DLL_operator
lea eax, [esp + 0x10]
push str..tga
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x34], 6
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.MSVCRT.dll__access]
push ebx
push edx
mov byte [esp + 0x30], 7
call esi
add esp, 8
test eax, eax
jne 0x426e83
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], edi
jmp 0x426eb8
mov ecx, dword [esp + 0x34]
push ebx
push ecx
call esi
add esp, 8
test eax, eax
jne 0x426ea4
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
jmp 0x426eb4
mov esi, dword [esp + 0x30]
push 0x446fe0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x42ab20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x435bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push eax
lea eax, [esp + 0x14]
mov ebx, 1
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x28], bl
call fcn.0042ac70
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42abb2
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x42ac36
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc], ebx
test eax, eax
je 0x42ac2f
jmp 0x42ac23
push 0x445148
lea ecx, [esp + 0xc]
call fcn.0042c7e4
mov edx, dword [esp + 0x24]
lea eax, [esp + 8]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push ebx
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 2
je 0x42ac11
cmp eax, 3
jne 0x42ac36
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x42ac36
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc], ebx
test eax, eax
je 0x42ac2f
mov eax, dword [esi]
push 0
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox
mov dword [esi + 0xc], 0
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x42ac70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x435c4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString_3
mov al, byte [0x44842c]
mov ebx, 1
test bl, al
mov dword [esp + 0x30], ebx
jne 0x42accf
mov dl, al
push 0x41c240
or dl, bl
mov dword [0x448428], 0x439560
mov byte [0x44842c], dl
call fcn.0042ccd8
add esp, 4
call fcn.00431c90
push 0
mov ecx, eax
call fcn.00431d20
mov esi, eax
test esi, esi
jne 0x42acfc
mov esi, dword [esp + 0x38]
push 0x446fe0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x10], ebx
jmp 0x42ae67
lea ecx, [esp + 0x18]
call fcn.0042d0f0
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x439e10]
push ecx
lea ecx, [esp + 0x10]
call fcn.0042c7e4
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.00430cb0
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 3
push ecx
mov ecx, esi
call fcn.004304b0
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [str.Help]
lea ecx, [esp + 0x40]
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x40]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x38], 4
call dword [eax + 0xc]
lea ecx, [esp + 0x40]
mov edi, eax
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
cmp edi, 0xfffffc18
je 0x42ae46
cmp edi, 0xfffffc19
je 0x42ae46
push 0x445148
lea ecx, [esp + 0x10]
call fcn.0042c7e4
push 0x446fe0
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [str.Path]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esi]
lea eax, [esp + 0x3c]
push ebx
push eax
lea ecx, [esp + 0x48]
lea eax, [esp + 0x1c]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x40], 6
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 7
call fcn.0042c7de
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
jmp 0x42ae56
mov esi, dword [esp + 0x38]
push 0x446fe0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x30], bl
call fcn.0042d1c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x42b140
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x435c8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
lea ebp, [esi + 0x18]
mov dword [esp + 0x1c], 0
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 0x2c]
mov byte [esp + 0x1c], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString_3
xor eax, eax
mov dword [esi], 0xc8
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x1a
mov dword [esi + 0x14], 0x32
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov eax, dword [str.jpg_jpeg_jpe_jfif_bmp_tiff_tif]
push eax
mov ecx, ebx
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::operator_1
mov ecx, esi
call fcn.0042b230
mov ecx, dword [str.:MyPictures]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [str.:MyPictures]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [str.:MyPictures]
lea ecx, [esi + 0x34]
push eax
call sub.MFC42.DLL_CString::operator_1
or eax, 0xffffffff
or ecx, 0xffffffff
mov dword [esi + 0x38], eax
mov dword [esi + 0x1c], 1
mov dword [esi + 0x30], 0xcdfe60
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42d370
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xcc
push ebx
push ebp
push esi
lea eax, [esp + 0x44]
push edi
xor ebp, ebp
push eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x4c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x58], 1
jne 0x42d433
cmp dword [esp + 0x50], ebp
jne 0x42d433
lea ecx, [esp + 0x14]
push 0x32
push ecx
push 0x1001
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x447f60]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x446fe0
push eax
call edi
add esp, 8
test eax, eax
je 0x42d409
mov ebx, 0x447f60
mov esi, ebx
mov ebx, dword [ebx]
lea edx, [esp + 0x14]
push edx
push ebx
call edi
add esp, 8
test eax, eax
je 0x42d410
mov eax, dword [esi + 8]
add esi, 8
push 0x446fe0
push eax
inc ebp
mov ebx, esi
call edi
add esp, 8
test eax, eax
jne 0x42d3e0
push 0x446fe0
jmp 0x42d44c
mov esi, dword [esp + 0xe0]
lea eax, [ebp*8 + 0x447f64]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
lea ecx, [esp + 0x14]
push 0x32
push ecx
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [esp + 0x14]
push edx
mov esi, dword [esp + 0xe4]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret

Function at 0x42d470
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xcc
push ebx
push ebp
push esi
lea eax, [esp + 0x44]
push edi
xor ebp, ebp
push eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x4c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x58], 1
jne 0x42d530
cmp dword [esp + 0x50], ebp
jne 0x42d530
lea ecx, [esp + 0x14]
push 0x32
push ecx
push 7
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x4477e8]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x446fe0
push eax
call edi
add esp, 8
test eax, eax
je 0x42d506
mov ebx, 0x4477e8
mov esi, ebx
mov ebx, dword [ebx]
lea edx, [esp + 0x14]
push edx
push ebx
call edi
add esp, 8
test eax, eax
je 0x42d50d
mov eax, dword [esi + 8]
add esi, 8
push 0x446fe0
push eax
inc ebp
mov ebx, esi
call edi
add esp, 8
test eax, eax
jne 0x42d4dd
push 0x446fe0
jmp 0x42d549
mov esi, dword [esp + 0xe0]
lea eax, [ebp*8 + 0x4477ec]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
lea ecx, [esp + 0x14]
push 0x32
push ecx
push 0x5a
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [esp + 0x14]
push edx
mov esi, dword [esp + 0xe4]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
Function at 0x109c0
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push 0x10990
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.ntoskrnl.exe_wcscpy]
add esp, 8
lea ecx, [ebp - 0xf8]
push ecx
call fcn.000161e0
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x22
lea edx, [ebp - 0x108]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
je 0x10a23
xor al, al
jmp 0x10a77
push 0x109a4
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.ntoskrnl.exe_wcscpy]
add esp, 8
lea edx, [ebp - 0x80]
push edx
call fcn.000161e0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
test eax, eax
je 0x10a75
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
xor al, al
jmp 0x10a77
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x10cf0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push edi
mov ecx, 0x34
xor eax, eax
mov edi, dword [ebp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xc3d2e1f0
pop edi
pop ebp
ret 4
Function at 0x14230
Capabilities:
Map section object
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov byte [ebp - 0x21], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.000141d0
push 0
push 0
push 0
push 1
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x1433b
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.000141d0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push 0x8000000
push 2
push 0
lea eax, [ebp - 0x20]
push eax
push 0xf0005
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
jl 0x1432f
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 2
push 0
push 1
lea edx, [ebp - 0x34]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jl 0x14323
cmp dword [ebp - 0x30], 0
je 0x14323
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x14317
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx], 0x4550
jne 0x14317
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov al, 1
jmp 0x1433e
mov ecx, dword [ebp - 0x30]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, byte [ebp - 0x21]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x145b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.000141d0
push 0
push 0
push 0x20
push 0
push 1
push 0x80
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0x100002
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x1461d
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x146b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp dword [ebp - 4], 0
je 0x1478c
mov edx, dword [ebp - 4]
shl edx, 1
push edx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1478c
push 0
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jne 0x14782
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0
jmp 0x1472e
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx]
jae 0x14782
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x11c
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x11c
mov edx, dword [ebp - 0x14]
movzx ecx, word [edx + ecx + 0x1a]
lea edx, [eax + ecx + 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
add esp, 8
test eax, eax
jne 0x14780
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x11c
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0xc], eax
jmp 0x14782
jmp 0x14725
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x14c30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x14c67
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x14c67
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x14c67
mov eax, dword [ebp - 4]
add eax, 0x28
jmp 0x14c69
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x14df0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp dword [ebp - 4], 0
jne 0x14e80
mov dword [ebp - 4], 0x10000
mov ecx, dword [ebp - 4]
shl ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x14e48
jmp 0x14e7e
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jge 0x14e6f
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
jne 0x14e7e
cmp dword [ebp - 4], 0x400000
jb 0x14e28
jmp 0x14ec0
mov eax, dword [ebp - 4]
shl eax, 1
push eax
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x14ec0
push 0
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jge 0x14ec0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x14f0a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, 1
test edx, edx
je 0x14f00
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x50]
cmp ecx, dword [ebp + 8]
jne 0x14ee9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x14ef3
jmp 0x14f00
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx]
mov dword [ebp - 0x10], edx
jmp 0x14ecc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x154f0
Capabilities:
Get file attributes
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov byte [ebp - 0x235], 0
push 0x154e0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ntoskrnl.exe_wcscpy]
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.ntoskrnl.exe_wcscat]
add esp, 8
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.000141d0
push 0
push 0
push 0
push 1
push 1
push 0
push 0
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x234]
push eax
push 1
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x156c7
mov dword [ebp - 0x244], 0
push 0
push 0
lea edx, [ebp - 0x234]
push edx
call fcn.000141d0
mov eax, dword [ebp - 0x21c]
push eax
push 0x8000000
push 2
push 0
lea ecx, [ebp - 0x234]
push ecx
push 0xf0005
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
jl 0x156a7
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
push 2
push 0
push 1
lea eax, [ebp - 0x248]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x24c]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jl 0x1569a
cmp dword [ebp - 0x24c], 0
je 0x1569a
push 5
push 0x18
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x270]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
jl 0x1568b
cmp dword [ebp + 0x14], 0
je 0x15656
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x260]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x15667
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x260]
jbe 0x15670
mov eax, dword [ebp - 0x260]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call fcn.000138c0
mov byte [ebp - 0x235], 1
mov ecx, dword [ebp - 0x24c]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp dword [ebp + 0x18], 0
je 0x156ba
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x21c]
mov dword [eax], ecx
jmp 0x156c7
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, byte [ebp - 0x235]
mov esp, ebp
pop ebp
ret 0x14