joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413a80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4bb07c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x68
mov dword [esp + 0x20], esi
call fcn.0040fc00
mov ecx, dword [0x4f5b3c]
mov dword [esp + 0x28], 0
mov dword [esi + 0xa0], ecx
mov edx, dword [0x4f5b3c]
lea ebp, [esi + 0xa4]
mov dword [ebp], edx
mov dword [esi], 0x4cb04c
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x30]
mov byte [esp + 0x28], 4
mov ecx, ebx
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.00410c00
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004a9994
lea ecx, [esp + 0x38]
call fcn.0040cea0
lea ecx, [esp + 0x10]
push 1
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.fontname
call fcn.004a9c8d
lea ecx, [esp + 0x40]
call fcn.00436ed0
test eax, eax
je 0x413b48
lea edx, [esp + 0x10]
lea ecx, [esi + 0x74]
push edx
call fcn.004a9d0c
lea eax, [esp + 0x10]
push 1
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.fontsize
call fcn.004a9c8d
lea ecx, [esp + 0x40]
call fcn.00436ed0
test eax, eax
je 0x413b80
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00474ead
add esp, 4
mov dword [esi + 0x84], eax
lea edx, [esi + 0x68]
push 1
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.title
call fcn.004a9c8d
lea ecx, [esp + 0x40]
call fcn.00436ed0
lea eax, [esi + 0x64]
push 1
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.caption
call fcn.004a9c8d
lea ecx, [esp + 0x40]
call fcn.00436ed0
lea edi, [esi + 0x8c]
push 1
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.bmpfile
call fcn.004a9c8d
lea ecx, [esp + 0x40]
call fcn.00436ed0
test eax, eax
je 0x413c3b
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.004354c0
push eax
mov ecx, edi
mov byte [esp + 0x2c], 5
call fcn.004a9d0c
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.004a9c1f
push edi
lea edx, [esp + 0x34]
push 0x4fef18
push edx
call fcn.004a9e02
mov eax, dword [eax]
mov ecx, edi
push eax
mov byte [esp + 0x2c], 6
call fcn.004a9d5c
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.004a9c1f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x413c9c
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.00410c00
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004a9994
lea ecx, [esp + 0x38]
call fcn.0040cea0
lea ecx, [esp + 0x34]
push 0x4eef44
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.004a9e68
push eax
mov ecx, ebp
mov byte [esp + 0x2c], 7
call fcn.004a9feb
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.004a9c1f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x413c43
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.004a9c1f
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 2
call fcn.004a9c1f
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x417390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bb8a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push esi
lea edx, [esp + 4]
xor esi, esi
mov dword [esp + 0xc], ecx
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 8], 0x4cb844
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
call fcn.004012f0
mov dword [esp + 0x30], esi
lea eax, [esp + 0x38]
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401350
test al, al
je 0x417420
mov eax, dword [esp + 0x38]
sub eax, 0x3e9
je 0x4173fe
dec eax
je 0x417409
lea ecx, [esp + 0x14]
call fcn.00401410
jmp 0x4173d9
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.004174c0
add esp, 8
mov esi, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00401320
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
Function at 0x419530
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x110
push esi
push edi
mov edi, ecx
push 0xffffffffffffffff
push 0
lea esi, [edi + 8]
mov ecx, esi
call fcn.004a8418
lea eax, [esp + 8]
mov dword [edi + 0x1c], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41958a
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
push str.Open_HKEY_LOCAL_MACHINE_s_failed
call fcn.0045dcb0
add esp, 8
pop edi
pop esi
add esp, 0x110
ret
lea ecx, [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push ecx
mov ecx, dword [esp + 0x10]
push 0
push 0
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x2c]
push edx
push eax
push 0
push ecx
mov dword [esp + 0x30], 0xff
mov edi, 1
call ebx
test eax, eax
jne 0x4195fc
mov eax, dword [esi + 8]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.004a8561
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
mov eax, edi
push edx
mov edx, dword [esp + 0x20]
push ecx
push eax
push edx
mov dword [esp + 0x30], 0xff
inc edi
call ebx
test eax, eax
je 0x4195c0
mov eax, dword [esi + 8]
push str.DefaultUser
push eax
mov ecx, esi
call fcn.004a8561
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
pop esi
add esp, 0x110
ret
Function at 0x41adc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x4bbea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x24]
push 1
push ebp
mov ecx, ebx
mov edi, eax
mov dword [esp + 0x18], 0
call fcn.0041b1f0
mov esi, eax
test esi, esi
jl 0x41aee3
mov eax, dword [0x4ff9a8]
test eax, eax
jne 0x41ae96
test esi, esi
jne 0x41ae63
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x2c8]
sub eax, edi
cmp eax, ecx
ja 0x41ae9e
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x41ae38
push 0x37
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41ae80
push 1
push ebp
mov ecx, ebx
call fcn.0041b1f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x64
ja 0x41ae5f
test esi, esi
jne 0x41ae61
push 0x37
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41ae38
test esi, esi
jle 0x41aee1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov al, byte [ebp]
cmp al, 0xa
je 0x41aedf
test al, al
je 0x41aedf
mov ecx, dword [esp + 0x10]
inc ecx
inc ebp
mov dword [esp + 0x10], ecx
push 1
push ebp
mov ecx, ebx
call fcn.0041b1f0
mov esi, eax
test esi, esi
jge 0x41ae04
jmp 0x41aee3
or eax, 0xffffffff
jmp 0x41af32
push str.CHttpGet::ReadLine_timed_out_
lea ecx, [esp + 0x28]
call fcn.004a9c8d
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0
push eax
call fcn.0045db50
or esi, 0xffffffff
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], esi
call fcn.004a9c1f
push 0x274c
mov ecx, ebx
call fcn.0041ab60
jmp 0x41aee3
test esi, esi
jge 0x41af01
mov eax, dword [ebx + 0x2d4]
mov ecx, ebx
test eax, eax
je 0x41aef8
call fcn.0041c430
mov eax, esi
jmp 0x41af32
call fcn.004b76c4
mov eax, esi
jmp 0x41af32
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov byte [eax + edi], 0
dec eax
test eax, eax
jl 0x41af26
mov cl, byte [eax + edi]
cmp cl, 0xd
je 0x41af1f
cmp cl, 0xa
jne 0x41af26
mov byte [eax + edi], 0
dec eax
jns 0x41af12
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41e310
Capabilities:
Shutdown system

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bc948
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov eax, dword [esi + 0xc8]
test al, 0x80
jne 0x41e3fb
mov ecx, dword [esi + 0x320]
test ecx, ecx
je 0x41e3fb
test al, 0x20
jne 0x41e3fb
mov eax, dword [0x4f5b3c]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x41e3bb
lea ecx, [esp + 8]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41e3ea
lea edx, [esp + 0x10]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [esp + 8]
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
push 0
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x41e3ea
mov eax, dword [esi + 0x320]
cmp eax, 1
jne 0x41e3db
mov edx, dword [esi + 0x428]
push 0
neg edx
sbb edx, edx
and edx, 4
add edx, 2
push edx
jmp 0x41e3e4
cmp eax, 2
jne 0x41e3ea
push 0
push 0
call dword [sym.imp.USER32.dll_ExitWindowsEx]
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x41e780
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4bcec3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], method.CWinApp.virtual_0
mov dword [esp + 0x24], 0
mov eax, dword [0x4f5b3c]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xc0]
lea ecx, [esp + 0xc]
push eax
push eax
push str.error_code:_d___x_
push ecx
mov byte [esp + 0x34], 0x49
call fcn.004a768f
lea edx, [esp + 0x1c]
push edx
call fcn.0045db50
mov eax, dword [esi + 0xc0]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4239c0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4bd9b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.004aad1d
mov eax, dword [0x4f5b3c]
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], eax
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 1
mov dword [esp + 0x14], vtable.CFileException.0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0xffffffff
call fcn.004a9d5c
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x2c], 2
cmp esi, edi
jne 0x423a2d
lea esi, [esp + 0x10]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
push esi
push ebp
push edi
mov ecx, ebx
call fcn.004aa326
test eax, eax
je 0x423a66
mov dword [esp + 0x10], vtable.CFileException.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 3
call fcn.004a9c1f
mov eax, 1
jmp 0x423af9
cmp dword [esi + 8], 5
je 0x423a89
mov dword [esp + 0x10], vtable.CFileException.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 4
call fcn.004a9c1f
xor eax, eax
jmp 0x423af9
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x423abb
mov dword [esp + 0x10], vtable.CFileException.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 5
call fcn.004a9c1f
xor eax, eax
jmp 0x423af9
push edi
lea ecx, [ebx + 0x10]
call fcn.004a9d5c
push esi
push ebp
push edi
mov ecx, ebx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
call fcn.004aa326
mov esi, eax
mov dword [esp + 0x10], vtable.CFileException.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 6
call fcn.004a9c1f
mov eax, esi
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x423b10
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x423b3b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or al, 1
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, esi
call fcn.004a9baa
mov ecx, edi
call fcn.004aa541
pop edi
pop esi
ret

Function at 0x423b50
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4bd9d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x4cb988
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x10]
mov dword [esp + 0x14], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x423b9c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [esi]
or al, 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, esi
call fcn.004a9c1f
mov ecx, edi
mov dword [esp + 0x14], 0xffffffff
call fcn.004aa269
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4275b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4be71d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push esi
push edi
lea ecx, [esp + 0x20]
call fcn.004aa214
lea ecx, [esp + 0xc]
mov dword [esp + 0x13c], 0
call fcn.004aad1d
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x1c], eax
mov edi, vtable.CFileException.0
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xffffffff
call fcn.004a9d5c
mov esi, dword [esp + 0x148]
push str.WIN.INI
push esi
mov byte [esp + 0x144], 3
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42773b
cmp byte [esi], 0x5c
je 0x427692
cmp byte [esi + 1], 0x3a
je 0x427692
lea ecx, [esp + 0x30]
push 0x103
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0x2f]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x427683
lea eax, [esp + 0x30]
push 0x4ee660
push eax
call edi
lea ecx, [esp + 0x30]
push esi
push ecx
call edi
mov edi, vtable.CFileException.0
jmp 0x42769e
lea edx, [esp + 0x30]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x30]
push eax
push 0x40
push ecx
lea ecx, [esp + 0x2c]
call fcn.004aa326
test eax, eax
jne 0x427732
mov eax, dword [0x4fef7c]
test eax, eax
jne 0x427705
mov edx, dword [0x4f5b3c]
mov dword [esp + 8], edx
push 0x7e7
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], 4
call fcn.004abac8
mov eax, dword [esp + 8]
push 0
lea ecx, [esp + 0x34]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 8]
mov byte [esp + 0x13c], 3
call fcn.004a9c1f
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 5
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov dword [esp + 0x13c], 0xffffffff
call fcn.004aa269
xor eax, eax
jmp 0x4277ae
lea ecx, [esp + 0x20]
call fcn.004aa541
mov eax, dword [esp + 0x150]
cmp byte [eax], 0
jne 0x427756
mov edx, dword [esp + 0x14c]
push esi
push 0
push 0
push edx
jmp 0x42777a
mov ecx, dword [esp + 0x144]
push esi
cmp byte [ecx], 0
jne 0x427770
push 0
push eax
mov eax, dword [esp + 0x158]
push eax
jmp 0x42777a
push ecx
mov ecx, dword [esp + 0x154]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 6
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov dword [esp + 0x13c], 0xffffffff
call fcn.004aa269
mov eax, 1
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x138
ret 0x10
Function at 0x42a5f0
Capabilities:
Delete directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4bf056
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
push esi
xor ebx, ebx
push 0xa
lea ecx, [esp + 0x44]
mov dword [esp + 0x1b0], ebx
call fcn.004a7f83
push 0xa
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b0], 1
call fcn.004a7f83
lea ecx, [esp + 0xc]
mov byte [esp + 0x1ac], 2
call fcn.004aad1d
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x1c], eax
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b0], 4
mov dword [esp + 0x10], vtable.CFileException.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.004a9d5c
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x1ac], 5
push ecx
lea ecx, [esp + 0xc]
call fcn.004a9994
mov edx, dword [esp + 8]
push 0x5c
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b0], 6
mov esi, dword [edx - 8]
call fcn.004a72e7
dec esi
cmp eax, esi
je 0x42a6e5
lea eax, [esp + 8]
push 0x4ee660
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x1b0], 7
call fcn.004a9d5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ac], 6
call fcn.004a9c1f
push 0x4eea10
lea ecx, [esp + 0xc]
call fcn.004a9faf
mov edx, dword [esp + 8]
lea ecx, [esp + 0x5c]
push edx
call fcn.00434240
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1ac], 8
call fcn.00434310
test eax, eax
je 0x42a745
lea ecx, [esp + 0x5c]
call fcn.00434290
test eax, eax
jne 0x42a7f6
lea ecx, [esp + 0x5c]
call fcn.004342d0
test eax, eax
jne 0x42a7f6
lea ecx, [esp + 0x5c]
call fcn.00434310
test eax, eax
jne 0x42a716
mov eax, dword [esp + 0x1b4]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x1b4]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x5c]
mov esi, eax
mov byte [esp + 0x1ac], 6
call fcn.00434270
lea ecx, [esp + 8]
mov byte [esp + 0x1ac], 5
call fcn.004a9c1f
mov dword [esp + 0xc], vtable.CFileException.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ac], 0xa
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ac], 1
call fcn.004a7ff7
lea ecx, [esp + 0x40]
mov byte [esp + 0x1ac], bl
call fcn.004a7ff7
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.004a9c1f
mov eax, esi
mov ecx, dword [esp + 0x1a4]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a8
ret 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1ac], 6
call fcn.00434270
lea ecx, [esp + 8]
mov byte [esp + 0x1ac], 5
call fcn.004a9c1f
mov dword [esp + 0xc], vtable.CFileException.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ac], 9
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ac], 1
call fcn.004a7ff7
lea ecx, [esp + 0x40]
mov byte [esp + 0x1ac], bl
call fcn.004a7ff7
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.004a9c1f
xor eax, eax
jmp 0x42a7dd
Function at 0x42e060
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bfe18
push eax
mov dword fs:[0], esp
push str.__REGSERVER
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0
call fcn.004a9faf
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 0x10]
jae 0x42e0c1
call fcn.004a9c1f
xor eax, eax
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 4
call fcn.004a9c1f
mov ecx, dword [esp]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0xc
ret 4

Function at 0x42e1a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bfe60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push esi
lea ecx, [esp + 0x28]
call fcn.004a9c8d
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
call fcn.004aa0f5
push str..EXE
lea ecx, [esp + 0x28]
call fcn.004a7309
or ebp, 0xffffffff
cmp eax, ebp
jle 0x42e235
push str.__UNREGSERVER
lea ecx, [esp + 0x28]
call fcn.004a9faf
mov eax, dword [esp + 0x24]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x24]
jb 0x42e26f
call fcn.004a9c1f
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x42e24a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42e267
push str.DllUnregisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42e28a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x24]
call fcn.004a9c1f
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
call eax
xor ecx, ecx
push esi
test eax, eax
sete cl
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.RE_
lea ecx, [esp + 0x10]
call fcn.004a9c8d
push 0x4fef68
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.004a9feb
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.004a9994
mov ecx, 0x4fee30
call fcn.00421b40
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebp
call fcn.004a9c1f
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret 4
Function at 0x42e7f0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4bff30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x4f5b3c]
push esi
mov dword [esp + 4], eax
mov esi, dword [esp + 0x24]
lea ecx, [esp + 8]
push esi
mov dword [esp + 0x20], 0
call fcn.004a9c8d
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.00434be0
test eax, eax
jne 0x42e8bf
mov ecx, dword [0x4f5b3c]
mov dword [esp + 0x24], ecx
push 0x4ee4fc
lea edx, [esp + 0x10]
push 0x4fef2c
push edx
mov byte [esp + 0x28], 2
call fcn.004a9e68
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call fcn.004a9d0c
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.004a9c1f
push esi
lea ecx, [esp + 0x28]
call fcn.004a9faf
push 0x4ee4f8
lea ecx, [esp + 0x28]
call fcn.004a9faf
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.004a9994
mov ecx, 0x4fee30
call fcn.00421b40
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.004a9c1f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x42e90d
push str.Shortcut:_
lea ecx, [esp + 8]
call fcn.004a9d5c
push esi
lea ecx, [esp + 8]
call fcn.004a9faf
push 0x4f0b6c
lea ecx, [esp + 8]
call fcn.004a9faf
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.004a9994
mov ecx, 0x4fee30
call fcn.00421b40
push 0
push esi
push 1
push 8
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.004a9c1f
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret