joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40807b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push 0x41c9ec
push 0x15
push edi
push 0x41ca4c
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
push eax
mov ebx, str.SoftwareIntelDisplayigfxcui3D
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push SysReAllocString
call esi
cmp dword [ebp - 0x1c], edi
je 0x4080e9
cmp eax, edi
jne 0x408204
cmp dword [ebp - 0x14], edi
je 0x408204
cmp dword [ebp - 0x20], edi
jl 0x408204
push 0x38
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.0040f480
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.Basic
push dword [ebp - 8]
call esi
xor ebx, ebx
inc ebx
test eax, eax
jne 0x408136
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
jmp 0x408139
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.VertexProcessing
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40815c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
jmp 0x40815f
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.TextureQuality
push dword [ebp - 8]
call esi
test eax, eax
jne 0x408182
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
jmp 0x408185
mov dword [ebp - 0x38], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.AnisotropicFiltering
push dword [ebp - 8]
call esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.VSync
push dword [ebp - 8]
call esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0x38
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x4081ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], edi
je 0x4081fa
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x18], edi
je 0x408204
push dword [ebp - 0x18]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4086a6
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4213f0]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.00406c0c
mov ebx, eax
cmp ebx, esi
je 0x408716
lea ecx, [ebp - 0x70]
call fcn.00406b97
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f4fa
add ebp, 0x9c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x40872e
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.004086a6
cmp eax, esi
jne 0x408760
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x40871e
lea ecx, [ebp - 0x70]
call fcn.00406b97
push dword [ebp - 0x78]
mov ecx, edi
call fcn.00406b3c
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00406b97
mov eax, esi
jmp 0x4086fc
Function at 0x40bcca
Capabilities:
Check os version

Disassembly:
push 0xa0
mov eax, 0x41bd01
call fcn.0040fe30
mov ebx, dword [ebp + 8]
and dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], ebx
xor edi, edi
lea eax, [ebp + 0xc]
inc edi
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00402b52
push 0x94
lea eax, [ebp - 0xa4]
push 0
push eax
mov dword [ebp - 0xa8], edi
call fcn.0040f480
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 2
jne 0x40bd5a
cmp dword [ebp - 0xa0], 5
jne 0x40bd5a
push str.Global_
mov ecx, ebx
call fcn.00402b95
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.00402898
push 0
push edi
lea ecx, [ebp + 0xc]
call fcn.004026b0
mov eax, ebx
call fcn.0040fe7a
ret

Function at 0x40c054
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
mov byte [ebp - 1], 1
cmp dword [0x422764], ebx
jne 0x40c091
push 0x422764
push ebx
push ebx
push 0x40bd6d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
jne 0x40c08a
mov dword [0x422764], ebx
mov byte [ebp - 1], bl
jmp 0x40c091
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x40f4fa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4213f0]
jne 0x40f504
repz ret
jmp fcn.00411481

Function at 0x416df0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041241c
and dword [ebp - 4], 0
cmp dword [0x423258], 0
mov ebx, eax
jne 0x416ea1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416f52
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x416f52
push eax
call fcn.004123aa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423258], eax
call esi
push eax
call fcn.004123aa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42325c], eax
call esi
push eax
call fcn.004123aa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423260], eax
call esi
push eax
call fcn.004123aa
pop ecx
mov dword [0x423268], eax
test eax, eax
je 0x416ea1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004123aa
pop ecx
mov dword [0x423264], eax
mov eax, dword [0x423264]
cmp eax, ebx
je 0x416ef9
cmp dword [0x423268], ebx
je 0x416ef9
push eax
call fcn.00412425
push dword [0x423268]
mov esi, eax
call fcn.00412425
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x416ef9
test edi, edi
je 0x416ef9
call esi
test eax, eax
je 0x416ef0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416ef0
test byte [ebp - 0xc], 1
jne 0x416ef9
or dword [ebp + 0x10], 0x200000
jmp 0x416f32
mov eax, dword [0x42325c]
cmp eax, ebx
je 0x416f32
push eax
call fcn.00412425
pop ecx
test eax, eax
je 0x416f32
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x416f32
mov eax, dword [0x423260]
cmp eax, ebx
je 0x416f32
push eax
call fcn.00412425
pop ecx
test eax, eax
je 0x416f32
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423258]
call fcn.00412425
pop ecx
test eax, eax
je 0x416f52
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416f54
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x566730
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x109000]
push edi
jmp 0x56674a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x566751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x566740
mov eax, 1
add ebx, ebx
jne 0x566763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x566774
jne 0x566793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x566793
dec eax
add ebx, ebx
jne 0x566780
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x566758
add ebx, ebx
jne 0x56678f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5667e5
xor ecx, ecx
sub eax, 3
jb 0x5667ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56681a
sar eax, 1
mov ebp, eax
jmp 0x5667b6
add ebx, ebx
jne 0x5667b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x566784
inc ecx
add ebx, ebx
jne 0x5667c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x566784
add ebx, ebx
jne 0x5667d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5667c6
jne 0x5667e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5667c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x566804
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5667f6
jmp 0x566746
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x566804
add edi, ecx
jmp 0x566746
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x566822
cmp byte [edi], 0x11
jne 0x566822
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x566827
lea edi, [esi + 0x15f000]
mov eax, dword [edi]
or eax, eax
je 0x56689f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e6e64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e6fe0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x566854
mov ecx, edi
jns 0x566883
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e6fe4]
or eax, eax
je 0x566899
mov dword [ebx], eax
add ebx, 4
jmp 0x566871
call dword [esi + 0x1e6ff4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5668d0
cmp al, 0xef
ja 0x5668c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5668a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5668b2
mov ebp, dword [esi + 0x1e6fe8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x566904
sub esp, 0xffffff80
jmp 0x420577
Function at 0x717a74
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x727a6c], 0
jne 0x717b33
mov dword [ebp - 0x10], 0x80000000
push 0x400
call fcn.0071ca2d
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x727a6c], eax
mov dword [ebp - 0xc], 0
jmp 0x717ab8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x100
jge 0x717b33
push 8
mov edx, dword [ebp - 0xc]
push edx
call fcn.00717a1e
add esp, 8
shl eax, 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
jmp 0x717ae7
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 8
jge 0x717b14
mov ecx, dword [ebp - 0x18]
and ecx, 0x80000000
test ecx, ecx
je 0x717b0a
mov edx, dword [ebp - 0x18]
shl edx, 1
xor edx, 0x4c11db7
mov dword [ebp - 0x18], edx
jmp 0x717b12
mov eax, dword [ebp - 0x18]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x717ade
push 0x20
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00717a1e
add esp, 8
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x727a6c]
mov dword [ecx + edx*4], eax
jmp 0x717aaf
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x717b4d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jae 0x717b79
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
mov eax, dword [0x727a6c]
mov ecx, dword [eax + ecx*4]
xor ecx, edx
mov dword [ebp + 0x10], ecx
jmp 0x717b44
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x71873a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x7187a6
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x7187ef
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00722960
add esp, 8
test eax, eax
jne 0x7187ed
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x7187f1
jmp 0x71879d
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x71c65f
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0071a49c
add esp, 4
and eax, 0xff
test eax, eax
je 0x71c6e8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.0071d170
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x71c6e6
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x71c6e6
jmp 0x71c6e8
jmp 0x71c668
mov esp, ebp
pop ebp
ret

Function at 0x71f072
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x724ec8
cmp edx, dword [eax]
je 0x71f094
add eax, 8
inc ecx
cmp eax, 0x724f58
jl 0x71f085
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x724ec8]
jne 0x71f1c2
mov eax, dword [0x727f60]
cmp eax, 1
je 0x71f19c
test eax, eax
jne 0x71f0c5
cmp dword [0x724c04], 1
je 0x71f19c
cmp edx, 0xfc
je 0x71f1c2
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x71f0fc
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0071d4b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0071d260
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x71f13f
lea eax, [ebp - 0x1a4]
push eax
call fcn.0071d260
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x727954
push edi
call fcn.0071d660
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0071d4b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0071d4c0
lea eax, [ebp - 0xa0]
push 0x727934
push eax
call fcn.0071d4c0
push dword [esi + 0x724ecc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0071d4c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00721728
add esp, 0x2c
pop edi
jmp 0x71f1c2
lea eax, [ebp + 8]
lea esi, [esi + 0x724ecc]
push 0
push eax
push dword [esi]
call fcn.0071d260
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4e3502
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4df650]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4e3520
push eax
call dword [fcn.004df020]
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
movzx eax, word [ebx + 0x14]
push dword [ebx + 0x88]
lea eax, [eax + ebx + 0x18]
push ebx
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], eax
call fcn.004e0a97
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
je 0x4e35e4
movzx eax, word [ebx + 6]
and dword [ebp - 0x14], 0
test eax, eax
push esi
push edi
jle 0x4e358f
mov edi, dword [ebp - 0x10]
push 2
pop ecx
lea esi, [ebp - 0xc]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x4e358f
add dword [ebp - 0x10], 0x28
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jl 0x4e3574
cmp dword [ebp - 0x14], eax
je 0x4e35e2
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x34]
add edx, dword [eax + 0xc]
push 4
pop ecx
mov edi, 0x4e0f78
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x4e35e2
push 4
pop ecx
mov edi, 0x4e0f78
lea esi, [edx + 0x140]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x4e35e2
cmp dword [edx + 0x124], eax
je 0x4e35d0
push 0x4e3304
jmp 0x4e35d5
push 0x4e34ea
push ebx
push dword [ebp - 0x18]
push edx
call fcn.004e30db
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004e4534
leave
ret
Function at 0x11386
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x15094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x204]
push eax
xor esi, esi
call fcn.0001106e
cmp word [ebp - 0x204], si
jne 0x113ba
xor eax, eax
jmp 0x11481
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push esi
push esi
push 0x820
push 3
push 3
push 0x80
lea eax, [ebp - 0x238]
mov dword [ebp - 0x228], eax
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x230]
push eax
push 0x120116
lea eax, [ebp - 0x208]
push eax
mov dword [ebp - 0x230], 0x18
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x224], 0x40
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x1147f
mov eax, dword [ebp + 8]
push esi
push esi
push 8
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push esi
push dword [ebp - 0x208]
mov dword [ebp - 0x218], 0x58
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
test eax, eax
jl 0x11473
mov esi, dword [ebp - 0x20c]
push dword [ebp - 0x208]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0001260e
leave
ret 4

Function at 0x11b58
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ecx + 0x3c]
add eax, ecx
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
cmp edx, dword [ecx + 0xc]
jae 0x11b6d
mov eax, edx
ret
push ebx
push esi
movzx esi, word [eax + 6]
push edi
xor edi, edi
test esi, esi
jbe 0x11b92
mov eax, dword [ecx + 0xc]
cmp edx, eax
jb 0x11b8a
mov ebx, dword [ecx + 8]
add ebx, eax
cmp edx, ebx
jb 0x11b99
add ecx, 0x28
inc edi
cmp edi, esi
jb 0x11b7a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, edx
jmp 0x11b95
Function at 0x11ba8
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push edi
xor edi, edi
push edi
push 0xa
push edi
call esi
mov ebx, eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
push edi
push ebx
cmp eax, 0xc0000004
jne 0x11c49
mov ebx, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
call ebx
push edi
push dword [ebp - 4]
push edi
call esi
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, edi
je 0x11c4f
push edi
push dword [ebp - 4]
push esi
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jge 0x11c07
push edi
push esi
call ebx
jmp 0x11c4f
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov ebx, dword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
jmp 0x11c24
mov eax, dword [esi]
cmp eax, edi
je 0x11c39
add esi, eax
push 1
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x11c1c
mov esi, dword [esi + 0x44]
jmp 0x11c3b
mov esi, edi
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, esi
jmp 0x11c51
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x11d30
Capabilities:
Find process by pid

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x15094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x65
pop eax
push 0x78
mov ecx, eax
mov word [ebp - 0x20], cx
pop ecx
push 0x70
mov word [ebp - 0x1e], cx
pop ecx
push 0x6c
mov esi, dword [ebp + 8]
mov word [ebp - 0x1c], cx
pop ecx
push 0x6f
mov word [ebp - 0x1a], cx
pop ecx
push 0x72
mov word [ebp - 0x18], cx
pop ecx
mov word [ebp - 0x16], cx
push 0x72
mov ecx, eax
mov word [ebp - 0x14], cx
pop ecx
push 0x2e
mov word [ebp - 0x12], cx
pop ecx
mov word [ebp - 0x10], cx
mov ecx, eax
push 0x78
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 0xe], cx
lea edi, [esi + 0x94]
pop ecx
mov word [ebp - 0xc], cx
mov word [ebp - 8], ax
cmp dword [edi], eax
jne 0x11dd1
lea eax, [ebp - 0x20]
push eax
call fcn.00011ba8
mov dword [esi + 0x98], eax
test eax, eax
jne 0x11dbf
xor eax, eax
jmp 0x11dd4
push edi
push eax
call sub.ntoskrnl.exe_PsLookupProcessByProcessId
test eax, eax
jl 0x11dbb
push dword [edi]
call sub.ntoskrnl.exe_KeAttachProcess
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0001260e
leave
ret 4