joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a1e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a2b8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x494c98], 0
jne 0x45a29c
lea eax, [ebp - 4]
mov edx, 0x45a2d0
call fcn.00475ad0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00475e7c
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45a29c
mov eax, ebx
call fcn.0047491c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45a295
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x45a27f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45a2e0
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x45a27f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x494c98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a29c
mov eax, dword [ebp - 0xc]
call fcn.00474934
ret
mov ebx, dword [0x494c98]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a2bf
lea eax, [ebp - 4]
call fcn.00475a38
ret

Function at 0x462190
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x494cbc], 0
jne 0x4621b3
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x462114
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x494cbc], eax
ret

Function at 0x462ae0
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x462b34
mov eax, dword [0x49471c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x462b0c
push ebx
push 0x462b3c
call fcn.00439800
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.USER32.DLL_OpenClipboard
test eax, eax
jne 0x462b30
mov ecx, dword [0x494844]
mov dl, 1
mov eax, dword [0x46ea68]
call fcn.00470ce4
call fcn.00475700
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x462b5c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00462ae0
push 1
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x462bce
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x462ba2
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00475bf0
jmp 0x462ba9
mov eax, ebx
call fcn.00475a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462bd5
cmp dword [ebp - 8], 0
je 0x462bc5
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00462ab4
ret
Function at 0x462bdc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00462ae0
xor edx, edx
push ebp
push 0x462c7e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x462c51
mov edx, ebx
mov eax, dword [0x42e79c]
call fcn.004325e8
test al, al
je 0x462c41
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.004324f8
call fcn.004757a0
jmp 0x462c85
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x462c0c
mov ecx, dword [0x494848]
mov dl, 1
mov eax, dword [0x46ea68]
call fcn.00470ce4
call fcn.00475700
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462c85
mov eax, dword [ebp - 4]
call fcn.00462ab4
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x462c8c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00462ae0
xor eax, eax
push ebp
push 0x462ce4
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462ceb
mov eax, dword [ebp - 4]
call fcn.00462ab4
ret

Function at 0x462cf4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00462ae0
xor edx, edx
push ebp
push 0x462d49
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462d50
mov eax, dword [ebp - 4]
call fcn.00462ab4
ret

Function at 0x462dc0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00462ae0
xor eax, eax
push ebp
push 0x462e35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00462a98
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004325bc
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x462e1f
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462e3c
mov eax, dword [ebp - 4]
call fcn.00462ab4
ret
Function at 0x462e44
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00462ae0
xor eax, eax
push ebp
push 0x462eb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00462a98
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x462ea3
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462ec0
mov eax, dword [ebp - 4]
call fcn.00462ab4
ret

Function at 0x470494
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4704cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00475b20
jmp 0x4704d6
mov eax, ebx
mov edx, esi
call fcn.00475a8c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4704e0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x470501
mov al, byte [esp]
jmp 0x470503
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x474e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x491118]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x474ed8
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x474eb8
xor eax, eax
push ebp
push 0x474eb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x474ef4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474eb8
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x491118]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x491118], ax
mov esp, ebp
pop ebp
ret
Function at 0x477168
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x477324
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x4771c9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x477340
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x47723b
xor eax, eax
push ebp
push 0x477234
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00476fc0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x47721d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x477360
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47723b
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x47731c
cmp byte [ebp - 0xd], 0
jne 0x47727d
cmp byte [ebp - 0x12], 0
je 0x47731c
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x477296
dec ebx
cmp byte [ebx], 0x2e
je 0x4772a5
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x477295
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x47731c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4772d2
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x47731c
cmp byte [ebp - 0xd], 0
je 0x47731c
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x47731c
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477710
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x4777f8
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x495330], 1
jae 0x4777ea
xor eax, eax
mov dword [0x494f3c], eax
xor eax, eax
mov dword [0x494f44], eax
xor eax, eax
mov dword [0x494f48], eax
mov byte [0x494f4e], 2
mov byte [0x494f4f], 2
mov byte [0x494f50], 3
mov word [0x4952f8], 0
mov word [0x495308], 1
mov word [0x495318], 0xa
mov dword [0x495320], 0x80020004
mov dword [0x4952ec], 0x4766d8
mov dword [0x4952f0], 0x4766d0
mov dword [0x4952f4], 0x4766d8
call fcn.00474e10
test al, al
je 0x4777a9
call fcn.00474e40
call fcn.00474f04
mov eax, 0x494f54
mov edx, 0x477804
call fcn.0047265a
mov eax, 0x495120
mov edx, 0x477804
call fcn.0047265a
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x494f34], eax
call fcn.004735d8
mov dword [0x494f30], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x494f28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4777ff
ret

Function at 0x47d1c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x47d226
call fcn.0047d174
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004782cc
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004782cc
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47d2a4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x492d74], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x47d37e
cmp dword [0x492d70], 0
jne 0x47d37e
cmp dword [0x492f54], 0
je 0x47d338
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0047d074
add esp, 8
mov ebx, eax
test eax, eax
jne 0x47d31e
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0047d074
add esp, 8
mov ebx, eax
test eax, eax
jne 0x47d31e
lea ebx, [ebp - 0x84]
jmp 0x47d31f
inc ebx
call fcn.0047d260
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x47d3b9
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x492d78
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004782cc
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x492d7b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x47d3b9
cmp dword [0x492d70], 0
je 0x47d398
cmp dword [0x492d70], 0xffffffff
je 0x47d3b9
push esi
call dword [0x492d70]
pop ecx
mov eax, dword [0x492d74]
test eax, eax
je 0x47d3b9
cmp dword [0x492d74], 0xffffffff
je 0x47d3b9
cmp byte [eax], 0
je 0x47d3b9
push esi
push eax
call fcn.0047d1c4
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47db50
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x495c34], 0
jne 0x47dbd1
cmp dword [0x495c54], 0
jne 0x47db80
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x495c54], eax
test eax, eax
jne 0x47db80
push str.GetEnvironmentStrings_failed
call fcn.0047d3d0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x495c54]
jmp 0x47db94
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004782cc
pop ecx
mov edi, eax
test eax, eax
jne 0x47db8c
lea edi, [ebp + 1]
push edi
call fcn.00477d2c
pop ecx
mov ebx, eax
mov dword [0x495c38], ebx
test ebx, ebx
jne 0x47dbbe
xor eax, eax
jmp 0x47dc94
push edi
mov edx, dword [0x495c54]
push edx
push ebx
call fcn.0047817c
add esp, 0xc
jmp 0x47dbf1
xor esi, esi
mov ebx, dword [0x495c34]
jmp 0x47dbeb
push eax
call fcn.004782cc
pop ecx
test eax, eax
jne 0x47dbe7
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x47dbdb
lea ebx, [esi + 4]
push 4
mov dword [0x495c3c], ebx
inc ebx
push ebx
call fcn.00477808
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x47dc14
xor eax, eax
jmp 0x47dc94
cmp dword [0x495c34], 0
jne 0x47dc45
xor esi, esi
mov ebx, dword [0x495c38]
mov eax, dword [esp]
mov ebp, eax
jmp 0x47dc36
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004782cc
pop ecx
mov edi, eax
test eax, eax
jne 0x47dc2c
jmp 0x47dc76
xor esi, esi
mov ebx, dword [0x495c34]
mov eax, dword [esp]
mov edi, eax
jmp 0x47dc70
push eax
call fcn.004782cc
pop ecx
test eax, eax
je 0x47dc65
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x47dc69
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x47dc54
mov eax, dword [0x495c34]
test eax, eax
je 0x47dc86
push eax
call fcn.00477d3c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x495c34], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x7255d0
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x725f8c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x727110
sub eax, eax
test esi, esi
je 0x726064
sub eax, 1
test ecx, ecx
je 0x726062
test esi, 3
je 0x725fca
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x725faf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x726049
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x725fd4
mov ecx, edx
test ecx, ecx
je 0x726062
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x72604f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x72606c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.007260ef
jae 0x72607a
xor ecx, ecx
call fcn.007260ef
jae 0x7260a9
xor eax, eax
call fcn.007260ef
jae 0x7260b9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.007260ef
adc al, al
jae 0x72609b
jne 0x7260e5
stosb byte es:[edi], al
jmp 0x72607d
call fcn.007260fb
sub ecx, ebx
jne 0x7260c2
call fcn.007260f9
jmp 0x7260e1
lodsb al, byte [esi]
shr eax, 1
je 0x72610b
adc ecx, ecx
jmp 0x7260de
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.007260f9
cmp eax, 0x7d00
jae 0x7260de
cmp ah, 5
jae 0x7260df
cmp eax, 0x7f
ja 0x7260e0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x72607d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x7269fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x728000]
jne 0x726a06
repz ret
jmp fcn.00726cad
Function at 0x401440
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9b4
mov eax, dword [0x463610]
xor eax, esp
mov dword [esp + 0x9b0], eax
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x90]
push eax
push esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x98], 0x128
xor ebx, ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4014a3
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9b0]
xor ecx, esp
call fcn.0043197e
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x4014b0
mov cl, byte [esp + eax + 0xb4]
mov byte [esp + eax + 0x1b8], cl
add eax, 1
test cl, cl
jne 0x4014b0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x1b8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4014f0
test dl, dl
je 0x4014ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4014f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4014d0
xor eax, eax
jmp 0x4014f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4014fe
mov ebx, 1
lea ecx, [esp + 0x90]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x401594
mov eax, ebx
shl eax, 6
lea edx, [esp + 0xb4]
lea edi, [esp + eax + 0x1b8]
sub eax, edx
lea esi, [esp + eax + 0x1b8]
lea eax, [esp + 0xb4]
mov cl, byte [eax]
mov byte [esi + eax], cl
add eax, 1
test cl, cl
jne 0x401537
mov ecx, dword [ebp + 8]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401568
test dl, dl
je 0x401564
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401568
add eax, 2
add ecx, 2
test dl, dl
jne 0x401548
xor eax, eax
jmp 0x40156d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40157a
add ebx, 1
add edi, 0x40
add esi, 0x40
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x90]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401530
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x9bc]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0043197e
mov esp, ebp
pop ebp
ret
Function at 0x405450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405469
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4054a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4054a0
lea ebx, [ebx]
cmp esi, eax
jae 0x4054a4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x405490
cmp esi, eax
jb 0x4054aa
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret