joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490a94
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test byte [ebx + 0x1c], 0x10
jne 0x490b57
mov dl, 1
mov eax, ebx
call fcn.004919ac
mov eax, dword [0x4a09c8]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x490b57
mov eax, dword [0x4a09c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x490b02
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
mov edx, dword [0x4a09c8]
mov edx, dword [edx]
cmp eax, dword [edx + 0x44]
jne 0x490b02
push 0
mov eax, dword [0x4a09c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4a0894]
mov byte [eax], 1
jmp 0x490b16
push 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
call fcn.00445ef0
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
xor edx, edx
call fcn.004589e4
cmp byte [ebx + 0x131], 0
je 0x490b38
xor ecx, ecx
mov dl, 1
mov al, 0xa
call fcn.0047b168
cmp word [ebx + 0x15a], 0
je 0x490b50
mov edx, ebx
mov eax, dword [ebx + 0x15c]
call dword [ebx + 0x158]
mov eax, ebx
call fcn.00491380
pop ebx
ret

Function at 0x490b5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test byte [ebx + 0x1c], 0x10
jne 0x490c2b
mov eax, dword [0x4a09c8]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x490c2b
mov eax, dword [0x4a09c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x490bd1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
mov edx, dword [0x4a09c8]
mov edx, dword [edx]
cmp eax, dword [edx + 0x44]
jne 0x490bd1
push 1
mov eax, dword [0x4a09c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4a09c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [0x4a0894]
mov byte [eax], 0
jmp 0x490bd8
mov eax, ebx
call fcn.0047c248
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
mov dl, 1
call fcn.004589e4
test byte [ebx + 0x130], 1
je 0x490bf8
xor edx, edx
mov eax, ebx
call fcn.004919ac
cmp byte [ebx + 0x131], 0
je 0x490c0c
xor ecx, ecx
mov dl, 1
mov al, 0x10
call fcn.0047b168
cmp word [ebx + 0x192], 0
je 0x490c24
mov edx, ebx
mov eax, dword [ebx + 0x194]
call dword [ebx + 0x190]
mov eax, ebx
call fcn.00491380
pop ebx
ret
Function at 0x401300
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004015d8
test esi, esi
jne 0x401336
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_MoveFileExA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004016c4
jmp 0x401354
call sub.KERNEL32.DLL_SizeofResource
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00401214
mov edi, eax
test esi, esi
je 0x401354
cmp dword [ebx], 0
je 0x401354
dec esi
jmp 0x40133d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4014f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x40402c
mov esi, section.DATA
mov edi, 0x404020
cmp byte [ebx + 0x28], 0
jne 0x40151f
cmp dword [edi], 0
je 0x40151f
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x40150e
cmp dword [0x403004], 0
je 0x40152e
call dword [0x403054]
cmp byte [ebx + 0x28], 2
jne 0x40153e
cmp dword [esi], 0
jne 0x40153e
xor eax, eax
mov dword [ebx + 0xc], eax
call dword [0x40301c]
cmp byte [ebx + 0x28], 1
jbe 0x40154f
cmp dword [esi], 0
je 0x401571
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x401571
call dword [0x403014]
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0x10]
cmp eax, dword [edx + 4]
je 0x401571
test eax, eax
je 0x401571
push eax
call sub.KERNEL32.DLL_LockResource
call dword [0x403020]
cmp byte [ebx + 0x28], 1
jne 0x401580
call dword [ebx + 0x24]
cmp byte [ebx + 0x28], 0
je 0x40158b
call fcn.004014c0
cmp dword [ebx], 0
jne 0x4015a7
cmp dword [0x404010], 0
je 0x40159f
call dword [0x404010]
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_lstrcmpiA
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x40152e

Function at 0x401a08
Capabilities:
Set file attributes

Disassembly:
mov cl, byte [0x404108]
mov eax, dword [0x40410c]
test cl, cl
jne 0x401a3d
mov edx, dword fs:[0x2c]
mov eax, dword [edx + eax*4]
ret
call fcn.004019c4
mov eax, dword [0x40410c]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
je 0x401a37
ret
mov eax, dword [0x40411c]
ret
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
je 0x401a22
ret
Function at 0x401e00
Capabilities:
Copy file
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
cmp dword [ebp + 8], 0
je 0x401ecd
push ebx
push esi
mov eax, dword [0x404114]
push eax
call fcn.00401b48
mov edi, eax
test edi, edi
je 0x401ecd
push edi
mov eax, dword [0x404114]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov esi, eax
test esi, esi
je 0x401ecd
push esi
call sub.KERNEL32.DLL_TlsSetValue
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x401ecd
push 0
push 6
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 4]
push eax
call fcn.00401b30
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401ecd
push edi
mov eax, dword [0x404114]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
push ebx
call sub.KERNEL32.DLL_CopyFileA
mov eax, dword [ebp + 8]
call fcn.00401704
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [ebp + 8]
call fcn.004017c4
push eax
push ebx
call sub.KERNEL32.DLL_CopyFileA
push ebx
call sub.KERNEL32.DLL_RtlUnwind
push ebx
call fcn.00401b20
mov eax, esi
call fcn.00401c28
push esi
call fcn.00401b58
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x402278
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov esi, edx
mov ebx, eax
call fcn.00402254
test al, al
je 0x4022dc
push 0x104
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.004017c4
push eax
call sub.KERNEL32.DLL_HeapReAlloc
push 0x104
lea eax, [esp + 0x109]
push eax
mov eax, esi
call fcn.004017c4
push eax
call sub.KERNEL32.DLL_HeapReAlloc
push 0x4022fc
lea eax, [esp + 0x109]
push eax
lea eax, [esp + 8]
push eax
push 0x402308
call sub.KERNEL32.DLL_CreateFileA
jmp 0x4022f3
push 5
mov eax, ebx
call fcn.004017c4
push eax
mov eax, esi
call fcn.004017c4
push eax
call sub.KERNEL32.DLL_GetCommandLineA
add esp, 0x20c
pop esi
pop ebx
ret
Function at 0x402170
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push 4
push 0
push 0x40b128
push 0x80000002
call dword [0x407020]
mov esi, eax
test esi, esi
jne 0x40218b
push dword [ebp - 4]
call dword [section..rdata]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret

Function at 0x4025f7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0xc]
push ebx
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SoftwarePythonPythonCore
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
call dword [0x407020]
test eax, eax
je 0x4025a2
xor eax, eax
jmp 0x4026cf
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 8], 0x50
push eax
push ebx
push dword [ebp - 0xc]
call dword [0x407018]
test eax, eax
jne 0x4026c3
push esi
push edi
mov edi, dword [0x407248]
mov eax, dword [ebp + 0x10]
inc dword [ebp - 4]
cmp eax, ebx
mov dword [ebp - 8], 0x50
je 0x4025f8
cmp byte [eax], bl
je 0x4025f8
lea ecx, [ebp - 0x64]
push ecx
push eax
call 0x4070a6
pop ecx
test eax, eax
pop ecx
jne 0x4026a1
mov esi, dword [0x40722c]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x104]
push str.Python_Version__s__found_in_registry_
push eax
call esi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xb4]
push str.SoftwarePythonPythonCore_sInstallPath
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
push 0x20019
lea eax, [ebp - 0xb4]
push ebx
push eax
push dword [ebp + 0xc]
call dword [0x407020]
test eax, eax
jne 0x4026a1
push 0x10c
call dword [0x407188]
mov esi, eax
pop ecx
cmp esi, ebx
mov dword [ebp - 0x14], 0x105
je 0x402698
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [0x40701c]
test eax, eax
jne 0x402698
lea eax, [ebp - 0x104]
push eax
push ebx
push 0x180
push dword [ebp + 8]
call edi
mov ecx, dword [ebp + 0xc]
push esi
push eax
push 0x19a
push dword [ebp + 8]
mov dword [esi + 0x108], ecx
call edi
push dword [ebp - 0x10]
call dword [section..rdata]
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [0x407018]
test eax, eax
je 0x4025cf
pop edi
pop esi
push dword [ebp - 0xc]
call dword [section..rdata]
push 1
pop eax
pop ebx
leave
ret
Function at 0x402a0a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x4070a8]
push edi
mov edi, dword [ebp + 8]
push str.Py_Initialize
push edi
call esi
push str.Py_SetProgramName
push edi
mov ebx, eax
call esi
push str.Py_Finalize
push edi
mov dword [ebp + 8], eax
call esi
push str.PyRun_SimpleString
push edi
mov dword [ebp - 8], eax
call esi
push str.PySys_GetObject
push edi
mov dword [ebp - 4], eax
call esi
push str.Py_OptimizeFlag
push edi
mov dword [ebp - 0xc], eax
call esi
xor esi, esi
cmp dword [0x40c43c], esi
jne 0x402a55
xor eax, eax
jmp 0x402a9f
cmp ebx, esi
je 0x402a9c
cmp dword [ebp + 8], esi
je 0x402a9c
cmp dword [ebp - 8], esi
je 0x402a9c
cmp dword [ebp - 4], esi
je 0x402a9c
cmp dword [ebp - 0xc], esi
je 0x402a9c
cmp eax, esi
je 0x402a9c
xor ecx, ecx
cmp dword [ebp + 0xc], esi
push 0x40c460
setne cl
mov dword [eax], ecx
call dword [ebp + 8]
call ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.00402aa4
add esp, 0xc
mov esi, eax
call dword [ebp - 8]
mov eax, esi
jmp 0x402a9f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402a99
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x4070a8]
push edi
mov edi, dword [ebp + 8]
push str.Py_Initialize
push edi
call esi
push str.Py_SetProgramName
push edi
mov ebx, eax
call esi
push str.Py_Finalize
push edi
mov dword [ebp + 8], eax
call esi
push str.PyRun_SimpleString
push edi
mov dword [ebp - 8], eax
call esi
push str.PySys_GetObject
push edi
mov dword [ebp - 4], eax
call esi
push str.Py_OptimizeFlag
push edi
mov dword [ebp - 0xc], eax
call esi
xor esi, esi
cmp dword [0x40c43c], esi
jne 0x402a55
xor eax, eax
jmp 0x402a9f
cmp ebx, esi
je 0x402a9c
cmp dword [ebp + 8], esi
je 0x402a9c
cmp dword [ebp - 8], esi
je 0x402a9c
cmp dword [ebp - 4], esi
je 0x402a9c
cmp dword [ebp - 0xc], esi
je 0x402a9c
cmp eax, esi
je 0x402a9c
xor ecx, ecx
cmp dword [ebp + 0xc], esi
push 0x40c460
setne cl
mov dword [eax], ecx
call dword [ebp + 8]
call ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.00402aa4
add esp, 0xc
mov esi, eax
call dword [ebp - 8]
mov eax, esi
jmp 0x402a9f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402bf1
Capabilities:
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push esi
mov esi, dword [0x40722c]
push edi
push 0x40d920
lea eax, [ebp - 0x268]
push str.PYTHONHOME_s
push eax
mov dword [ebp - 4], 0x104
call esi
lea eax, [ebp - 0x268]
push eax
call dword [0x40719c]
mov edi, dword [0x4070a4]
add esp, 0x10
push dword [ebp + 8]
call edi
test eax, eax
jne 0x402c7b
push dword [0x40d890]
lea eax, [ebp - 0x54]
push dword [0x40da24]
push str.SOFTWAREPythonPythonCore_d._dInstallPath
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
mov esi, dword [0x407014]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x80000001
call esi
test eax, eax
je 0x402c4f
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x80000002
call esi
test eax, eax
je 0x402c4f
xor eax, eax
jmp 0x402c7b
lea eax, [ebp - 0x158]
push 0x40b5c8
push eax
call 0x407094
push dword [ebp + 8]
lea eax, [ebp - 0x158]
push eax
call 0x407094
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
call edi
pop edi
pop esi
leave
ret

Function at 0x402ef8
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [0x4070a8]
push edi
mov edi, dword [ebp + 8]
push str.PyImport_ImportModule
push edi
call esi
push str.PyObject_SetAttrString
push edi
mov ebx, eax
call esi
push str.PyObject_GetAttrString
push edi
mov dword [ebp - 8], eax
call esi
push str.PyCFunction_New
push edi
mov dword [ebp + 8], eax
call esi
push str.Py_BuildValue
push edi
mov dword [ebp - 4], eax
call esi
push str.PyArg_ParseTuple
push edi
mov dword [ebp - 0xc], eax
call esi
push str.PyErr_Format
push edi
mov dword [ebp - 0x10], eax
call esi
push str.PyLong_FromVoidPtr
push edi
mov dword [ebp - 0x14], eax
call esi
xor esi, esi
mov dword [ebp - 0x18], eax
cmp ebx, esi
je 0x402fa7
cmp dword [ebp + 8], esi
je 0x402fa7
cmp dword [ebp - 8], esi
je 0x402fa7
cmp dword [ebp - 4], esi
je 0x402fa7
cmp dword [ebp - 0xc], esi
je 0x402fa7
cmp dword [ebp - 0x10], esi
je 0x402fa7
cmp dword [ebp - 0x14], esi
je 0x402fa7
push str.__builtin__
call ebx
mov edi, eax
pop ecx
cmp edi, esi
je 0x402f83
push str.ValueError
push edi
call dword [ebp + 8]
push str.OSError
push edi
mov dword [0x40d894], eax
call dword [ebp + 8]
add esp, 0x10
mov dword [0x40da2c], eax
mov esi, 0x40b0c8
push 0
push esi
call dword [ebp - 4]
push eax
push dword [esi]
push edi
call dword [ebp - 8]
add esi, 0x10
add esp, 0x14
cmp esi, 0x40b128
jb 0x402f68
mov eax, dword [ebp - 0xc]
mov dword [0x40d908], eax
mov eax, dword [ebp - 0x10]
mov dword [0x40d90c], eax
mov eax, dword [ebp - 0x14]
mov dword [0x40d704], eax
mov eax, dword [ebp - 0x18]
mov dword [0x40da50], eax
xor eax, eax
jmp 0x402faa
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403938
Capabilities:
Create process on windows
Resume thread
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
cmp byte [0x40d8f0], 0
je 0x403940
push 0x40d8f0
lea eax, [ebp - 0x54]
push str.SoftwarePythonPythonCore_sInstallPath
push eax
call dword [0x40722c]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
lea eax, [ebp - 0x54]
push 0
push eax
push 0x80000002
call dword [0x407020]
test eax, eax
je 0x403944
xor eax, eax
leave
ret
push dword [ebp - 4]
call dword [section..rdata]
push 1
pop eax
leave
ret

Function at 0x403a5c
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x1000
call 0x4070b0
push ebx
push ebp
push esi
push edi
push dword [0x40da28]
mov edi, dword [0x407074]
mov ebp, 0x1000
lea eax, [esp + 0x14]
push ebp
mov ebx, 0x40c444
push eax
push ebx
mov esi, str.Setup
push str.title
push esi
call edi
lea eax, [esp + 0x10]
push 0x50
push eax
push 0x40c580
call fcn.00403bd6
add esp, 0xc
lea eax, [esp + 0x10]
push dword [0x40da28]
push ebp
push eax
push ebx
push str.info
push esi
call edi
lea eax, [esp + 0x10]
push ebp
push eax
push 0x40c700
call fcn.00403bd6
add esp, 0xc
push dword [0x40da28]
push 0x50
push 0x40d8a0
push ebx
push str.build_info
push esi
call edi
push dword [0x40da28]
mov ebp, dword [0x407070]
push 1
push str.target_compile
push esi
call ebp
push dword [0x40da28]
mov dword [0x40c458], eax
push 1
push str.target_optimize
push esi
call ebp
push dword [0x40da28]
mov dword [0x40d898], eax
push 0xa
push 0x40d8f0
push ebx
push str.target_version
push esi
call edi
push dword [0x40da28]
push 0x50
push 0x40d840
push ebx
push str.name
push str.metadata
call edi
push dword [0x40da28]
push 0x104
push 0x40c5e0
push ebx
push str.install_script
push esi
call edi
push dword [0x40da28]
push 0xa
mov ebp, 0x40da40
push ebp
push ebx
push str.user_access_control
push esi
call edi
push str.force
push ebp
call 0x4070a6
pop ecx
test eax, eax
pop ecx
jne 0x403b20
call fcn.00403952
test eax, eax
je 0x403b86
call fcn.004038d3
test eax, eax
jne 0x403b86
jmp 0x403b4c
push str.auto
push ebp
call 0x4070a6
pop ecx
test eax, eax
pop ecx
jne 0x403b53
call fcn.00403952
test eax, eax
je 0x403b86
call fcn.004038d3
test eax, eax
jne 0x403b86
call fcn.004038fc
test eax, eax
je 0x403b86
call fcn.00403990
jmp 0x403bc9
cmp byte [0x40da40], 0
je 0x403b86
push str.none
push ebp
call 0x4070a6
pop ecx
test eax, eax
pop ecx
je 0x403b86
push 0
push str.oops
push str.Bad_user_access_control_value
call dword [0x40724c]
push eax
call dword [0x407250]
push 0x40c580
call fcn.00403c5b
push eax
mov dword [0x40d900], eax
call fcn.004037de
pop ecx
pop ecx
push dword [0x40c564]
call dword [0x4070c4]
mov eax, dword [0x40da28]
test eax, eax
je 0x403bb9
push eax
call dword [0x40706c]
mov eax, dword [0x40da4c]
test eax, eax
je 0x403bc9
push eax
call dword [0x407050]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1000
ret
Function at 0x403b22
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x1000
call 0x4070b0
push ebx
push ebp
push esi
push edi
push dword [0x40da28]
mov edi, dword [0x407074]
mov ebp, 0x1000
lea eax, [esp + 0x14]
push ebp
mov ebx, 0x40c444
push eax
push ebx
mov esi, str.Setup
push str.title
push esi
call edi
lea eax, [esp + 0x10]
push 0x50
push eax
push 0x40c580
call fcn.00403bd6
add esp, 0xc
lea eax, [esp + 0x10]
push dword [0x40da28]
push ebp
push eax
push ebx
push str.info
push esi
call edi
lea eax, [esp + 0x10]
push ebp
push eax
push 0x40c700
call fcn.00403bd6
add esp, 0xc
push dword [0x40da28]
push 0x50
push 0x40d8a0
push ebx
push str.build_info
push esi
call edi
push dword [0x40da28]
mov ebp, dword [0x407070]
push 1
push str.target_compile
push esi
call ebp
push dword [0x40da28]
mov dword [0x40c458], eax
push 1
push str.target_optimize
push esi
call ebp
push dword [0x40da28]
mov dword [0x40d898], eax
push 0xa
push 0x40d8f0
push ebx
push str.target_version
push esi
call edi
push dword [0x40da28]
push 0x50
push 0x40d840
push ebx
push str.name
push str.metadata
call edi
push dword [0x40da28]
push 0x104
push 0x40c5e0
push ebx
push str.install_script
push esi
call edi
push dword [0x40da28]
push 0xa
mov ebp, 0x40da40
push ebp
push ebx
push str.user_access_control
push esi
call edi
push str.force
push ebp
call 0x4070a6
pop ecx
test eax, eax
pop ecx
jne 0x403b20
call fcn.00403952
test eax, eax
je 0x403b86
call fcn.004038d3
test eax, eax
jne 0x403b86
jmp 0x403b4c
push str.auto
push ebp
call 0x4070a6
pop ecx
test eax, eax
pop ecx
jne 0x403b53
call fcn.00403952
test eax, eax
je 0x403b86
call fcn.004038d3
test eax, eax
jne 0x403b86
call fcn.004038fc
test eax, eax
je 0x403b86
call fcn.00403990
jmp 0x403bc9
cmp byte [0x40da40], 0
je 0x403b86
push str.none
push ebp
call 0x4070a6
pop ecx
test eax, eax
pop ecx
je 0x403b86
push 0
push str.oops
push str.Bad_user_access_control_value
call dword [0x40724c]
push eax
call dword [0x407250]
push 0x40c580
call fcn.00403c5b
push eax
mov dword [0x40d900], eax
call fcn.004037de
pop ecx
pop ecx
push dword [0x40c564]
call dword [0x4070c4]
mov eax, dword [0x40da28]
test eax, eax
je 0x403bb9
push eax
call dword [0x40706c]
mov eax, dword [0x40da4c]
test eax, eax
je 0x403bc9
push eax
call dword [0x407050]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1000
ret
Function at 0x403be8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
test eax, eax
push edi
je 0x403c51
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov cl, byte [eax]
test cl, cl
je 0x403c54
cmp edi, 2
jbe 0x403c54
cmp cl, 0x5c
jne 0x403c46
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x30
jl 0x403c4b
cmp cl, 0x33
jle 0x403c24
cmp cl, 0x6e
je 0x403c17
cmp cl, 0x72
jne 0x403c4b
inc eax
mov byte [esi], 0xd
inc esi
jmp 0x403c4a
inc eax
mov byte [esi], 0xd
inc esi
mov byte [esi], 0xa
inc esi
dec edi
dec edi
jmp 0x403c4b
lea ecx, [ebp + 8]
push 8
push ecx
push eax
call dword [0x4071dc]
add esp, 0xc
cmp al, 0xa
jne 0x403c3d
mov byte [esi], 0xd
inc esi
dec edi
mov byte [esi], al
mov eax, dword [ebp + 8]
inc esi
dec edi
jmp 0x403c4b
mov byte [esi], cl
inc esi
inc eax
dec edi
test eax, eax
jne 0x403be8
jmp 0x403c54
mov esi, dword [ebp + 8]
and byte [esi], 0
pop edi
pop esi
pop ebp
ret

Function at 0x403c38
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
test eax, eax
push edi
je 0x403c51
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov cl, byte [eax]
test cl, cl
je 0x403c54
cmp edi, 2
jbe 0x403c54
cmp cl, 0x5c
jne 0x403c46
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x30
jl 0x403c4b
cmp cl, 0x33
jle 0x403c24
cmp cl, 0x6e
je 0x403c17
cmp cl, 0x72
jne 0x403c4b
inc eax
mov byte [esi], 0xd
inc esi
jmp 0x403c4a
inc eax
mov byte [esi], 0xd
inc esi
mov byte [esi], 0xa
inc esi
dec edi
dec edi
jmp 0x403c4b
lea ecx, [ebp + 8]
push 8
push ecx
push eax
call dword [0x4071dc]
add esp, 0xc
cmp al, 0xa
jne 0x403c3d
mov byte [esi], 0xd
inc esi
dec edi
mov byte [esi], al
mov eax, dword [ebp + 8]
inc esi
dec edi
jmp 0x403c4b
mov byte [esi], cl
inc esi
inc eax
dec edi
test eax, eax
jne 0x403be8
jmp 0x403c54
mov esi, dword [ebp + 8]
and byte [esi], 0
pop edi
pop esi
pop ebp
ret

Function at 0x403c88
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call 0x4070b0
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [0x407064]
push esi
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], 0x401b03
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call edi
push 0x7f00
push esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
call dword [0x4071fc]
push 0x800000
mov dword [ebp - 0x10], eax
call dword [0x407040]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x28]
mov ebx, str.SetupWindowClass
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
call dword [0x4071ec]
test ax, ax
jne 0x403cde
push esi
push str.Setup.exe
push str.Could_not_register_window_class
push dword [0x40d900]
call dword [0x407250]
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push str.Setup__s
push eax
call dword [0x40722c]
add esp, 0xc
push esi
push esi
call edi
mov edi, dword [0x407240]
push eax
push esi
push esi
push 0x11
call edi
push eax
push 0x10
call edi
push eax
push esi
push esi
lea eax, [ebp - 0x1028]
push esi
push eax
push ebx
push esi
call dword [0x4071f0]
mov esi, eax
push 3
push esi
call dword [0x4071f4]
push esi
call dword [0x4071f8]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403e4a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
push esi
push edi
lea eax, [ebp - 0x15c]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [0x407090]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push str._s.bat
push eax
call dword [0x4071d4]
lea eax, [ebp - 0x260]
push 0x40bfd4
push eax
call dword [0x4071b0]
mov esi, dword [0x407180]
push str.:Repeat_n
push eax
mov dword [ebp - 4], eax
call esi
lea eax, [ebp - 0x15c]
mov edi, str.del___s__n
push eax
push edi
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x15c]
push eax
push str.if_exist___s__goto_Repeat_n
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x260]
push eax
push edi
push dword [ebp - 4]
call esi
add esp, 0x40
push dword [ebp - 4]
call dword [0x4071b4]
push 0x44
lea eax, [ebp - 0x58]
pop esi
push esi
push ebx
push eax
call 0x40708e
add esp, 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x58]
push eax
push 0x40b5c8
push ebx
push esi
push ebx
push ebx
lea eax, [ebp - 0x260]
push ebx
push eax
push ebx
mov word [ebp - 0x28], bx
call dword [0x40708c]
test eax, eax
je 0x403e57
mov esi, dword [0x4070e0]
push 0xfffffffffffffff1
push dword [ebp - 0x10]
call esi
push 0xf
call dword [0x407084]
push eax
call esi
push pe_nt_image_headers32
call dword [0x407080]
push eax
call dword [0x40707c]
push dword [ebp - 0x14]
mov esi, dword [0x4070d8]
call esi
push dword [ebp - 0x10]
call dword [0x407078]
push dword [ebp - 0x10]
call esi
pop edi
pop esi
pop ebx
leave
ret