joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ee00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x465b00]
xor eax, ebp
mov dword [ebp - 8], eax
push str.Rsinstall_Start________________________
call fcn.00407f90
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.00409920
push 1
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0040a0c0
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x18], 0x10
jb 0x42ee5c
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 4]
mov dword [ebp - 0xf0], eax
jmp 0x42ee6b
mov ecx, dword [ebp - 0x98]
add ecx, 4
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x70]
call fcn.004093b0
push 0
push 1
lea ecx, [ebp - 0x8c]
call fcn.00401600
mov eax, dword [ebp - 0x70]
push eax
push str.Delete_Skin_path__s
call fcn.00407f90
add esp, 8
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.00408b90
add esp, 4
push str.Delete_Path_End________________________
call fcn.00407f90
add esp, 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x6c], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebp - 0xbc], 8
mov dword [ebp - 0xb8], 4
lea edx, [ebp - 0xbc]
push edx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov dword [ebp - 0xc0], eax
push 0
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, 0x56777c
call fcn.0042f580
mov dword [ebp - 0x6c], eax
push str.E5C53971_D80E_4500_BE0D_761BF3CD8457
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x56775c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42ef72
mov ecx, dword [0x56775c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [0x56775c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ERROR_ZIPSELF_ANOTHER_RUNNING
call fcn.00407f90
add esp, 4
mov dword [ebp - 0x90], 0x2711
lea ecx, [ebp - 0x70]
call fcn.00404a90
lea ecx, [ebp - 0x68]
call fcn.00409ac0
mov eax, dword [ebp - 0x90]
jmp 0x42efc9
mov eax, dword [ebp + 8]
mov dword [0x567760], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0042e820
add esp, 8
mov dword [ebp - 4], eax
mov ecx, 0x56777c
call fcn.0042f740
call dword [sym.imp.ole32.dll_CoUninitialize]
push str.Rsinstall_End________________________
call fcn.00407f90
add esp, 4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x70]
call fcn.00404a90
lea ecx, [ebp - 0x68]
call fcn.00409ac0
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004401a3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x434950
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x465b00]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004348c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4349e7
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x13c], 0
cmp dword [ebp - 0x14], 0
je 0x4349d5
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x124]
jmp 0x434af0
mov dword [ebp - 4], 0x100
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x120]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x434a79
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x14]
call fcn.00434950
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x434a6d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x140], 0
cmp dword [ebp - 0x14], 0
je 0x434a5b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x128]
jmp 0x434af0
mov dword [ebp - 4], 0x100
jmp 0x4349ee
mov dword [ebp - 0x144], 0
cmp dword [ebp - 0x14], 0
je 0x434aa0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x150]
call fcn.00434730
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14], 0
je 0x434ae3
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004401a3
mov esp, ebp
pop ebp
ret 4
Function at 0x435460
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x435469
xor ecx, ecx
jne 0x435469
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x43548a
mov eax, 0xd
jmp 0x4354df
xor eax, eax
jne 0x435471
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 1
jne 0x43549b
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8
Function at 0x4371b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455130
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x465b00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x124]
mov dword [ebp - 0x4c], ecx
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ecx + 0x2b0]
call eax
cmp dword [ebp - 0x48], 1
je 0x43727e
push 0x459ac0
push str.Rs_rfwInstall_Msg_InstallAccept
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.0043cd70
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x18], 0x10
jb 0x437245
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x88], edx
jmp 0x437251
mov eax, dword [ebp - 0x50]
add eax, 4
mov dword [ebp - 0x88], eax
push 0
push 0
mov ecx, dword [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.00438590
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401600
xor eax, eax
jmp 0x43738f
mov ecx, dword [ebp - 0x80]
add ecx, 0xa0
call fcn.00409f80
test eax, eax
jne 0x43730c
push 0x459a8c
push str.Rs_rfwInstall_Msg_PathEmpty
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x80]
call fcn.0043cd70
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
cmp dword [ecx + 0x18], 0x10
jb 0x4372d3
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
mov dword [ebp - 0x90], eax
jmp 0x4372df
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x90], ecx
push 0
push 0
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x80]
call fcn.00438590
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.00401600
xor eax, eax
jmp 0x43738f
mov ecx, dword [ebp - 0x80]
call fcn.00438670
test eax, eax
jne 0x437324
mov ecx, dword [ebp - 0x80]
call fcn.00438540
xor eax, eax
jmp 0x43738f
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x170], 0
je 0x43737b
mov ecx, dword [ebp - 0x80]
cmp dword [ecx + 0x16c], 0
je 0x437362
push 0
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x80]
call fcn.00439d60
push 0x459a5c
call fcn.00407f90
add esp, 4
jmp 0x437379
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x174], 1
push 1
mov ecx, dword [ebp - 0x80]
call fcn.00437740
jmp 0x43738d
push 1
mov ecx, dword [ebp - 0x80]
call fcn.00437740
mov ecx, dword [ebp - 0x80]
call fcn.0043a190
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43a190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push str.OnstartUn7ZInstall....
call fcn.00407f90
add esp, 4
push 0xc
call fcn.00417a50
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [edx], ecx
mov edx, dword [ebp - 8]
mov dword [edx + 8], 0x458800
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x40bdc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43a215
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OnstartSetup_CreateThread_Failed_Error_Code__d
call fcn.00407f90
add esp, 8
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43ba60
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43bacf
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push str.ProgramFilesDir
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x43badc
mov eax, 1
jmp 0x43bb26
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp eax, 2
jbe 0x43bb24
mov eax, dword [ebp + 8]
mov byte [eax + 2], 0
cmp dword [ebp + 0xc], 0x7fffffff
jbe 0x43bb08
mov dword [ebp - 0x14], 0x80070057
jmp 0x43bb1d
push str.Program_Files
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00406950
mov dword [ebp - 0x14], eax
mov eax, 1
jmp 0x43bb26
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43cbc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 4], 0
je 0x43cc8b
mov ecx, dword [ebp - 0x8c]
xor edx, edx
cmp dword [ecx + 0x3c], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x43cc8b
push str._dui__CreateDirectUI_Enter__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp + 8]
push ecx
call fcn.0043e5c0
add esp, 4
push eax
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 4], esp
mov dword [ebp - 0x4c], edx
push 0
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.00401600
mov eax, dword [0x457584]
push eax
push 0
mov ecx, dword [ebp - 0x8c]
add ecx, 0x28
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.004017a0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x20]
call fcn.0043cca0
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x94]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x44], edx
push str._dui__CreateDirectUI_Leave_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x43d330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [0x567874]
mov dword [ebp - 8], eax
push 5
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
jne 0x43d367
jmp 0x43d3ec
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43d380
jmp 0x43d3ec
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43d399
jmp 0x43d3ec
push 0x567904
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00443fcd
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x43d3bb
jmp 0x43d3ec
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43d3d0
jmp 0x43d3ec
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00442750
add esp, 0xc
xor ecx, ecx
jne 0x43d35c
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x43fb4f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x5678f8], 0
push esi
jne 0x43fac2
call fcn.0043f9e8
test eax, eax
je 0x43fb05
mov eax, dword [0x5678f8]
cmp eax, 1
jne 0x43fae3
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x43fb05
pop esi
ret
push eax
call dword [0x567900]
test eax, eax
jne 0x43fb4d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x43fb09
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x5678f8]
call dword [0x567900]
mov edi, eax
test edi, edi
je 0x43fb2e
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x43fb4a
mov edi, esi
add esi, 0xff0
push edi
push dword [0x5678f8]
call dword [0x5678fc]
add edi, 0x10
cmp edi, esi
jb 0x43fb36
mov eax, edi
pop edi
pop esi
ret
jmp 0x43faaf

Function at 0x4401a3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x465b00]
jne 0x4401ad
repz ret
jmp fcn.00444ec5
Function at 0x44eb5d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004448ef
and dword [ebp - 4], 0
cmp dword [0x5682c8], 0
mov ebx, eax
jne 0x44ec0e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44ecbf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45c4b0
push edi
call esi
test eax, eax
je 0x44ecbf
push eax
call fcn.0044487d
mov dword [esp], 0x45c4a0
push edi
mov dword [0x5682c8], eax
call esi
push eax
call fcn.0044487d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5682cc], eax
call esi
push eax
call fcn.0044487d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5682d0], eax
call esi
push eax
call fcn.0044487d
pop ecx
mov dword [0x5682d8], eax
test eax, eax
je 0x44ec0e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044487d
pop ecx
mov dword [0x5682d4], eax
mov eax, dword [0x5682d4]
cmp eax, ebx
je 0x44ec66
cmp dword [0x5682d8], ebx
je 0x44ec66
push eax
call fcn.004448f8
push dword [0x5682d8]
mov esi, eax
call fcn.004448f8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44ec66
test edi, edi
je 0x44ec66
call esi
test eax, eax
je 0x44ec5d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44ec5d
test byte [ebp - 0xc], 1
jne 0x44ec66
or dword [ebp + 0x10], 0x200000
jmp 0x44ec9f
mov eax, dword [0x5682cc]
cmp eax, ebx
je 0x44ec9f
push eax
call fcn.004448f8
pop ecx
test eax, eax
je 0x44ec9f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44ec9f
mov eax, dword [0x5682d0]
cmp eax, ebx
je 0x44ec9f
push eax
call fcn.004448f8
pop ecx
test eax, eax
je 0x44ec9f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5682c8]
call fcn.004448f8
pop ecx
test eax, eax
je 0x44ecbf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44ecc1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409030
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46bcdb
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.00463a22
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4090b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045e12b
mov eax, dword [eax]
push 0x48cbbc
push eax
call fcn.004500ca
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00463cad
test bl, bl
je 0x4090b2
push 0x48cbbc
lea ecx, [esp + 0xc]
call fcn.0046403d
push 0x48cbc8
lea ecx, [esp + 0xc]
call fcn.0046403d
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 0x4090ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00463cad
jmp 0x4091b9
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 0x409172
lea edx, [esp + 0x7c]
push 0x48cbc4
push edx
call fcn.004500ca
add esp, 8
test eax, eax
je 0x409172
lea eax, [esp + 0x7c]
push 0x48cbc0
push eax
call fcn.004500ca
add esp, 8
test eax, eax
je 0x409172
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 0x409102
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.00463cad
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 0x4099d0
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 0x409a32
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 0x409a40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46bd5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x493b08]
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 0x409b78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409aa6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463cad
xor eax, eax
jmp 0x409bef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00463dea
push esi
lea ecx, [esp + 0xc]
call fcn.00464079
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x409bcd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push connect
call fcn.004099d0
test eax, eax
jne 0x409bcd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push connect
mov ecx, edi
call fcn.004099d0
test eax, eax
jne 0x409bcd
lea eax, [esp + 0x14]
push 0x48cbe0
push eax
call fcn.00450560
mov esi, eax
add esp, 8
test esi, esi
jne 0x409bac
lea ecx, [esp + 0x14]
push 0x48cbdc
push ecx
call fcn.004504e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409bac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409baf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00463d9a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409abe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463cad
xor eax, eax
jmp 0x409bef
mov byte [esi], 0
push 0x48cbd8
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.00463cad
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 0x41c6a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46cc98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0041d220
lea edx, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x41c749
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0041c330
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x4c]
call fcn.00467874
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00432780
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.004678e6
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14