joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a63a7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a63df
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.004a4431
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a4409
jmp 0x4a63eb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a7a95
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 0x4a7ad7
call fcn.004ada41
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a7ad7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a7ace
xor eax, eax
jmp 0x4a7adf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a7ae5
pop edi
pop esi
pop ebx
ret 4

Function at 0x4adf71
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 0x4adf9f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4adfbd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004aded7
jmp 0x4adfbd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4adfbd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004aded7
test edi, edi
mov eax, edi
jne 0x4adfa7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401e3f
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [fcn.004043d6]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push 0x20
push 2
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x401e8b
xor al, al
jmp 0x401eb2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x401ea0
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
cmp dword [ebp - 0x10], 1
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004043d6
leave
ret 4

Function at 0x401ec1
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [fcn.004043d6]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push 0x104
lea eax, [ebp - 0x78]
push eax
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x401fa5
lea ecx, [ebp - 0x80]
call fcn.0040102d
push ecx
push ecx
mov ecx, esp
push str._c_del__
call fcn.0040140d
lea ecx, [ebp - 0x80]
call fcn.004014d9
push ecx
push ecx
lea eax, [ebp + 0x19c]
mov ecx, esp
push eax
call fcn.00401037
lea ecx, [ebp - 0x80]
call fcn.004014d9
push ecx
push ecx
mov ecx, esp
push str._____NUL
call fcn.0040140d
lea ecx, [ebp - 0x80]
call fcn.004014d9
xor eax, eax
mov esi, str.runas
cmp byte [ebp + 0x1a4], al
jne 0x401f5a
mov esi, str.open
push eax
push eax
lea ecx, [ebp - 0x80]
call fcn.00401062
push eax
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x80]
call fcn.00401471
mov bl, 1
lea ecx, [ebp + 0x19c]
call fcn.00401471
mov ecx, dword [ebp + 0x190]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004043d6
add ebp, 0x194
leave
ret
xor bl, bl
jmp 0x401f81
Function at 0x4025a7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x40265e
mov eax, dword [esi + 0xb4]
mov edi, dword [eax]
push ecx
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.00401037
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0xb4]
push ebx
call dword [edi + 0x14]
cmp ebx, 2
jl 0x40260e
push ecx
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.00401037
push dword [ebp + 0x10]
mov ecx, esi
push ebx
call fcn.00401c1e
cmp ebx, 2
jne 0x40260e
cmp byte [esi + 0x1b4], 0
jne 0x40265e
push 3
pop ebx
cmp ebx, 3
jne 0x40265e
lea eax, [esi + 0x174]
push eax
lea ecx, [ebp - 8]
call fcn.00401037
mov eax, dword [esi + 0xb4]
mov edi, dword [eax]
push ecx
push ecx
mov ecx, esp
push str.FlashInstall.log
call fcn.0040140d
push 0x5c
lea ecx, [ebp - 8]
call fcn.00401510
push ecx
push ecx
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [esi + 0xb4]
call dword [edi + 0x1c]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp + 0x14]
call fcn.00401471
cmp byte [ebp + 8], 0
pop edi
pop esi
sete al
pop ebx
leave
ret 0x14

Function at 0x40271f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa4
mov eax, dword [fcn.004043d6]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
lea eax, [ebp - 0x20]
push eax
mov edi, ecx
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4027b6
cmp dword [ebp - 0x1c], 6
jae 0x402790
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x4027b6
mov dword [ebp - 0x2c], 0x220
mov dword [ebp - 0x28], 0x223
mov dword [ebp - 0x24], 0x225
xor esi, esi
push dword [ebp + esi*4 - 0x2c]
mov ecx, edi
call fcn.00401e3f
test al, al
jne 0x4027b6
inc esi
cmp esi, 3
jl 0x402776
xor eax, eax
inc eax
jmp 0x4027b8
mov ecx, edi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
test al, al
jne 0x4027b6
mov ecx, edi
call fcn.00402674
cmp eax, 0x3000
jae 0x4027b6
push 2
pop eax
jmp 0x4027b8
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
xor ecx, ebp
pop esi
call fcn.004043d6
add ebp, 0x78
leave
ret
Function at 0x4033cd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
mov esi, ecx
cmp byte [ebp + 8], bl
jne 0x403416
cmp byte [esi + 0xb0], bl
je 0x403402
call fcn.00402674
cmp eax, 0x3000
jae 0x403402
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
test al, al
jne 0x403416
lea ecx, [ebp + 0xc]
call fcn.00401471
lea ecx, [ebp + 0x14]
call fcn.00401471
xor al, al
jmp 0x40348c
movzx eax, byte [esi + 0xb0]
push ecx
push ecx
mov ecx, esp
push ebx
push 0xa
push eax
call fcn.00401427
push 0xb
push ebx
push ebx
mov ecx, esi
call fcn.004025a7
lea ecx, [ebp + 0x14]
call fcn.00401052
test eax, eax
jle 0x40344b
lea ecx, [ebp + 0x14]
call fcn.00401062
jmp 0x40344d
xor eax, eax
cmp byte [esi + 0xb0], bl
mov esi, str.runas
jne 0x40345f
mov esi, str.open
push 1
push ebx
push eax
lea ecx, [ebp + 0xc]
call fcn.00401062
push eax
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 0xc]
call fcn.00401471
lea ecx, [ebp + 0x14]
call fcn.00401471
mov al, 1
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x40494f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00404436
test byte [esi + 4], 0x19
mov ecx, edi
setne byte [ebp - 1]
call fcn.00404427
xor ebx, ebx
cmp byte [ebp - 1], bl
jne 0x40498b
lea ecx, [ebp + 8]
call fcn.00401471
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
cmp dword [esi], ebx
jne 0x4049d5
push 0x20
call fcn.00404351
mov edi, eax
pop ecx
cmp edi, ebx
je 0x4049a8
mov ecx, edi
call fcn.0040688f
mov ecx, edi
jmp 0x4049aa
xor ecx, ecx
mov dword [esi], ecx
call fcn.0040480d
test al, al
jne 0x4049d5
mov esi, dword [esi]
cmp esi, ebx
je 0x4049c9
mov ecx, esi
call fcn.00406895
push esi
call fcn.00404365
pop ecx
lea ecx, [ebp + 8]
call fcn.00401471
mov al, bl
jmp 0x404984
push ecx
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401037
lea ecx, [esi + 0x10]
call fcn.00401479
push ebx
push ebx
push esi
push 0x404567
push ebx
push ebx
mov dword [esi + 4], 4
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0xc], eax
setne bl
jmp 0x4049c9

Function at 0x405486
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
lea ecx, [ebp + 8]
mov byte [ebp - 1], 0
call fcn.00401062
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x4054cb
xor bl, bl
lea ecx, [ebp + 8]
call fcn.00401471
pop esi
mov al, bl
pop ebx
leave
ret
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
je 0x40552d
push edi
call fcn.00404351
mov ebx, eax
pop ecx
cmp ebx, esi
je 0x405516
test edi, edi
jbe 0x405512
and dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405512
add esi, dword [ebp - 8]
cmp esi, edi
jb 0x4054eb
cmp esi, edi
je 0x40551f
push ebx
call fcn.00404365
pop ecx
jmp 0x40552d
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov byte [ebp - 1], 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, byte [ebp - 1]
pop edi
jmp 0x4054bd

Function at 0x40553c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x40554a
xor al, al
leave
ret
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
test edi, edi
jbe 0x40557e
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, edi
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40557e
add esi, dword [ebp - 4]
cmp esi, edi
jb 0x405555
xor eax, eax
cmp esi, edi
pop edi
sete al
pop esi
leave
ret
Function at 0x4055a0
Capabilities:
Get common file path

Disassembly:
push esi
push edi
mov edi, 0x208
push edi
call fcn.00404351
push edi
mov esi, eax
call fcn.00404351
pop ecx
pop ecx
push esi
push 0x104
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [esp + 0xc]
push edi
call fcn.0040140d
push edi
call fcn.00404365
push esi
call fcn.00404365
mov eax, dword [esp + 0x14]
pop ecx
pop ecx
pop edi
pop esi
ret 4
Function at 0x406b14
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [fcn.004043d6]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [0x40d0f8]
push esi
mov esi, dword [ebp + 0x19c]
mov dword [ebp - 0x7c], esi
test eax, eax
je 0x406b51
push eax
mov ecx, esi
call fcn.00401037
mov eax, esi
jmp 0x406be5
and dword [ebp - 0x80], 0
push edi
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x406b8a
push ebx
push str.IsWow64Process
push edi
call esi
mov ebx, eax
test ebx, ebx
je 0x406b89
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
pop ebx
cmp dword [ebp - 0x80], 0
je 0x406bc0
push str.GetSystemWow64DirectoryW
push edi
call esi
test eax, eax
je 0x406bc0
push 0x104
lea ecx, [ebp - 0x78]
push ecx
call eax
push 8
call fcn.00404351
pop ecx
test eax, eax
je 0x406bd1
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.0040140d
jmp 0x406bd3
push 0x104
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x406ba7
xor eax, eax
mov ecx, dword [ebp - 0x7c]
push eax
mov dword [0x40d0f8], eax
call fcn.00401037
mov eax, dword [ebp - 0x7c]
pop edi
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop esi
call fcn.004043d6
add ebp, 0x194
leave
ret

Function at 0x40763c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
push dword [esi + 0x50]
mov byte [ebp - 1], 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp + 8]
push 0x40bfcc
push dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [esi + 0x48]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp + 8], eax
test eax, eax
je 0x40770d
push ebx
push eax
mov eax, dword [esi + 0x48]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp + 8]
mov ebx, eax
mov eax, dword [esi + 0x48]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp ebx, eax
je 0x40770c
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0xc]
push ebx
call fcn.00407477
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push 0x20
push esi
push dword [ebp + 8]
push dword [edi]
call fcn.00407008
add esp, 0x24
mov dword [ebp + 0xc], eax
test eax, eax
je 0x40770c
imul esi, dword [ebp + 8]
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call fcn.004074a2
add esp, 0x10
test al, al
je 0x40770c
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 1], 1
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret 8
Function at 0x4026e6
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
add esp, 0xfffffbe0
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [0x414045], 0
jne 0x40276f
mov eax, esp
call fcn.00405b5c
mov ecx, 6
mov edx, dword [str.RarSFX]
call fcn.0040f260
test eax, eax
jne 0x40276f
push 0x414203
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esp
call fcn.0040f134
mov byte [esp + eax + 1], 0
lea eax, [esp + 0x400]
mov ecx, 0x1e
xor edx, edx
call fcn.0040f0b4
mov dword [esp + 0x404], 3
mov word [esp + 0x410], 0x14
mov eax, esp
mov dword [esp + 0x408], eax
lea edx, [esp + 0x400]
push edx
call sub.SHELL32.DLL_SHFileOperationA
add esp, 0x420
ret

Function at 0x40282a
Capabilities:
Set registry value

Disassembly:
push ebx
add esp, 0xfffffbf8
mov ebx, eax
cmp byte [0x41405d], 0
je 0x4028a1
cmp byte [0x41596c], 0
je 0x4028a1
lea edx, [esp + 8]
mov eax, 0x41596c
call fcn.004027f9
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x4028a1
mov eax, ebx
call fcn.0040f134
inc eax
push eax
push ebx
push 1
push 0
lea edx, [esp + 0x18]
push edx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x408
pop ebx
ret

Function at 0x4028a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffff7f4
mov ebx, eax
cmp byte [0x41405d], 0
je 0x402922
lea edx, [esp + 0xc]
mov eax, ebx
call fcn.004027f9
push esp
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x402922
mov dword [esp + 4], 0x400
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0x410]
push eax
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40291a
lea edx, [esp + 0x40c]
mov eax, ebx
call fcn.0040f1b4
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x80c
pop ebx
ret

Function at 0x4029e8
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret

Function at 0x4029f2
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret
Function at 0x4549c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x55b1bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0054aca0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x454a42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005473b7
mov eax, dword [eax]
push 0x812264
push eax
call fcn.00538754
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0054af2b
test bl, bl
je 0x454a42
push 0x812264
lea ecx, [esp + 0xc]
call fcn.0054b2bb
push 0x815e18
lea ecx, [esp + 0xc]
call fcn.0054b2bb
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x454a7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0054af2b
jmp 0x454b49
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x454b02
lea edx, [esp + 0x7c]
push 0x815e14
push edx
call fcn.00538754
add esp, 8
test eax, eax
je 0x454b02
lea eax, [esp + 0x7c]
push 0x815e10
push eax
call fcn.00538754
add esp, 8
test eax, eax
je 0x454b02
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x454a92
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0054af2b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x455dc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x455e22
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x455e30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x55b31b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x82b8b0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x455f68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x455e96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0054af2b
xor eax, eax
jmp 0x455fdf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0054b068
push esi
lea ecx, [esp + 0xc]
call fcn.0054b2f7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x815e50
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x455fbd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x815e48
push closesocket
call fcn.00455dc0
test eax, eax
jne 0x455fbd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x815e34
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00455dc0
test eax, eax
jne 0x455fbd
lea eax, [esp + 0x14]
push 0x815e2c
push eax
call fcn.005399c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x455f9c
lea ecx, [esp + 0x14]
push 0x815e28
push ecx
call fcn.00539940
mov esi, eax
add esp, 8
test esi, esi
jne 0x455f9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x455f9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0054b018
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x455eae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0054af2b
xor eax, eax
jmp 0x455fdf
mov byte [esi], 0
push 0x815e24
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0054af2b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x45ce7a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x55bc18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0054c647
xor ebp, ebp
mov dword [esi], 0x7ec6bc
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.004465f0
call fcn.00449f00
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.00549c40
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00449f00
mov dword [ebx], 0x7ea154
mov dword [edi], 0x7ec5e0
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x7ebb10
lea ecx, [esi + 0xb0]
call fcn.00449f00
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x7ec5e8
mov dword [esi + 0xac], ebp
call fcn.00555d06
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.005520b2
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x45d030
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x55bca5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x7ec5e8
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.00552109
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x7ea150
call fcn.0044a100
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.00552109
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x7ea150
call fcn.0044a100
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.00549c73
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x7ea150
call fcn.0044a100
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00553f6e
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret