joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c8a6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4f4500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], ebx
call fcn.00413f70
push 0x49fb30
push 4
push ebx
lea ecx, [ebp - 0x20]
call fcn.0042c43e
or esi, 0xffffffff
test eax, eax
jne 0x42c910
lea eax, [ebp - 0x21]
push eax
push esi
push 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x44]
call fcn.00407bd0
push esi
push ebx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.00407d30
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.004081e0
lea eax, [ebp - 0x20]
push eax
call fcn.0042c46a
pop ecx
test al, al
je 0x42c93e
mov byte [edi], bl
xor esi, esi
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.004081e0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004436fd
leave
ret
mov eax, esi
lea ecx, [ebp - 0x21]
push ecx
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x44]
call fcn.00407bd0
push esi
push ebx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.00407d30
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.004081e0
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x42c977
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
jne 0x42c99b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42c9a2
cmp eax, 3
je 0x42c9a2
cmp eax, 0x7b
je 0x42c9a2
mov esi, eax
jmp 0x42c922
test eax, 0x400
jne 0x42c9c1
push 1
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], 0x5c
call fcn.0040c7e0
cmp eax, esi
jne 0x42c940
jmp 0x42c91e
mov byte [edi], 1
jmp 0x42c920
Function at 0x42d4e4
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push edi
mov ebx, ecx
xor edi, edi
cmp byte [ebx + 0x50], 0
mov dword [ebp - 0xc], edi
jne 0x42d503
mov eax, 0x3f0
jmp 0x42d5ef
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push edi
push edi
push 2
push dword [ebx + 0x48]
mov dword [ebp - 4], edi
call esi
cmp dword [ebp - 4], edi
je 0x42d547
push dword [ebp - 4]
call fcn.00442a0d
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
push edi
push 2
push dword [ebx + 0x48]
call esi
test eax, eax
jne 0x42d552
push edi
call fcn.00443640
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42d5ee
and dword [ebp - 8], 0
cmp dword [edi], 0
jbe 0x42d5e5
mov esi, dword [ebp + 8]
add edi, 4
mov eax, dword [edi + 4]
test al, 0x20
jne 0x42d5d3
test eax, 0xc0000000
jne 0x42d5d3
test esi, esi
je 0x42d5bd
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x44
cdq
pop ecx
idiv ecx
and dword [ebp + 8], 0
test eax, eax
jbe 0x42d5bd
push dword [edi]
mov ecx, esi
push dword [ebp + 8]
call fcn.0042cc93
mov ecx, eax
call fcn.0042d9c3
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x42d5d3
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x44
cdq
pop ecx
idiv ecx
inc dword [ebp + 8]
cmp dword [ebp + 8], eax
jb 0x42d58b
push dword [edi]
lea ecx, [ebp - 0x50]
call fcn.0042d9aa
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 0x30]
call fcn.0042a30b
inc dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add edi, 8
cmp ecx, dword [eax]
jb 0x42d565
mov edi, eax
push edi
call fcn.00443640
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x42d679
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov ebx, ecx
xor edi, edi
cmp byte [ebx + 0x50], 0
mov dword [ebp - 0x10], edi
jne 0x42d698
mov eax, 0x3f0
jmp 0x42d799
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push edi
push edi
push 3
push dword [ebx + 0x48]
mov dword [ebp - 4], edi
call esi
cmp dword [ebp - 4], edi
je 0x42d6dc
push dword [ebp - 4]
call fcn.00442a0d
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
push edi
push 3
push dword [ebx + 0x48]
call esi
test eax, eax
jne 0x42d6e7
push edi
call fcn.00443640
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42d798
and dword [ebp - 0xc], 0
cmp dword [edi], 0
jbe 0x42d78f
mov esi, dword [ebp + 8]
lea eax, [edi + 4]
mov dword [ebp - 8], eax
test esi, esi
je 0x42d76d
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
and dword [ebp + 8], 0
test eax, eax
jbe 0x42d76d
and dword [ebp - 0x18], 0
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x14]
mov ecx, esi
stosd dword es:[edi], eax
call fcn.00407720
cmp dword [eax + 0x18], 8
jb 0x42d734
mov eax, dword [eax + 4]
jmp 0x42d737
add eax, 4
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x14]
jne 0x42d756
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
je 0x42d77a
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [ebp + 8]
cmp dword [ebp + 8], eax
jb 0x42d715
mov edi, dword [ebp - 0x10]
push dword [ebp - 8]
lea ecx, [ebx + 0x18]
call fcn.0042d13d
jmp 0x42d77d
mov edi, dword [ebp - 0x10]
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], 0xc
cmp eax, dword [edi]
jb 0x42d6fd
push edi
call fcn.00443640
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x43122a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4f4500]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
cmp byte [ebp + 8], bl
jne 0x431252
cmp dword [edi + 0x1c], ebx
jne 0x431280
mov al, 1
jmp 0x431320
push ebx
push 0x438b02
push 1
push str.NtMapViewOfSection
mov esi, 0x49fe0c
push esi
call fcn.00430b8c
push 1
push 0x438c20
push 1
push str.NtUnmapViewOfSection
push esi
mov ecx, edi
call fcn.00430b8c
mov esi, dword [edi + 0x1c]
mov eax, dword [edi]
mov eax, dword [eax]
push 0x40
push 0x1000
shl esi, 6
add esi, 0x50
push esi
push ebx
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x60
push ebx
mov dword [ebp - 0x48], ebx
mov ebx, 0x4f68c8
push ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0x10
call fcn.004435a0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push esi
push dword [ebp - 0x58]
mov ecx, edi
call fcn.00430def
test al, al
je 0x43131e
lea eax, [ebp - 0x60]
push eax
push 0x10
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x43131e
cmp dword [ebp - 0x60], 0x10
jne 0x43131e
lea eax, [ebp - 0x64]
push eax
push 0x20
push esi
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [edi]
push 0x60
push ebx
push str.g_originals
call fcn.0042aa4e
neg eax
sbb al, al
inc al
jmp 0x431320
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004436fd
leave
ret 4

Function at 0x4321eb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x34]
push ebx
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43227f
cmp dword [ebp + 0xc], 0
mov eax, 0x101c01
mov dword [ebp - 4], 0x100c43
je 0x432233
mov eax, 0x1fffff
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push 1
push 0
push eax
push ebx
push dword [ebp + 8]
push dword [ebx]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call edi
test eax, eax
jne 0x432262
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43227d
push 1
push 0
push dword [ebp - 4]
lea eax, [ebx + 4]
push eax
push dword [ebp + 8]
push dword [eax]
call esi
push eax
call edi
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43863f
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
mov esi, ecx
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
je 0x43865f
xor al, al
jmp 0x4386c8
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [esi + 8]
call edi
mov ebx, 0x102
jmp 0x4386c0
cmp eax, 0x80
je 0x4386c4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x4386c4
mov ecx, esi
call fcn.00435e24
mov byte [ebp - 1], al
test al, al
je 0x4386a6
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
jne 0x4386c4
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x4386c4
cmp byte [ebp - 1], 0
jne 0x4386cb
push 0xffffffffffffffff
push dword [esi + 8]
call edi
cmp eax, ebx
jne 0x438675
xor al, al
pop edi
pop ebx
pop esi
leave
ret
mov al, 1
jmp 0x4386c6
Function at 0x4387b6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x4f4500]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x228]
call fcn.00407290
xor edi, edi
inc edi
push edi
push 0xffffffffffffffff
push 0x4ee568
lea ecx, [ebp - 0x228]
call fcn.00414670
push ebx
lea ecx, [ebp - 0x228]
cmp eax, 0xffffffff
jne 0x438830
push edi
call fcn.004081e0
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004436fd
leave
ret 4
inc eax
push eax
call fcn.00412fd0
push edi
push 3
lea ecx, [ebp - 0x330]
call fcn.00438768
push dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 8]
push 0x4ee88c
push eax
push 0x4a0460
lea eax, [ebp - 0x228]
push eax
push 0x4a045c
push 0x435d6a
push 0x435d50
lea ecx, [ebp - 0x328]
call fcn.00435e7a
mov ecx, eax
call fcn.00435e7a
push eax
call fcn.004382b1
pop ecx
pop ecx
push eax
call fcn.004383b9
pop ecx
pop ecx
push eax
call fcn.004382b1
pop ecx
pop ecx
mov ecx, eax
call fcn.004386cf
push eax
call fcn.004384dd
pop ecx
pop ecx
mov ecx, eax
call fcn.004386cf
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x324]
call fcn.00437294
cmp dword [ebp - 0x24c], 8
mov eax, dword [ebp - 0x260]
jae 0x4388d5
lea eax, [ebp - 0x260]
push eax
call fcn.0044474a
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x230], eax
call fcn.004081e0
push 0x40
lea eax, [ebp - 0x2a4]
push ebx
push eax
call fcn.004435a0
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2a8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x230]
mov dword [ebp - 0x2a8], 0x44
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x438953
push ebx
lea ecx, [ebp - 0x230]
call fcn.00434f65
lea ecx, [ebp - 0x330]
call fcn.00437006
push ebx
lea ecx, [ebp - 0x228]
jmp 0x438817
push 0xffffffffffffffff
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x248]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne byte [ebp - 0x229]
call esi
push dword [ebp - 0x244]
call esi
cmp dword [ebp - 0x234], 0x102
jne 0x4389da
mov byte [ebp - 0x229], bl
push ebx
lea ecx, [ebp - 0x230]
call fcn.00434f65
lea ecx, [ebp - 0x330]
call fcn.00437006
push ebx
push edi
lea ecx, [ebp - 0x228]
call fcn.004081e0
mov al, byte [ebp - 0x229]
jmp 0x43881f
cmp byte [ebp - 0x229], bl
je 0x4389ee
cmp dword [ebp - 0x238], ebx
jne 0x4389ee
mov al, 1
jmp 0x4389f0
xor al, al
mov byte [ebp - 0x229], al
jmp 0x4389ab
Function at 0x4389f8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x10], edi
call fcn.004150f0
cmp dword [eax + 0x24], 1
je 0x438a19
mov al, 1
jmp 0x438afe
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push 1
push edi
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 8], eax
call ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push edi
push edi
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
push 0x100002
lea ecx, [ebp - 8]
push ecx
push eax
push dword [esi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x438aec
mov eax, dword [esi]
mov eax, dword [eax]
push edi
push edi
push 0x100002
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [esi + 0xc]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x438aec
mov eax, dword [esi]
mov ecx, dword [eax]
push 0x40
mov eax, 0x1000
push eax
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
cmp ebx, edi
je 0x438aec
push 0x2c
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.004435a0
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x438aec
cmp dword [ebp - 0x10], 0x10
jne 0x438aec
push ebx
mov ecx, esi
call fcn.004387b6
test al, al
je 0x438aec
mov ecx, esi
call fcn.0043863f
test al, al
jne 0x438af0
xor al, al
jmp 0x438afd
mov eax, dword [esi]
mov eax, dword [eax]
push ebx
push eax
call fcn.00435d76
pop ecx
pop ecx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x43c294
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x14]
add ecx, ecx
cmp dword [eax + 0x18], 8
jb 0x43c2aa
mov eax, dword [eax + 4]
jmp 0x43c2ad
add eax, 4
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x18], 8
jb 0x43c2bb
mov edx, dword [edx + 4]
jmp 0x43c2be
add edx, 4
push ecx
push eax
push 1
push 0
push edx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret

Function at 0x43d032
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4f4500]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x210], esi
call fcn.004435a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x43d0e5
push ebx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x248]
call fcn.00407290
push edi
lea ecx, [ebp - 0x22c]
call fcn.00407290
push esi
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004117f0
add esp, 0xc
mov bl, al
neg bl
push esi
sbb bl, bl
push 1
lea ecx, [ebp - 0x22c]
inc bl
call fcn.004081e0
push esi
push 1
lea ecx, [ebp - 0x248]
call fcn.004081e0
mov al, bl
pop ebx
jmp 0x43d0e7
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004436fd
leave
ret

Function at 0x441afc
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 0x4b41e8
xor ebx, ebx
push 1
push ebx
mov dword [ebp - 0xc], ebx
push 0x4b6d18
mov dword [ebp - 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x441b37
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x441b33
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x441bb2
push esi
mov esi, dword [ebp - 8]
push 0x4b41f8
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], ebx
call fcn.00421780
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 4]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0xc]
lea ecx, [ebp - 0xc]
mov esi, eax
call fcn.004217a0
cmp esi, ebx
pop esi
jge 0x441b7c
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x441b26
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x441b26
cmp byte [ebp + 8], bl
je 0x441b98
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x441b6d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x441bb0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
pop ebx
leave
ret
Function at 0x4436fd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f4500]
jne 0x443707
repz ret
jmp fcn.0044b883

Function at 0x4589a5
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.0044b01d
and dword [ebp - 4], 0
cmp dword [0x4f783c], 0
mov ebx, eax
jne 0x458a56
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x458b07
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x458b07
push eax
call fcn.0044afab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4f783c], eax
call esi
push eax
call fcn.0044afab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f7840], eax
call esi
push eax
call fcn.0044afab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4f7844], eax
call esi
push eax
call fcn.0044afab
pop ecx
mov dword [0x4f784c], eax
test eax, eax
je 0x458a56
push 0x4b63e0
push edi
call esi
push eax
call fcn.0044afab
pop ecx
mov dword [0x4f7848], eax
mov eax, dword [0x4f7848]
cmp eax, ebx
je 0x458aae
cmp dword [0x4f784c], ebx
je 0x458aae
push eax
call fcn.0044b026
push dword [0x4f784c]
mov esi, eax
call fcn.0044b026
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x458aae
test edi, edi
je 0x458aae
call esi
test eax, eax
je 0x458aa5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x458aa5
test byte [ebp - 0xc], 1
jne 0x458aae
or dword [ebp + 0x10], 0x200000
jmp 0x458ae7
mov eax, dword [0x4f7840]
cmp eax, ebx
je 0x458ae7
push eax
call fcn.0044b026
pop ecx
test eax, eax
je 0x458ae7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x458ae7
mov eax, dword [0x4f7844]
cmp eax, ebx
je 0x458ae7
push eax
call fcn.0044b026
pop ecx
test eax, eax
je 0x458ae7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f783c]
call fcn.0044b026
pop ecx
test eax, eax
je 0x458b07
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x458b09
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x475805
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
xor edi, edi
call fcn.00471a8e
pop ecx
push esi
push 0x10000080
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47583f
xor al, al
jmp 0x4758b8
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x47587c
push esi
push esi
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x47587c
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
lea edi, [ebp - 0xc]
push esi
push esi
push esi
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call ebx
cmp edi, esi
je 0x47583b
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
cmp eax, esi
jne 0x4758b3
push edi
call ebx
jmp 0x47583b
mov dword [ecx + 0x14], edi
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00401060
test eax, eax
je 0x401342
jmp 0x4014c5
cmp dword [0x410df0], 0
je 0x401373
mov eax, dword [0x410df8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x64
mov ecx, dword [0x410df0]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x410df0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x410df4], 0
je 0x401388
mov eax, dword [0x410df4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x410df8], 0
je 0x40139e
mov ecx, dword [0x410df8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x410dfc], 0
je 0x4013b4
mov edx, dword [0x410dfc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x410df4], eax
cmp dword [0x410df4], 0
jne 0x4013d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x410df8], eax
cmp dword [0x410df8], 0
jne 0x4013f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
push section..text
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x410df0], eax
cmp dword [0x410df0], 0
jne 0x401421
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x410dfc
push 0xf003f
push 0
push str.Control_PanelPowerCfg
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov eax, dword [0x410dc0]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call fcn.004014d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov ecx, dword [0x410dc0]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [0x410e00], 0
push 1
mov edx, dword [0x410df4]
push edx
push 4
push 0
mov eax, dword [0x410dfc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov dword [ebp - 4], eax
mov esp, ebp
pop ebp
ret