joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x41c204]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x401088
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401081
nop
lea eax, [ebp - 0x108]
push 0x4151d0
push eax
call fcn.004070fb
add esp, 8
test eax, eax
je 0x401099
lea eax, [ebp - 0x108]
push 0x4151d8
push eax
call fcn.004070fb
add esp, 8
test eax, eax
je 0x401099
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401040
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401fc3
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x124]
xor ecx, ebp
pop esi
call fcn.00401fc3
mov esp, ebp
pop ebp
ret

Function at 0x401390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x41520c
mov esi, eax
push 0x75
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
call fcn.004041e4
mov esi, dword [ebp + 8]
push edi
push ebx
push eax
mov dword [esi], eax
call fcn.00402c40
add esp, 0x10
mov dword [esi + 4], edi
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401a70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d4
mov eax, dword [0x41c204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
jmp 0x401a98
jmp 0x401aa1
push 0
call fcn.00405e87
push eax
call fcn.00404660
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [ebp - 0x694]
add esp, 8
mov dword [ebp - 0x108], 0x745c3a6d
mov dword [ebp - 0x104], 0x2e5c66
push eax
lea eax, [ebp - 0x108]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 0xffffffff
push str.0.log
setne byte [0x41cad8]
call edi
lea eax, [ebp - 0x554]
xor esi, esi
push eax
push 0x4152fc
call ebx
cmp eax, 0xffffffff
je 0x401b45
lea eax, [ebp - 0x528]
push eax
call edi
lea eax, [ebp - 0x554]
push eax
push 0x415304
call ebx
cmp eax, 0xffffffff
je 0x401b45
lea eax, [ebp - 0x528]
push eax
call edi
inc esi
cmp esi, 0x64
jg 0x401b45
lea eax, [ebp - 0x554]
push eax
push 0x415304
call ebx
cmp eax, 0xffffffff
jne 0x401b23
call fcn.004013f0
call section..text
test eax, eax
jne 0x401b97
push 0x40010
mov byte [ebp - 0xfe], al
lea eax, [ebp - 0x108]
push 0x415267
push eax
push 0
mov dword [ebp - 0x108], 0xc8cfaad2
mov dword [ebp - 0x104], 0xd0d0cbd4
mov word [ebp - 0x100], 0x5151
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x401ba0
jmp 0x423683
Function at 0x40a28d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040a103
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4da756ea
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4dc81509
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4011ed
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x98
mov eax, dword [0x4206f0]
xor eax, ebp
mov dword [ebp + 0x68], eax
push ebx
mov ebx, dword [ebp + 0x7c]
push edi
mov edi, dword [ebp + 0x74]
call fcn.004010b0
xor eax, eax
cmp dword [0x421b6c], eax
je 0x401265
push 0x94
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040af80
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1c], 1
jne 0x401248
cmp dword [ebp - 0x24], 0xa
jae 0x401254
cmp dword [ebp - 0x1c], 2
jne 0x401263
cmp dword [ebp - 0x28], 5
jb 0x401263
push 0
push ebx
push dword [ebp + 0x78]
push edi
call dword [0x421b6c]
jmp 0x401265
xor eax, eax
mov ecx, dword [ebp + 0x68]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040affa
add ebp, 0x6c
leave
ret

Function at 0x40235b
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x4023a9
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x4023ba
push 0xd
pop eax
jmp 0x4023e4
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4023bd
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x402cae
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4206f0]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.0040231a
mov ebx, eax
cmp ebx, esi
je 0x402d1e
lea ecx, [ebp - 0x70]
call fcn.004022a5
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040affa
add ebp, 0x9c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x402d36
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.00402cae
cmp eax, esi
jne 0x402d68
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x402d26
lea ecx, [ebp - 0x70]
call fcn.004022a5
push dword [ebp - 0x78]
mov ecx, edi
call fcn.0040224a
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.004022a5
mov eax, esi
jmp 0x402d04
Function at 0x406850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREIntelDisplayigfxcuiigfxtrayTrayIcon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0x3a98
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4068a2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.FadeAwayTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x40730b
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor esi, esi
xor ecx, ecx
push 4
inc ecx
pop edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], esi
mov eax, 0x20019
cmp dword [ebp + 8], ecx
jne 0x40733a
add eax, 6
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push esi
push esi
push esi
push str.SOFTWAREIntelDisplayigfxcuiigfxtrayTrayIcon
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40740e
push ebx
cmp dword [ebp + 8], esi
jne 0x4073cd
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
mov ebx, str.ShowTrayIcon
push ebx
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
je 0x4073c5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 1
push esi
push str.SOFTWAREIntelDisplayigfxcuiigfxtrayTrayIcon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4073e4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4073e4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
jmp 0x4073e4
push edi
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x10]
push esi
push str.ShowTrayIcon
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x4199c8
push esi
call dword [sym.imp.USER32.dll_FindWindowA]
pop ebx
cmp eax, esi
je 0x407405
push dword [ebp + 0xc]
push esi
push 0x1729
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret
Function at 0x407415
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor esi, esi
cmp dword [ebp + 0xc], 3
push 4
pop edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], esi
mov eax, 0x20019
jne 0x407442
add eax, 6
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push esi
push esi
push esi
push str.SOFTWAREIntelDisplayigfxcuiigfxtray
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4075c5
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x4075c5
mov ecx, dword [ebp + 8]
dec ecx
push ebx
je 0x40753a
dec ecx
jne 0x4075c4
cmp dword [ebp + 0xc], 2
jne 0x4074fb
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
mov ebx, str.ShowOptimalBalloon
push ebx
mov dword [ebp - 0xc], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
call edi
test eax, eax
je 0x4074f0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 1
push esi
push str.SOFTWAREIntelDisplayigfxcuiigfxtray
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4075c4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4075c4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
jmp 0x4075c4
push edi
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp - 0x10]
push esi
push str.ShowOptimalBalloon
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x4199c8
push esi
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
je 0x4075c4
push dword [ebp + 0x10]
push 1
push 0x1729
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4075c4
cmp dword [ebp + 0xc], 2
jne 0x4075a6
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
mov ebx, str.ShowGraphicsBalloon
push ebx
mov dword [ebp - 0xc], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
call edi
test eax, eax
je 0x40759e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 1
push esi
push str.SOFTWAREIntelDisplayigfxcuiigfxtray
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4075bb
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4075bb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
jmp 0x4075bb
push edi
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp - 0x10]
push esi
push str.ShowGraphicsBalloon
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret
Function at 0x40affa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4206f0]
jne 0x40b004
repz ret
jmp fcn.0040f131

Function at 0x414e3b
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.0040d692
and dword [ebp - 4], 0
cmp dword [0x42278c], 0
mov ebx, eax
jne 0x414eec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414f9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x414f9d
push eax
call fcn.0040d620
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42278c], eax
call esi
push eax
call fcn.0040d620
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x422790], eax
call esi
push eax
call fcn.0040d620
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x422794], eax
call esi
push eax
call fcn.0040d620
pop ecx
mov dword [0x42279c], eax
test eax, eax
je 0x414eec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d620
pop ecx
mov dword [0x422798], eax
mov eax, dword [0x422798]
cmp eax, ebx
je 0x414f44
cmp dword [0x42279c], ebx
je 0x414f44
push eax
call fcn.0040d69b
push dword [0x42279c]
mov esi, eax
call fcn.0040d69b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414f44
test edi, edi
je 0x414f44
call esi
test eax, eax
je 0x414f3b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414f3b
test byte [ebp - 0xc], 1
jne 0x414f44
or dword [ebp + 0x10], 0x200000
jmp 0x414f7d
mov eax, dword [0x422790]
cmp eax, ebx
je 0x414f7d
push eax
call fcn.0040d69b
pop ecx
test eax, eax
je 0x414f7d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414f7d
mov eax, dword [0x422794]
cmp eax, ebx
je 0x414f7d
push eax
call fcn.0040d69b
pop ecx
test eax, eax
je 0x414f7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42278c]
call fcn.0040d69b
pop ecx
test eax, eax
je 0x414f9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414f9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43bf80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ce340
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.004c17b9
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.0043f500
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x43bfd4
jmp dword [ecx*4 + 0x43c13c]
mov al, byte [esi]
test al, al
je 0x43c002
cmp al, 0x20
je 0x43bfee
cmp al, 0xa1
jne 0x43c002
cmp byte [esi + 1], al
jne 0x43c002
test al, 0x80
je 0x43bffa
mov al, byte [esi + 1]
inc esi
test al, al
je 0x43c002
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x43bfe1
test ecx, ecx
je case.default.0x43bfd4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x43bfd4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x43c048
cmp dl, 0xa1
jne 0x43c03c
cmp byte [eax + 1], 0xa1
jne 0x43c03c
test ecx, ecx
jne 0x43c034
mov edi, eax
mov ecx, 1
inc eax
jmp 0x43c05c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x43c076
jmp 0x43c05c
cmp dl, 0x20
jne 0x43c05a
test ecx, ecx
jne 0x43c053
mov edi, eax
mov ecx, 1
jmp 0x43c05c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x43c01c
cmp ecx, 1
jne case.default.0x43bfd4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x43bfd4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x43bfd4
mov al, byte [esi]
test al, al
je 0x43c0ce
test al, 0x80
mov byte [esp + 0x3c], al
je 0x43c0b4
mov cl, byte [esi + 1]
test cl, cl
je 0x43c0ce
cmp al, 0xa1
jne 0x43c0a4
cmp cl, al
je 0x43c0b1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.0043f790
inc esi
jmp 0x43c0c6
cmp al, 0x20
je 0x43c0c6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0043f7d0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x43c08d
push 0
lea ecx, [esp + 0x14]
call fcn.0043f7d0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0044e510
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x43c101
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x4e3a88
call fcn.0043f700
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004c174b
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4482b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ceb3b
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.004c14c0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x448332
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bef02
mov eax, dword [eax]
push 0x4ffbe4
push eax
call fcn.004aad33
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c174b
test bl, bl
je 0x448332
push 0x4ffbe4
lea ecx, [esp + 0xc]
call fcn.004c1b27
push 0x4ffbf0
lea ecx, [esp + 0xc]
call fcn.004c1b27
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 0x44836e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c174b
jmp 0x448439
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 0x4483f2
lea edx, [esp + 0x7c]
push 0x4ffbec
push edx
call fcn.004aad33
add esp, 8
test eax, eax
je 0x4483f2
lea eax, [esp + 0x7c]
push 0x4ffbe8
push eax
call fcn.004aad33
add esp, 8
test eax, eax
je 0x4483f2
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 0x448382
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.004c174b
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 0x448c30
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 0x448c92
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 0x448ca0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cebbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x50bd50]
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 0x448dd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x448d06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c174b
xor eax, eax
jmp 0x448e4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c18d4
push esi
lea ecx, [esp + 0xc]
call fcn.004c1b63
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 0x448e2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00448c30
test eax, eax
jne 0x448e2d
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 SysReAllocString
mov ecx, edi
call fcn.00448c30
test eax, eax
jne 0x448e2d
lea eax, [esp + 0x14]
push 0x4ffc00
push eax
call fcn.004abfe0
mov esi, eax
add esp, 8
test esi, esi
jne 0x448e0c
lea ecx, [esp + 0x14]
push 0x4ffbfc
push ecx
call fcn.004abe30
mov esi, eax
add esp, 8
test esi, esi
jne 0x448e0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x448e0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c1884
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x448d1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c174b
xor eax, eax
jmp 0x448e4f
mov byte [esi], 0
push 0x4ffbf8
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.004c174b
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