joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450f10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x494680]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], ecx
mov dword [ebp - 4], 0x104
push 0x104
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00427990
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00404b10
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0x4805e8
mov ecx, dword [ebp + 0x10]
call fcn.00404b10
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00401a40
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00427284
mov esp, ebp
pop ebp
ret 0x10
Function at 0x451400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462ac2
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x494680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push str.Notify...
lea ecx, [ebp - 0x24]
call fcn.00401a60
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405030
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0
mov ecx, 1
test ecx, ecx
je 0x451504
push 0
push 0
push 3
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0x34]
add ecx, 0x14
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4514a2
jmp 0x451504
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xe7
je 0x4514fd
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Could_not_find_ARM_server_to_notify
lea ecx, [ebp - 0x28]
call fcn.00401a60
mov dword [ebp - 4], 1
push 0x3e8
lea eax, [ebp - 0x28]
push eax
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405030
xor eax, eax
jmp 0x451614
jmp 0x451504
mov dword [ebp - 0x18], 2
cmp dword [ebp - 0x14], 0xe7
jne 0x451569
push 0x7d0
mov ecx, dword [ebp - 0x34]
add ecx, 0x14
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x451569
push str.Wait_to_notify_ARM_Server_failed
lea ecx, [ebp - 0x2c]
call fcn.00401a60
mov dword [ebp - 4], 2
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov dword [ebp - 0x18], 3
cmp dword [ebp - 0x18], 2
jne 0x4515f9
mov dword [ebp - 0x20], 0
cmp dword [ebp + 8], 0
je 0x451589
mov dword [ebp - 0x38], 0xc9
jmp 0x45159f
mov ecx, 0x498b90
call fcn.00404310
neg eax
sbb eax, eax
add eax, 0xcb
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], edx
push 0
lea eax, [ebp - 0x20]
push eax
push 4
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4515f9
push str.Notify_ARM_Server_failed
lea ecx, [ebp - 0x30]
call fcn.00401a60
mov dword [ebp - 4], 3
push 0
lea eax, [ebp - 0x30]
push eax
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405030
mov dword [ebp - 0x18], 3
cmp dword [ebp - 0x10], 0xffffffff
je 0x451609
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x451b90
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x494680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push str.StartServer...
lea ecx, [ebp - 0x28]
call fcn.00401a60
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405030
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
push ecx
call fcn.00451200
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x451c48
push str.Create_DACL_failed___using_default_security
lea ecx, [ebp - 0x2c]
call fcn.00401a60
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x2c]
push edx
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x18]
and eax, ecx
push eax
push 0
push 4
push 4
push 0xff
push 6
push 1
mov ecx, dword [ebp - 0x3c]
add ecx, 0x14
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edx, dword [ebp - 0x3c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 8], 0xffffffff
je 0x451d0e
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 8]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x24]
push ecx
push 0
mov edx, dword [ebp - 0x3c]
add edx, 4
push edx
push 0x4517b0
push 0
push 0
call fcn.00428236
add esp, 0x18
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0xc], 0xffffffff
jne 0x451d05
mov dword [ebp - 0x20], 0
push str._beginthreadex_failed_in_Notify.
lea ecx, [ebp - 0x30]
call fcn.00401a60
mov dword [ebp - 4], 2
push 0
lea eax, [ebp - 0x30]
push eax
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405030
jmp 0x451d0c
mov dword [ebp - 0x20], 1
jmp 0x451d41
push str.Create_ARM_Server_failed
lea ecx, [ebp - 0x34]
call fcn.00401a60
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp - 0x34]
push ecx
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405030
cmp dword [ebp - 0x14], 0
je 0x451d51
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x20], 0
je 0x451d8a
push str.ARM_Server_started
lea ecx, [ebp - 0x38]
call fcn.00401a60
mov dword [ebp - 4], 4
push 0
lea eax, [ebp - 0x38]
push eax
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405030
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4552d0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463f0c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x494680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push str.Cleanup...
lea ecx, [ebp - 0x10]
call fcn.00401a60
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405030
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0xbc], 0
jne 0x4553f5
push 0x80
mov ecx, dword [ebp - 0x1c]
add ecx, 0xcc
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x6a9
mov ecx, 0x498b90
call fcn.004010a0
movzx edx, al
test edx, edx
jne 0x455384
mov ecx, dword [ebp - 0x1c]
add ecx, 0xcc
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4553d5
mov eax, dword [ebp - 0x1c]
add eax, 0xcc
push eax
push str.Delete_file:
lea ecx, [ebp - 0x14]
push ecx
call fcn.00401310
add esp, 0xc
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0x6a9
mov ecx, dword [ebp - 0x1c]
call fcn.004010c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405030
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x534
call fcn.00401040
mov dword [ebp - 0x28], eax
call fcn.00441c00
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x456230
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464a9c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x494680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
push str.ExecuteInstalls...
lea ecx, [ebp - 0x24]
call fcn.00401a60
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 2
call fcn.0045c8c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405030
push 1
push 7
mov ecx, dword [ebp - 0x30]
call fcn.004557e0
mov dword [ebp - 0x10], 1
mov ecx, 0x498b90
call fcn.00402bd0
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x48], eax
push 0
push str.Acrobat_Instance_Mutex
push 0
lea ecx, [ebp - 0x20]
call fcn.0040e330
mov dword [ebp - 4], 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.0040e3c0
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x638], 0
jne 0x4562fb
push 0x3a98
push 0xd80
mov ecx, dword [ebp - 0x30]
call fcn.004558b0
push 0x5dc
mov ecx, 0x498b90
call fcn.004010a0
movzx eax, al
test eax, eax
jne 0x456323
mov ecx, dword [ebp - 0x30]
add ecx, 0x518
call fcn.004491e0
test eax, eax
jne 0x45635f
push 0x483638
lea ecx, [ebp - 0x28]
call fcn.00401a60
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x5dc
mov ecx, dword [ebp - 0x30]
call fcn.004010c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00405030
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x638], 0
jne 0x456373
mov ecx, dword [ebp - 0x30]
call fcn.004546c0
cmp dword [ebp - 0x18], 0
je 0x456381
lea ecx, [ebp - 0x20]
call fcn.0040e383
push 0
mov ecx, dword [ebp - 0x30]
add ecx, 0x614
call fcn.00451630
mov eax, dword [ebp - 0x14]
or esi, 0xffffffff
sub esi, dword [eax + 0x48]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x48], esi
push 4
mov ecx, dword [ebp - 0x14]
call fcn.0045d280
cmp dword [ebp - 0x10], 0
jne 0x4563c6
push 1
push 2
mov ecx, dword [ebp - 0x30]
call fcn.004557e0
jmp 0x4563d2
push 1
push 8
mov ecx, dword [ebp - 0x30]
call fcn.004557e0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040e378
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x457860
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x457885
mov dword [ebp - 4], 0x80
push 0x80
mov ecx, dword [ebp + 8]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4578c7
xor eax, eax
jmp 0x4578fe
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x45c100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov byte [0x498aec], 1
mov dword [0x498ae0], 1
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, 0x498b74
call fcn.00404b10
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45c186
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, 0x498b78
call fcn.00404b10
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x45c19c
cmp dword [ebp - 0xc], 1
jne 0x45c19c
mov dword [0x498ae0], 2
mov esp, ebp
pop ebp
ret
Function at 0x45d480
Capabilities:
Enumerate gui resources
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3440
call fcn.0042d690
mov eax, dword [0x494680]
xor eax, ebp
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x100c]
push eax
push 0x1000
lea ecx, [ebp - 0x1000]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x45d4bd
xor eax, eax
jmp 0x45d68f
mov dword [ebp - 0x1008], 0
mov edx, dword [ebp - 0x100c]
shr edx, 2
mov dword [ebp - 0x1010], edx
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x1004], 1
mov dword [ebp - 0x1018], 0
jmp 0x45d505
mov eax, dword [ebp - 0x1018]
add eax, 1
mov dword [ebp - 0x1018], eax
mov ecx, dword [ebp - 0x1018]
cmp ecx, dword [ebp - 0x1010]
jae 0x45d689
mov edx, dword [ebp - 0x1018]
cmp dword [ebp + edx*4 - 0x1000], 0
je 0x45d684
mov eax, dword [ebp - 0x1018]
mov ecx, dword [ebp + eax*4 - 0x1000]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x101c], eax
cmp dword [ebp - 0x101c], 0
je 0x45d684
mov dword [ebp - 0x122c], 0
xor edx, edx
mov word [ebp - 0x1228], dx
push 0x206
push 0
lea eax, [ebp - 0x1226]
push eax
call fcn.00427990
add esp, 0xc
lea ecx, [ebp - 0x122c]
push ecx
push 0x2000
lea edx, [ebp - 0x3230]
push edx
mov eax, dword [ebp - 0x101c]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x45d5c4
push 0x104
lea ecx, [ebp - 0x1228]
push ecx
mov edx, dword [ebp - 0x3230]
push edx
mov eax, dword [ebp - 0x101c]
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
mov ecx, dword [ebp - 0x122c]
shr ecx, 2
mov dword [ebp - 0x1230], ecx
mov dword [ebp - 0x3234], 0
jmp 0x45d5ee
mov edx, dword [ebp - 0x3234]
add edx, 1
mov dword [ebp - 0x3234], edx
mov eax, dword [ebp - 0x3234]
cmp eax, dword [ebp - 0x1230]
jge 0x45d677
push 0x104
lea ecx, [ebp - 0x3440]
push ecx
mov edx, dword [ebp - 0x3234]
mov eax, dword [ebp + edx*4 - 0x3230]
push eax
mov ecx, dword [ebp - 0x101c]
push ecx
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
jbe 0x45d672
lea edx, [ebp - 0x3440]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00427a41
add esp, 8
test eax, eax
je 0x45d672
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1018]
mov eax, dword [ebp + edx*4 - 0x1000]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x1018]
mov edx, dword [ebp + ecx*4 - 0x1000]
push edx
push 0x45d3a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [ebp - 0x1008], 1
jmp 0x45d5df
mov eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45d4f6
mov eax, dword [ebp - 0x1008]
mov ecx, dword [ebp - 0x1020]
xor ecx, ebp
call fcn.00427284
mov esp, ebp
pop ebp
ret
Function at 0x45d6a0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4622d0
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x494680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x46f754]
mov dword [ebp - 0x21c], eax
mov ecx, dword [str.nknown_]
mov dword [ebp - 0x218], ecx
mov edx, dword [0x46f75c]
mov dword [ebp - 0x214], edx
mov eax, dword [0x46f760]
mov dword [ebp - 0x210], eax
mov ecx, dword [0x46f764]
mov dword [ebp - 0x20c], ecx
push 0x1f4
push 0
lea edx, [ebp - 0x208]
push edx
call fcn.00427990
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45d89a
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x228]
push ecx
push 4
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x45d782
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x45d89a
mov ecx, dword [ebp + 0x10]
call fcn.00402e40
movzx ecx, al
test ecx, ecx
jne 0x45d80f
push 0x400
lea edx, [ebp - 0xa2c]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jbe 0x45d80a
lea ecx, [ebp - 0xa2c]
push ecx
lea ecx, [ebp - 0xa34]
call fcn.00401a60
mov dword [ebp - 0xa44], eax
mov edx, dword [ebp - 0xa44]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00406830
add esp, 8
mov byte [ebp - 0xa2d], al
lea ecx, [ebp - 0xa34]
call fcn.00405030
movzx ecx, byte [ebp - 0xa2d]
test ecx, ecx
je 0x45d80a
mov eax, 1
jmp 0x45d8ac
jmp 0x45d89a
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0xa3c]
call fcn.00401a60
mov dword [ebp - 0xa48], eax
mov eax, dword [ebp - 0xa48]
mov dword [ebp - 0xa4c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xa40]
call fcn.00401a60
mov dword [ebp - 0xa50], eax
mov edx, dword [ebp - 0xa4c]
push edx
mov eax, dword [ebp - 0xa50]
push eax
call fcn.00406830
add esp, 8
mov byte [ebp - 0xa35], al
lea ecx, [ebp - 0xa40]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa3c]
call fcn.00405030
movzx ecx, byte [ebp - 0xa35]
test ecx, ecx
je 0x45d89a
mov eax, 1
jmp 0x45d8ac
cmp dword [ebp - 0x10], 0
je 0x45d8aa
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00427284
mov esp, ebp
pop ebp
ret
Function at 0x45d8d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4627fe
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
call fcn.0042d690
mov eax, dword [0x494680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea ecx, [ebp - 0x100c]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x45d91f
xor eax, eax
jmp 0x45d9e7
mov edx, dword [ebp - 0x1014]
shr edx, 2
mov dword [ebp - 0x1018], edx
mov dword [ebp - 0x1010], 0
jmp 0x45d949
mov eax, dword [ebp - 0x1010]
add eax, 1
mov dword [ebp - 0x1010], eax
mov ecx, dword [ebp - 0x1010]
cmp ecx, dword [ebp - 0x1018]
jae 0x45d9e5
mov edx, dword [ebp - 0x1010]
cmp dword [ebp + edx*4 - 0x100c], 0
je 0x45d9e0
push 0
lea ecx, [ebp - 0x1020]
call fcn.00401a60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x1010]
mov eax, dword [ebp + edx*4 - 0x100c]
push eax
call fcn.0045d6a0
add esp, 0xc
mov dword [ebp - 0x101c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1020]
call fcn.00405030
cmp dword [ebp - 0x101c], 0
je 0x45d9e0
cmp dword [ebp + 0xc], 0
je 0x45d9d9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1010]
mov eax, dword [ebp + edx*4 - 0x100c]
mov dword [ecx], eax
mov eax, 1
jmp 0x45d9e7
jmp 0x45d93a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x45dbd0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462862
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x494680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x498b90
call fcn.004031e0
mov ecx, eax
call fcn.00404dd0
push eax
lea ecx, [ebp - 0x14]
call fcn.00401b20
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 4
cmp dword [ebp - 0x10], 4
jne 0x45ddd4
mov dword [ebp - 0x20], 0
mov ecx, 0x498b90
call fcn.00407500
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.00408140
mov ecx, 0x498b90
call fcn.004031e0
mov ecx, eax
call fcn.00408100
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
jmp 0x45dc6c
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
call fcn.00406ca0
cmp dword [ebp - 0x24], eax
jge 0x45dd89
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004075f0
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
cmp dword [edx], 0
je 0x45dd84
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call fcn.004080e0
test eax, eax
jne 0x45dd84
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
call fcn.00402920
push eax
lea ecx, [ebp - 0x34]
call fcn.00401b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00404b10
push eax
push 0x46f690
lea ecx, [ebp - 0x34]
call fcn.00402c60
push 0x46f6ac
lea ecx, [ebp - 0x34]
call fcn.00401110
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx]
call fcn.00406500
push eax
lea ecx, [ebp - 0x34]
call fcn.004010f0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call fcn.00406540
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 4
jne 0x45dd38
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004013c0
push eax
call fcn.0045d480
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x45dd36
mov dword [ebp - 0x20], 1
jmp 0x45dd78
cmp dword [ebp - 0x2c], 0
jne 0x45dd78
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call fcn.00406500
mov ecx, eax
call fcn.00404b10
push eax
call fcn.0045d8d0
add esp, 8
cmp dword [ebp - 0x30], 0
je 0x45dd78
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x30]
push ecx
push 0x45d3a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405030
jmp 0x45dc63
cmp dword [ebp - 0x20], 0
je 0x45ddc8
mov ecx, 0x498b90
call fcn.00404760
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0044a270
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2bc]
call fcn.0041715d
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2bc]
call fcn.0044a190
jmp 0x45ddcf
mov dword [ebp - 0x10], 1
jmp 0x45dc20
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405030
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret