joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452280
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x600190], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x5ffff0], eax
mov eax, dword [ebp - 0x90]
mov dword [0x600000], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x600010], eax
mov eax, dword [ebp - 0x88]
mov dword [0x600020], eax
mov edx, 0x600031
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.004038b0
lea eax, [ebp - 0x80]
call fcn.00404930
mov byte [0x600030], al
mov eax, 0x5ab908
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x6001a0], eax
test eax, eax
je 0x45231f
mov eax, 0x5ab914
push eax
push dword [0x6001a0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x600190], eax
cmp dword [0x600000], 6
jae 0x452332
mov dword [0x5809f0], 0
cmp dword [0x600000], 6
jb 0x45234e
cmp dword [0x600010], 1
jb 0x45234e
mov dword [0x580a00], 2
cmp dword [0x6001a0], 0
je 0x452376
cmp dword [0x600000], 6
jb 0x452376
mov eax, str.GetTimeZoneInformationForYear
push eax
push dword [0x6001a0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x581130], eax
mov esp, ebp
pop ebp
ret
Function at 0x490500
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea edi, [ecx - 1]
test edi, edi
jl 0x49052f
mov ebx, 0xffffffff
nop
add ebx, 1
mov cl, al
xor cl, byte [edx]
movzx esi, cl
mov ecx, eax
shr ecx, 8
xor ecx, dword [esi*4 + 0x6007a0]
mov eax, ecx
add edx, 1
cmp ebx, edi
jl 0x490510
pop edi
pop esi
pop ebx
ret

Function at 0x4af760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, 1
jne 0x4af780
mov eax, dword [ebp - 8]
mov edx, eax
call dword [eax + 0x34]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4af842
xor eax, eax
push 0x4af827
push ebp
push 0x415230
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0040d690
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0xe], 0
mov eax, 0x5a6010
mov edx, 1
call fcn.00436ec0
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004af9f0
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004afa60
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004afad0
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
setne al
cmp dword [ebp - 4], 0
setne dl
and al, dl
je 0x4af81c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x4af842
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b8d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x4b8d94
mov eax, dword [ebp - 0xc]
mov edx, eax
call dword [eax + 0x34]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b8e37
xor eax, eax
push 0x4b8e1c
push ebp
push 0x415230
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x4b8df6
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_SizeofResource
mov ebx, eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x18]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00435110
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x4b8e11
cmp dword [ebp - 8], 0
je 0x4b8e11
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x4b8e37
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4bab00
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
lea esp, [esp - 4]
mov esi, eax
cmp dword [eax + 0x14], 0xca
jne 0x4bab37
mov eax, esi
call fcn.004befe0
cmp byte [esi + 0x40], 0
je 0x4bab30
mov dword [esi + 0x14], 0xcf
mov byte [esp], 1
jmp 0x4babe7
mov dword [esi + 0x14], 0xcb
cmp dword [esi + 0x14], 0xcb
jne 0x4babc8
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4babbb
nop dword [eax]
cmp dword [esi + 8], 0
je 0x4bab65
mov eax, esi
mov edx, dword [esi + 8]
call dword [edx]
mov eax, esi
mov edx, dword [esi + 0x184]
call dword [edx]
mov ebx, eax
test eax, eax
jne 0x4bab80
mov byte [esp], 0
jmp 0x4babe7
cmp ebx, 2
je 0x4babbb
cmp dword [esi + 8], 0
je 0x4bab65
cmp ebx, 3
sete al
cmp ebx, 1
sete dl
or al, dl
je 0x4bab58
mov eax, dword [esi + 8]
add dword [eax + 4], 1
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4bab58
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
jmp 0x4bab58
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4babdd
cmp dword [esi + 0x14], 0xcc
je 0x4babdd
mov ecx, dword [esi + 0x14]
mov dl, 0x14
mov eax, esi
call fcn.004baed0
mov eax, esi
call fcn.004bac00
mov byte [esp], al
mov al, byte [esp]
lea esp, [esp + 4]
pop esi
pop ebx
ret
Function at 0x4d7bd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
mov dword [ebp - 4], eax
cmp dword [eax + 0x24], 0
je 0x4d7c12
mov edx, dword [0x580350]
mov eax, dword [ebp - 4]
mov edx, dword [edx + 0x170]
cmp edx, dword [eax + 0x24]
jne 0x4d7c12
mov eax, dword [0x580350]
cmp byte [eax + 0x11c], 0
jne 0x4d7c12
mov eax, dword [0x5807a0]
mov edx, dword [eax]
call dword [edx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, dword [0x5807a0]
mov edx, dword [eax]
call dword [edx + 0x6c]
cmp eax, dword [ebx]
jne 0x4d7d00
mov eax, dword [0x580350]
cmp byte [eax + 0x11c], 0
jne 0x4d7d00
mov eax, dword [0x5807a0]
mov edx, dword [eax]
call dword [edx + 0x6c]
call fcn.00549a60
mov eax, dword [0x580350]
cmp dword [eax + 0x170], 0
je 0x4d7cbf
push 0x10
push 0
mov eax, dword [0x580350]
mov eax, dword [eax + 0x170]
push dword [eax + 0x254]
mov eax, dword [0x580350]
mov eax, dword [eax + 0x170]
push dword [eax + 0x248]
mov eax, dword [0x580350]
mov eax, dword [eax + 0x170]
push dword [eax + 0x12c]
push 0
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x580350]
mov eax, dword [eax + 0x170]
call fcn.004f78b0
test al, al
je 0x4d7cbf
push 0
mov eax, dword [0x580350]
call fcn.00421340
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x580350]
call fcn.004244a0
jmp 0x4d7d94
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
je 0x4d7d58
mov edx, dword [0x580350]
mov eax, dword [ebp - 4]
mov edx, dword [edx + 0x170]
cmp edx, dword [eax + 0x24]
jne 0x4d7d58
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x580350]
call fcn.004244a0
jmp 0x4d7d94
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
je 0x4d7d94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
test dword [eax + 0x494], 8
je 0x4d7d94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x5807a0]
mov edx, dword [eax]
call dword [edx + 0x8c]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ddba0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 8
mov eax, fcn.004dc160
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00413a30
mov dword [ebp - 0x20], eax
mov eax, str.MAINICON
push eax
push dword [0x5ff2d0]
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4ddbf6
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x1c], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, str.Window
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
setne byte [ebp - 8]
cmp byte [ebp - 8], 0
je 0x4ddc6e
or dword [ebp - 0x30], 0x800
cmp dword [0x59a780], 6
jb 0x4ddc48
or dword [ebp - 0x30], 0x20000
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov eax, str.HintWindow
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
setne byte [ebp - 8]
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4dede0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov byte [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push dword [eax - 8]
call sub.user32.dll_GetClipboardData
mov edx, dword [ebp - 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x14], 0
je 0x4dee75
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalSize
mov edx, dword [ebp - 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x1c], 0
jle 0x4dee75
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalLock
mov edx, dword [ebp - 8]
mov dword [edx - 0x18], eax
xor eax, eax
push fcn.004dedc0
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x84]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004dedc0
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4df540
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.004df510
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4df620
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x70]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.00469630
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.00469580
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
cmp dword [0x582200], 0
jne 0x4df5dc
call fcn.00469c20
mov ebx, dword [0x582200]
mov eax, str._DataSize
push eax
push dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov eax, ebx
call fcn.0046b140
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x4df671
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.004df4f0
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x70]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + pe_nt_image_headers32]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004df4f0
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004df510
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x507e30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x507e54
mov eax, dword [ebp - 0xc]
mov edx, eax
call dword [eax + 0x34]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x507efe
xor eax, eax
push 0x507ee3
push ebp
push 0x415230
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0040d690
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x507ed8
cmp dword [ebp - 8], 0
je 0x507ed8
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x44]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x507efe
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x549e90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.00549e70
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x5edde0]
lea eax, [ebp - 0x10]
call fcn.0040a7a0
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.0040aad0
cmp dword [ebp - 0xc], 0
jle 0x549f07
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x549efb
mov eax, 0x5ff2f0
push eax
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextW
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.0040aad0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.0040b290
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x549f30
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x549f3c
mov eax, 0x5ff2f0
call fcn.0042d6e0
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00549e70
mov esp, ebp
pop ebp
ret
Function at 0x54b690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov eax, ecx
mov edx, 0x5ee4e8
call fcn.0040e940
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.0054b680
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0xc]
add eax, 0x34
xor edx, edx
call fcn.00408c30
mov edx, fcn.004dc160
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x1c]
mov dword [eax + 4], edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor dx, dx
call fcn.00409620
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, 0x30
call fcn.00408c30
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x14]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x18]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.00549550
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0054bcf0
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
jne 0x54b7ac
mov eax, dword [ebp - 4]
call fcn.004fc210
test al, al
jne 0x54b7ac
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x24]
or edx, 0x8000000
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x24], edx
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0054b680
mov esp, ebp
pop ebp
ret
Function at 0x563e00
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
xor eax, eax
push fcn.00563df0
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push 0x563ed6
push ebp
push 0x415230
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xfd
lea eax, [ebp - 8]
xor cx, cx
mov edx, 0xfe
call fcn.004099c0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x563e61
mov eax, 0x5ff2f0
push eax
call sub.advapi32.dll_GetUserNameA
cmp dword [ebp - 0xc], 0x7fffffff
jbe 0x563e75
call fcn.0040f2e0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
xor cx, cx
call fcn.004099c0
mov edx, dword [ebp - 8]
mov ecx, 1
xor al, al
call fcn.00409d50
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x563ec0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
jno 0x563eaa
call fcn.0040f300
mov eax, dword [ebp - 8]
mov edx, 1
call fcn.00409b50
jmp 0x563ecb
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408c30
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x563ee5
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00563df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5641a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xa8]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
xor eax, eax
push fcn.00564170
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x59bf10]
mov eax, dword [ebp - 4]
call fcn.00408c30
mov byte [ebp - 0x9c], 0
mov edx, dword [0x59bf10]
lea eax, [ebp - 8]
call fcn.00408c30
xor eax, eax
push 0x564251
push ebp
push 0x415230
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x90
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x9c]
lea edx, [ebp - 0xa4]
call fcn.0044d350
mov edx, dword [ebp - 0xa4]
mov eax, 0x59bf00
call fcn.00408c30
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x564266
mov eax, dword [0x59bf00]
call fcn.00561780
mov byte [ebp - 0xa0], al
cmp al, 0x5c
je 0x564291
push 0
mov ecx, 0x5f6b8c
mov edx, dword [0x59bf00]
mov eax, 0x59bf00
call fcn.00408d20
mov edx, dword [0x59bf00]
mov eax, 0x59c0a0
call fcn.00408c30
lea edx, [ebp - 0xa8]
mov eax, dword [0x59c0a0]
call fcn.004462c0
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.00566b90
mov edx, dword [ebp - 0xa4]
mov eax, 0x59c090
call fcn.00408c30
lea edx, [ebp - 0xa8]
mov eax, str._WINDOWS
call fcn.00564870
mov edx, dword [ebp - 0xa8]
mov eax, 0x603c50
call fcn.00408c30
mov eax, dword [0x603c50]
call fcn.00564600
test al, al
je 0x564350
mov edx, dword [0x603c50]
mov eax, 0x59bef0
call fcn.00408c30
mov eax, dword [0x59bef0]
call fcn.00561780
mov byte [0x603c80], al
cmp al, 0x5c
je 0x56433e
cmp al, 0x3a
je 0x56433e
push 0
mov ecx, 0x5f6b8c
mov edx, dword [0x59bef0]
mov eax, 0x59bef0
call fcn.00408d20
mov edx, dword [0x59bef0]
lea eax, [ebp - 8]
call fcn.00408c30
jmp 0x56436e
mov edx, dword [0x59bf10]
mov eax, 0x59bef0
call fcn.00408c30
mov edx, dword [0x59bef0]
lea eax, [ebp - 8]
call fcn.00408c30
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408c30
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 8]
call fcn.004462c0
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa8]
call fcn.00566b90
mov edx, dword [ebp - 0xa8]
mov eax, 0x59c0b0
call fcn.00408c30
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00564170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x569020
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x140]
push ebx
push esi
push edi
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
xor eax, eax
push fcn.00568ff0
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x12c]
xor edx, edx
call fcn.00408c30
push 0
push 2
call fcn.00570fb0
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x128], 0x128
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x140]
call fcn.00570fc0
mov esi, eax
call sub.kernel32.dll_GetCurrentProcessId
mov ebx, eax
cmp eax, 0x7fffffff
jbe 0x569167
call fcn.0040f2e0
jmp 0x569167
mov ecx, dword [ebp - 0x120]
xor edi, edi
mov eax, ebx
cdq
cmp edi, edx
jne 0x5690db
cmp ecx, eax
je 0x569153
cmp dword [ebp - 0x12c], 0
je 0x5690fc
push 0
mov ecx, 0x5f6c14
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x12c]
call fcn.00408d20
push 0
push 1
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x104]
xor cx, cx
mov edx, 0x103
call fcn.004096c0
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00446390
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00446b90
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x12c]
call fcn.00408d20
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x140]
call fcn.00570fd0
mov esi, eax
test esi, esi
jne 0x5690c8
push dword [ebp - 0x140]
call sub.kernel32.dll_CloseHandle
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x13c]
call fcn.00408c30
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00568ff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret