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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46ca18
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x436ba9
inc eax
mov dword [esi + 0x10], eax
jmp 0x436cbc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x436bbd
mov eax, 0xffffffc7
jmp 0x436cbe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x436bce
cmp dword [esi + 8], eax
jne 0x436bbd
cmp dword [esi + 8], eax
jne 0x436be7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x436be7
mov eax, 0xffffffc7
jmp 0x436cbe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x436bfb
push eax
mov ecx, ebx
call fcn.004363a0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00408be0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x436c2c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00408c00
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00435b10
test eax, eax
mov dword [esp + 0x38], eax
je 0x436c5f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6619c0
call fcn.00408de0
mov eax, dword [esp + 0x38]
jmp 0x436cbe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004369d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x436ca3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004369f0
mov esi, eax
test esi, esi
jne 0x436cd3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004369d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x436c75
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6619c0
call fcn.00408de0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6619c0
call fcn.00408de0
mov eax, esi
jmp 0x436cbe

Function at 0x439e00
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x439e60
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x439e60
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x439e60
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x439e60
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x439ea0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43fdb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00465f02
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043f750
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00465e30
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004626f4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004626f4
push 1
push 0
push 0
mov ecx, esi
call fcn.0046269c
push 1
push 0
push 1
mov ecx, esi
call fcn.0046269c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00465f74
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43ff30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00465f02
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043f750
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00465e30
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43fff4
cmp dword [esp + 0x40], 1
jne 0x43fff2
cmp ecx, eax
jge 0x43fff4
mov eax, ecx
cmp eax, 0xc8
jge 0x440000
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043fdb0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00465f74
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x440780
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d0d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00460b14
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004661aa
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004677c0
test eax, eax
je 0x44089c
mov ecx, dword [esp + 0x3c]
call fcn.004661d7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x440860
push edi
mov ecx, esi
call fcn.0046383b
mov ecx, esi
call fcn.00440a00
cmp dword [esp + 0x38], 1
jne 0x440895
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00463976
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4432c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4432f3
push esi
call fcn.004463b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4432ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443379
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443362
mov eax, dword [esi + 8]
test eax, eax
je 0x443317
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44335e
cmp eax, 2
je 0x443362
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44330a
cmp eax, 3
je 0x44333d
cmp eax, 1
jne 0x44330a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44330a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44330a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004433a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443388
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004433a0
add esp, 4
pop esi
ret

Function at 0x46190a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x461942
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045f9be
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045f996
jmp 0x46194e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x462ff8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46303a
call fcn.00468bb1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46303a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463031
xor eax, eax
jmp 0x463042
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00463048
pop edi
pop esi
pop ebx
ret 4

Function at 0x4690e1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46910f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46912d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469047
jmp 0x46912d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46912d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469047
test edi, edi
mov eax, edi
jne 0x469117
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407c10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
lea edx, [ebp - 0x3f4]
push edx
push 0x20019
push 0
push str.TypeLib
push SysReAllocStringLen
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x400], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push SysReAllocStringLen
mov esi, eax
call edi
test esi, esi
je 0x407c77
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004554c3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x3f4]
lea eax, [ebp - 0x3f0]
push eax
push 0x20019
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp - 0x3f4]
push edx
mov esi, eax
call edi
test esi, esi
jne 0x407c65
mov edx, dword [ebp - 0x3f0]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x3ec]
push ecx
push esi
push edx
mov dword [ebp - 0x3f8], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
mov eax, dword [ebp - 0x3f0]
push eax
call edi
test esi, esi
jne 0x407c65
mov ecx, dword [ebp - 0x400]
mov edx, dword [ebp - 0x3fc]
push ecx
push edx
lea eax, [ebp - 0x3ec]
push str._d._d
push eax
call fcn.00456605
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.004554c3
mov esp, ebp
pop ebp
ret
Function at 0x407d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x271c
call fcn.0046ccb0
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x270f
push eax
lea eax, [ebp - 0x2714]
push eax
mov esi, ecx
mov ebx, edx
mov byte [ebp - 0x2715], 0
call fcn.004566d0
add esp, 0xc
test esi, esi
je 0x407d97
push edi
lea edi, [ebp - 0x2714]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407d58
mov cx, word [0x47ce48]
mov eax, esi
mov word [edi], cx
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407d70
lea edi, [ebp - 0x2714]
sub eax, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407d80
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0
lea edx, [ebp - 0x271c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x2714]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x407e39
test ebx, ebx
je 0x407df3
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407dd0
mov ecx, dword [ebp - 0x271c]
sub eax, edx
inc eax
push eax
push ebx
push 1
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x407e14
mov edx, dword [ebp - 0x271c]
push edx
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004554c3
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x271c]
mov bl, byte [ebp - 0x2715]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004554c3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x2715]
pop esi
xor ecx, ebp
pop ebx
call fcn.004554c3
mov esp, ebp
pop ebp
ret

Function at 0x407e50
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2714
call fcn.0046ccb0
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x270f
push eax
lea eax, [ebp - 0x2714]
push eax
call fcn.004566d0
add esp, 0xc
lea ecx, [ebp - 0x2714]
push ecx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [ebp - 4]
test eax, eax
sete al
xor ecx, ebp
call fcn.004554c3
mov esp, ebp
pop ebp
ret
Function at 0x40cf20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4778cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4934c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov ecx, dword [0x47c288]
mov dword [esi + 0xc], ecx
mov edx, dword [0x47c28c]
mov dword [esi + 0x10], edx
mov ecx, dword [0x47c290]
mov dword [esi + 0x14], ecx
mov edx, dword [0x47c294]
mov dword [esi + 0x18], edx
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [esi + 0x30], edi
cmp edi, ebx
je 0x40cff4
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push esi
push edi
call ecx
cmp eax, ebx
mov eax, dword [esi + 0x30]
jl 0x40cfe5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
cmp eax, ebx
jl 0x40cff4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esi + 4]
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x40cff4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 8], ebx
jmp 0x40cff4
cmp eax, ebx
je 0x40cff4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x30], ebx
push 8
call fcn.0045571d
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x40d025
mov dword [ebx], vtable.tcomxTypeHandler.0
mov dword [ebx + 4], edi
test edi, edi
je 0x40d027
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
jmp 0x40d027
xor ebx, ebx
mov dword [esi + 0x28], ebx
lea eax, [esi + 0x34]
mov ecx, 0x96
mov dword [eax], 0
add eax, 0x10
dec ecx
jne 0x40d032
mov eax, dword [0x4961f8]
mov dword [esi + 0x994], eax
inc eax
mov dword [0x4961f8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x416425
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [ebp + 0xc]
lea eax, [edx + 5]
push esi
cmp eax, 4
ja case.0x416403.2
jmp dword [eax*4 + 0x4164ac]
mov ecx, dword [ebp + 8]
xor eax, eax
add ecx, 0xffffffc0
cmp edx, 0xfffffffc
sete al
push eax
call fcn.00416b20
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x18]
lea eax, [esi + 8]
push eax
call edx
test byte [esi + 0x68], 4
je 0x416461
mov eax, dword [esi + 0x5c]
and dword [esi + 0x68], 0xfffffffb
test eax, eax
je 0x416461
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x416461
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, str.FAIL
test edx, edx
jle 0x41648e
push 0x30b
push 0x495260
call fcn.00415910
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
push 0x317
push str.Unrecognized_Negative_verb_in_DoVerb__.__bad.
call fcn.00415910
add esp, 8
mov eax, 0x80004001
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x41b900
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0041b7f0
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 0x41b981
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x41b947
mov edx, dword [ebp - 0x18]
push edx
jmp 0x41b97b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043df70
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004554c3
mov esp, ebp
pop ebp
ret
Function at 0x444200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], 0
mov edi, 0x400
jmp 0x444256
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x424], ecx
je 0x4442c0
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x444278
call fcn.00429560
mov eax, dword [ebp - 0x424]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.0042f120
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.0041e0a0
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x4442c9
mov edi, ebx
mov ecx, dword [ebp - 0x41c]
push ecx
push edi
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.0045c632
mov ecx, dword [ebp - 0x418]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x418], ecx
mov dword [ebp + 0xc], ebx
je 0x4442ff
cmp eax, edi
je 0x444250
lea eax, [ebp - 0x40c]
sub ecx, eax
mov edi, ecx
je 0x444359
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x444323
call fcn.00429560
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.0042f120
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.0041b2b0
mov dword [ebp - 0x414], 1
test ebx, ebx
je 0x4443d6
mov edi, dword [ebp - 0x420]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja case.0x44438f.6
jmp dword [eax*4 + 0x4443ec]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
jmp 0x4443bf
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
jmp 0x4443bf
mov eax, dword [esi]
call fcn.00427980
jmp 0x4443bf
call fcn.00429790
test eax, eax
je 0x4443bd
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
jmp 0x4443bf
xor eax, eax
test eax, eax
jne 0x4443d6
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004554c3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004554c3
mov esp, ebp
pop ebp
ret