joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440d30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472498
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.0046ae60
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004406d0
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.0046ad8e
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.004672ec
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.004672ec
push 1
push 0
push 0
mov ecx, esi
call fcn.00467294
push 1
push 0
push 1
mov ecx, esi
call fcn.00467294
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046aed2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x440eb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4724b8
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.0046ae60
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004406d0
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.0046ad8e
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 0x440f74
cmp dword [esp + 0x40], 1
jne 0x440f72
cmp ecx, eax
jge 0x440f74
mov eax, ecx
cmp eax, 0xc8
jge 0x440f80
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00440d30
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.0046aed2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441700
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472523
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.0046570c
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.0046b108
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046c667
test eax, eax
je 0x44181c
mov ecx, dword [esp + 0x3c]
call fcn.0046b135
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 0x4417e0
push edi
mov ecx, esi
call fcn.00468437
mov ecx, esi
call fcn.00441980
cmp dword [esp + 0x38], 1
jne 0x441815
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.00468572
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 0x444240
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444273
push esi
call fcn.00447330
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44426c
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 0x4442f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4442e2
mov eax, dword [esi + 8]
test eax, eax
je 0x444297
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 0x4442de
cmp eax, 2
je 0x4442e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44428a
cmp eax, 3
je 0x4442bd
cmp eax, 1
jne 0x44428a
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 0x44428a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44428a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444320
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444308
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444320
add esp, 4
pop esi
ret

Function at 0x450da0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x450e43
test eax, eax
jbe 0x450e43
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x450e43
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x450dee
xor esi, esi
jmp 0x450df4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x450e1f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004056e0
add esi, eax
push esi
mov ebx, esi
call fcn.004056e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x450e00
pop ebp
test edi, edi
pop edi
jne 0x450e43
test ebx, ebx
je 0x450e43
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00454f30
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x450f85
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45109d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45109d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00465b5e
mov esi, eax
test esi, esi
je 0x45109d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45109d
mov ecx, esi
call fcn.00450ef0
cmp edi, eax
jge 0x45109d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x451023
mov dword [esp + 0x34], 1
jmp 0x45107e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45109d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044f790
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x466502
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46653a
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.004645b6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046458e
jmp 0x466546
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x467bf4
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 0x467c36
call fcn.0046da52
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 0x467c36
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x467c2d
xor eax, eax
jmp 0x467c3e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00467c44
pop edi
pop esi
pop ebx
ret 4
Function at 0x402d55
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x403027
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push dword [ebp + 8]
call fcn.00402d55
test eax, eax
pop ecx
je 0x403041
xor eax, eax
leave
ret
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x108]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x10
test eax, eax
je 0x403076
and byte [eax], 0
lea eax, [ebp - 0x108]
push eax
call fcn.00403027
pop ecx
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
leave
ret

Function at 0x4030d5
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
lea eax, [ebp - 0x248]
push esi
push eax
push dword [ebp + 0xc]
call fcn.00402f98
pop ecx
lea eax, [ebp - 0x140]
pop ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40313d
push dword [ebp + 0x10]
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x140]
push eax
call dword [ebp + 8]
test eax, eax
je 0x403131
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x403107
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 1
pop eax
jmp 0x40313f
xor eax, eax
pop esi
leave
ret

Function at 0x40327d
Capabilities:
Get common file path

Disassembly:
cmp byte [0x40e330], 0
push esi
mov esi, 0x40e330
jne 0x40329d
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov dword [0x40e438], eax
push esi
push dword [esp + 0xc]
call sub.MSVCRT.dll_strcpy
mov eax, dword [0x40e438]
pop ecx
pop ecx
pop esi
ret

Function at 0x4032b0
Capabilities:
Get common file path

Disassembly:
cmp byte [0x40e43c], 0
push esi
mov esi, 0x40e43c
jne 0x4032d0
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov dword [0x40e544], eax
push esi
push dword [esp + 0xc]
call sub.MSVCRT.dll_strcpy
mov eax, dword [0x40e544]
pop ecx
pop ecx
pop esi
ret

Function at 0x4032e3
Capabilities:
Get common file path
Get file attributes

Disassembly:
cmp byte [0x40e548], 0
push esi
mov esi, 0x40e548
jne 0x403310
push esi
call fcn.00402ee0
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test al, 1
je 0x403310
push esi
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov eax, esi
pop esi
ret

Function at 0x403314
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x40ded0
push 5
push eax
push eax
push dword [esp + 0x14]
push str.open
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret
Function at 0x403685
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push dword [esp + 0x10]
mov esi, ecx
push dword [esp + 0x10]
call fcn.0040285b
mov ebx, eax
pop ecx
cmp ebx, 0xffffffff
pop ecx
je 0x4036de
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ecx, esi
mov edi, eax
call fcn.00403651
push edi
mov ecx, esi
call fcn.00403638
push 0
push edi
push dword [esi]
push ebx
call fcn.0040333a
mov eax, dword [esi]
add esp, 0x10
and byte [eax + edi], 0
push ebx
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
pop eax
pop edi
jmp 0x4036e0
xor eax, eax
pop esi
pop ebx
ret 8

Function at 0x4041b6
Capabilities:
Read .ini file

Disassembly:
push 0x40e684
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0x40e78c
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
ret

Function at 0x4041cf
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push 0x40e684
push dword [esp + 0x14]
and byte [esi], 0
push esi
push 0x40ded0
push dword [esp + 0x18]
push 0x40e78c
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
mov eax, esi
pop esi
ret

Function at 0x4047cc
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 4]
push edi
push eax
push 0x40b348
xor edi, edi
push 1
push edi
push 0x40b358
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x40488d
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp + 0x14], edi
je 0x404823
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x18], edi
jl 0x404837
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x40b368
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
cmp esi, edi
jl 0x404884
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x210]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x4069fe
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push CreateStatusWindowA
lea eax, [ebp - 4]
xor esi, esi
push 0x20019
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call fcn.00401560
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
test eax, eax
jne 0x406a4d
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call ebx
push 0x80000001
lea eax, [ebp - 4]
push 0x20019
push eax
call fcn.00401560
add esp, 0xc
test eax, eax
jne 0x406a7f
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push esi
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call ebx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
add eax, ecx
pop ebx
leave
ret

Function at 0x406c57
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push dword [esi + 0xe24]
push 0x2001f
push eax
call fcn.00401560
add esp, 0xc
test eax, eax
jne 0x406c87
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x406c95
mov eax, dword [ebp + 8]
push 0
push dword [eax]
call fcn.004028dd
pop ecx
pop ecx
pop esi
pop ebp
ret

Function at 0x406c98
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [ebp + 0x14]
sub eax, 0x9c45
je 0x406d10
sub eax, 6
je 0x406d01
sub eax, 0x15
jne 0x406d43
mov al, byte [0x40ded0]
push edi
mov byte [ebp - 0x310], al
mov ecx, 0xc3
xor eax, eax
lea edi, [ebp - 0x30f]
push 3
push eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 0xc]
call fcn.00405497
add esp, 0x10
test eax, eax
pop edi
je 0x406d43
cmp byte [ebp - 0x310], 0
je 0x406d43
push 5
lea eax, [ebp - 0x310]
jmp 0x406d3c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406c57
pop ecx
pop ecx
leave
ret
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xe08], 0
jne 0x406d43
push 1
lea ecx, [ebp - 0x310]
push 0
push ecx
push eax
call fcn.00405497
add esp, 0x10
test eax, eax
je 0x406d43
push 5
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret
Function at 0x406d87
Capabilities:
Delete file

Disassembly:
mov eax, 0x40a697
call fcn.0040a3e4
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [ebp - 0x90]
call fcn.0040370d
xor ebx, ebx
push 1
push edi
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.00403aa4
test eax, eax
je 0x406dfd
xor edi, edi
cmp dword [esi + 0x20], ebx
jle 0x406df2
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0x90]
add eax, ebx
push ecx
push eax
push esi
call fcn.00406b96
add esp, 0xc
inc edi
add ebx, 0xe38
cmp edi, dword [esi + 0x20]
jl 0x406dd0
lea ecx, [ebp - 0x90]
call fcn.00403afe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00403799
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x407105
Capabilities:
Delete file
Get common file path

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x1a
and byte [edi + 0x30], 0
lea esi, [edi + 0x30]
push esi
call fcn.00409e04
pop ecx
test eax, eax
pop ecx
je 0x407145
push esi
call fcn.004028b5
mov dword [esp], 0x40d70c
push esi
call sub.MSVCRT.dll_strcat
cmp dword [edi + 0x2b4], 0
pop ecx
pop ecx
je 0x407145
push esi
call fcn.00403027
pop ecx
cmp byte [esi], 0
jne 0x407156
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push esi
call fcn.004028b5
mov dword [esp], str.MyUninst.ini
push esi
call sub.MSVCRT.dll_strcat
cmp dword [edi + 0x2b4], 0
pop ecx
pop ecx
jne 0x40717b
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
ret

Function at 0x407f2f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push 0x40d930
push eax
call fcn.00402cce
push 1
push 1
lea eax, [ebp - 0x104]
push 1
push eax
push dword [ebp + 8]
call fcn.00407dd4
add esp, 0x1c
test eax, eax
je 0x407f92
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.00402aa0
pop ecx
test eax, eax
pop ecx
je 0x407f85
push eax
push dword [ebp + 8]
call fcn.004028dd
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
leave
ret

Function at 0x408238
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call fcn.00404c69
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00404c76
add esp, 0xc
test eax, eax
je 0x408275
mov eax, dword [ebp - 4]
push 5
push 0x40ded0
add eax, 0x3c3
push 0
push eax
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
leave
ret
Function at 0x4082a9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push dword [ebp + 8]
call fcn.00404c69
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00404c76
add esp, 0xc
test eax, eax
je 0x408318
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe10], 0
je 0x408318
push 0xc
call fcn.00404117
push eax
push dword [ebp + 8]
call fcn.004013c0
add esp, 0xc
cmp eax, 6
jne 0x408318
push 2
lea eax, [ebp - 0x314]
push 0
push eax
push dword [ebp - 4]
call fcn.00405497
add esp, 0x10
test eax, eax
je 0x408318
lea eax, [ebp - 0x314]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret

Function at 0x40831a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push dword [ebp + 8]
call fcn.00404c69
cmp dword [eax + 0x2b8], 0
pop ecx
je 0x408344
push 0x9c60
push eax
call fcn.00406d45
pop ecx
pop ecx
leave
ret
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00404c76
pop ecx
test eax, eax
pop ecx
je 0x4083a1
mov al, byte [0x40ded0]
push edi
mov byte [ebp - 0x310], al
mov ecx, 0xc3
xor eax, eax
lea edi, [ebp - 0x30f]
push 3
push eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 8]
call fcn.00405497
add esp, 0x10
test eax, eax
pop edi
je 0x4083a1
cmp byte [ebp - 0x310], 0
je 0x4083a1
lea eax, [ebp - 0x310]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret

Function at 0x4083a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push dword [ebp + 8]
call fcn.00404c69
cmp dword [eax + 0x2b8], 0
pop ecx
je 0x4083cd
push 0x9c45
push eax
call fcn.00406d45
pop ecx
pop ecx
leave
ret
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00404c76
pop ecx
test eax, eax
pop ecx
je 0x408410
mov eax, dword [ebp + 8]
cmp dword [eax + 0xe08], 0
jne 0x408410
push 1
lea ecx, [ebp - 0x310]
push 0
push ecx
push eax
call fcn.00405497
add esp, 0x10
test eax, eax
je 0x408410
lea eax, [ebp - 0x310]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret

Function at 0x408731
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov al, byte [0x40ded0]
push edi
push 0x41
mov byte [ebp - 0x108], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
call fcn.00402ece
lea eax, [ebp - 0x108]
mov dword [esp], 0x40d988
push eax
call fcn.0040337f
pop ecx
lea eax, [ebp - 0x108]
pop ecx
push 5
push 0x40ded0
push 0
push eax
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
leave
ret

Function at 0x4094a1
Capabilities:
Set registry value

Disassembly:
push dword [esp + 0xc]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret

Function at 0x4094c4
Capabilities:
Set registry value

Disassembly:
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret