joyce8/EMBER2024-capa huggingface dataset:
Function at 0x502025
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d74
xor eax, eax
push ebp
push 0x5020ed
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004be404
mov ebx, eax
mov dword [ebp - 0x138], 0x128
lea edx, [ebp - 0x138]
mov eax, ebx
call fcn.004be424
jmp 0x5020b7
lea eax, [ebp - 0x24c]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404b34
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x248]
call fcn.00409fb4
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.004091e0
mov eax, dword [ebp - 0x244]
push eax
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 4]
call fcn.004091e0
mov edx, dword [ebp - 0x250]
pop eax
call fcn.00404cd0
je 0x50201e
lea eax, [ebp - 0x258]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404b34
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x254]
call fcn.004091e0
mov eax, dword [ebp - 0x254]
push eax
lea edx, [ebp - 0x25c]
mov eax, dword [ebp - 4]
call fcn.004091e0
mov edx, dword [ebp - 0x25c]
pop eax
call fcn.00404cd0
jne 0x5020aa
mov eax, dword [ebp - 0x130]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x502081
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
call fcn.004fc22c
test eax, eax
je 0x502081
lea eax, [ebp - 0x23d]
mov edx, 0x105
call fcn.00407df4
push 0x105
lea ecx, [ebp - 0x23d]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004fc25c
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x23d]
call fcn.0040a2e8
mov edx, dword [ebp - 0x10]
mov eax, 0x502104
call fcn.00437ec8
test al, al
je 0x5020aa
push 0
mov eax, dword [ebp - 0x130]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
lea edx, [ebp - 0x138]
mov eax, ebx
call fcn.004be444
test eax, eax
jne 0x501f75
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5020f4
lea eax, [ebp - 0x25c]
mov edx, 7
call fcn.004048e8
lea eax, [ebp - 0x10]
call fcn.004048c4
lea eax, [ebp - 4]
call fcn.004048c4
ret
Function at 0x50280c
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50293a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x502905
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x81
lea eax, [ebp - 0x85]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
push 0
lea eax, [ebp - 0x8c]
lea edx, [ebp - 0x85]
mov ecx, 0x81
call fcn.00404b34
lea eax, [ebp - 0x8c]
mov edx, 0x502950
call fcn.00404b8c
mov eax, dword [ebp - 0x8c]
call fcn.00404d84
push eax
call sub.kernel32.dll_WinExec
push 0x502970
lea eax, [ebp - 0x90]
push eax
mov ecx, 0x50298c
mov edx, 0x5029a0
mov eax, 3
call fcn.004fd614
push 0
lea eax, [ebp - 0x94]
lea edx, [ebp - 0x85]
mov ecx, 0x81
call fcn.00404b34
lea eax, [ebp - 0x94]
mov edx, 0x5029c4
call fcn.00404b8c
mov eax, dword [ebp - 0x94]
call fcn.00404d84
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
mov edx, 0x5029e4
call fcn.00404918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50291c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502941
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.004048e8
ret
Function at 0x5039d0
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x5039d9
mov eax, dword [ebp - 4]
add esp, 0xfffff960
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x46a4], edx
mov dword [ebp - 0x469c], edx
mov dword [ebp - 0x46a0], edx
mov dword [ebp - 0x4694], edx
mov dword [ebp - 0x4698], edx
mov dword [ebp - 0x468c], edx
mov dword [ebp - 0x4690], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x503a28
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x503bf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [0x510f44], eax
cmp dword [0x510f44], 0
jne 0x503a5f
mov byte [ebp - 5], 0
jmp 0x503bd2
xor edx, edx
push ebp
push 0x503bcb
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4674
lea eax, [ebp - 0x4688]
push eax
push 3
push 0x30
mov eax, dword [0x510f44]
push eax
call sub.advapi32.dll_EnumServicesStatusA
mov esi, dword [ebp - 0x10]
dec esi
test esi, esi
jb 0x503bb2
inc esi
lea ebx, [ebp - 0x4688]
mov eax, dword [ebp - 4]
push dword [eax]
lea eax, [ebp - 0x468c]
push eax
lea eax, [ebp - 0x4690]
mov edx, dword [ebx]
call fcn.00404abc
mov eax, dword [ebp - 0x4690]
xor ecx, ecx
mov edx, 0x503c08
call fcn.005036ec
push dword [ebp - 0x468c]
push 0x503c1c
mov eax, dword [ebp - 4]
mov edx, 3
call fcn.00404c44
mov eax, dword [ebp - 4]
push dword [eax]
lea eax, [ebp - 0x4694]
push eax
lea eax, [ebp - 0x4698]
mov edx, dword [ebx]
call fcn.00404abc
mov eax, dword [ebp - 0x4698]
xor ecx, ecx
mov edx, 0x503c28
call fcn.005036ec
push dword [ebp - 0x4694]
push 0x503c1c
mov eax, dword [ebp - 4]
mov edx, 3
call fcn.00404c44
mov eax, dword [ebp - 4]
push dword [eax]
lea eax, [ebp - 0x469c]
push eax
lea eax, [ebp - 0x46a0]
mov edx, dword [ebx]
call fcn.00404abc
mov eax, dword [ebp - 0x46a0]
mov ecx, 1
mov edx, 0x503c3c
call fcn.005036ec
push dword [ebp - 0x469c]
push 0x503c1c
mov eax, dword [ebp - 4]
mov edx, 3
call fcn.00404c44
mov eax, dword [ebp - 4]
push dword [eax]
lea edx, [ebp - 0x46a4]
mov eax, dword [ebx + 0xc]
call fcn.00503884
push dword [ebp - 0x46a4]
push 0x503c1c
push 0x503c4c
mov eax, dword [ebp - 4]
mov edx, 4
call fcn.00404c44
add ebx, 0x24
dec esi
jne 0x503aac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503bd2
mov eax, dword [0x510f44]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503bf7
lea eax, [ebp - 0x46a4]
mov edx, 7
call fcn.004048e8
ret
Function at 0x503d64
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x503e12
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [0x510f44], eax
cmp dword [0x510f44], 0
je 0x503dfc
xor eax, eax
push ebp
push 0x503df5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00503c50
mov eax, dword [ebp - 0xc]
call fcn.00404d84
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [0x510f48]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503dfc
mov eax, dword [0x510f44]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503e19
lea eax, [ebp - 0xc]
call fcn.004048c4
ret

Function at 0x503e24
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x503ec5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [0x510f44], eax
cmp dword [0x510f44], 0
je 0x503eaf
xor edx, edx
push ebp
push 0x503ea8
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00503c50
lea eax, [ebp - 0x20]
push eax
push 1
mov eax, dword [0x510f48]
push eax
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503eaf
mov eax, dword [0x510f44]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503ecc
lea eax, [ebp - 0x24]
call fcn.004048c4
ret
Function at 0x50428c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], eax
xor eax, eax
push ebp
push 0x504424
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x94]
mov edx, 0x94
call fcn.00407df4
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
xor ebx, ebx
cmp dword [ebp - 0x84], 2
jne 0x50434f
mov byte [0x510f50], 1
mov eax, dword [ebp - 0x90]
sub eax, 3
je 0x50430c
dec eax
je 0x504310
dec eax
je 0x504314
dec eax
je 0x504318
jmp 0x50431a
mov bl, 5
jmp 0x50431a
mov bl, 6
jmp 0x50431a
mov bl, 7
jmp 0x50431a
mov bl, 0xb
cmp dword [ebp - 0x90], 5
jne 0x50432e
cmp dword [ebp - 0x8c], 1
jne 0x50432e
mov bl, 9
cmp dword [ebp - 0x90], 5
jne 0x504406
cmp dword [ebp - 0x8c], 2
jne 0x504406
mov bl, 0xa
jmp 0x504406
mov byte [0x510f50], 0
cmp dword [ebp - 0x90], 4
jne 0x5043a4
cmp dword [ebp - 0x8c], 0
jne 0x5043a4
mov bl, 1
lea eax, [ebp - 0x9c]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.00404b34
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.00409450
mov eax, dword [ebp - 0x98]
mov edx, 0x50443c
call fcn.00404cd0
jne 0x504406
mov bl, 2
jmp 0x504406
cmp dword [ebp - 0x90], 4
jne 0x5043f2
cmp dword [ebp - 0x8c], 0xa
jne 0x5043f2
mov bl, 3
lea eax, [ebp - 0xa4]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.00404b34
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.00409450
mov eax, dword [ebp - 0xa0]
mov edx, 0x504448
call fcn.00404cd0
jne 0x504406
mov bl, 4
jmp 0x504406
cmp dword [ebp - 0x90], 4
jne 0x504406
cmp dword [ebp - 0x8c], 0x5a
jne 0x504406
mov bl, 8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50442b
lea eax, [ebp - 0xa4]
mov edx, 4
call fcn.004048e8
ret
Function at 0x5045f4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x504612
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x504732
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.0050444c
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 0x50474c
call fcn.00404bd0
cmp byte [0x510f50], 0
jne 0x504648
xor ebx, ebx
jmp 0x50470a
mov dword [ebp - 0x10], 0x400
mov eax, dword [ebp - 0x10]
call fcn.00402830
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404d84
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5046f8
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x10], 0x400
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov ebx, eax
test ebx, ebx
jne 0x5046f3
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00404f10
lea eax, [ebp - 8]
call fcn.00404ddc
mov edx, eax
mov eax, esi
mov ecx, dword [ebp - 0x10]
call fcn.00402a2c
push dword [ebp - 0xc]
push 0x504770
push dword [ebp - 8]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404c44
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00504774
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00404b8c
mov eax, dword [ebp - 4]
inc edi
test ebx, ebx
je 0x50467f
mov eax, esi
call fcn.00402850
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504739
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004048e8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004048e8
ret
Function at 0x504774
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d74
xor eax, eax
push ebp
push 0x504886
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004048c4
mov dword [ebp - 0x10], 0x400
mov eax, dword [ebp - 0x10]
call fcn.00402830
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404d84
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x504850
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x10], 0x400
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov ebx, eax
test ebx, ebx
jne 0x50484b
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404f10
lea eax, [ebp - 0xc]
call fcn.00404ddc
mov edx, eax
mov eax, esi
mov ecx, dword [ebp - 0x10]
call fcn.00402a2c
mov eax, dword [ebp - 8]
push dword [eax]
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00504054
push dword [ebp - 0x18]
push 0x50489c
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.00404c44
inc edi
test ebx, ebx
je 0x5047e0
mov eax, esi
call fcn.00402850
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50488d
lea eax, [ebp - 0x18]
call fcn.004048c4
lea eax, [ebp - 0xc]
call fcn.004048c4
lea eax, [ebp - 4]
call fcn.004048c4
ret
Function at 0x504e48
Capabilities:
Link many functions at runtime

Disassembly:
add esp, 0xffffff6c
cmp dword [0x510f6c], 0
jne 0x504f7a
mov eax, esp
xor ecx, ecx
mov edx, 0x94
call fcn.004031e0
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
jne 0x504e81
xor eax, eax
jmp 0x504f84
cmp dword [esp + 0x10], 2
jne 0x504f7a
push 0x504f8c
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [0x510f6c], eax
cmp dword [0x510f6c], 0
je 0x504f7a
push 0x504f98
mov eax, dword [0x510f6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x510f70], eax
push 0x504fa8
mov eax, dword [0x510f6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x510f74], eax
push 0x504fc4
mov eax, dword [0x510f6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x510f78], eax
push 0x504fd4
mov eax, dword [0x510f6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x510f7c], eax
push 0x504fe8
mov eax, dword [0x510f6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x510f80], eax
push 0x505000
mov eax, dword [0x510f6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x510f84], eax
push 0x505018
mov eax, dword [0x510f6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x510f88], eax
push 0x505030
mov eax, dword [0x510f6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x510f8c], eax
push 0x505050
mov eax, dword [0x510f6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x510f90], eax
push 0x505064
mov eax, dword [0x510f6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x510f94], eax
cmp dword [0x510f6c], 0
setne al
add esp, 0x94
ret
Function at 0x5063a0
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5064f7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push 0x506508
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5064d4
mov dword [ebp - 0x18], 0x400
mov eax, dword [ebp - 0x18]
call fcn.00402830
mov esi, eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], 0x400
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov ebx, eax
test ebx, ebx
jne 0x5064bc
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.00404f10
lea eax, [ebp - 0x10]
call fcn.00404ddc
mov edx, eax
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.00402a2c
cmp byte [ebp - 5], 0
je 0x506483
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, 0x506544
call fcn.00404bd0
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00506888
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00404b8c
mov eax, dword [ebp - 0xc]
jmp 0x5064bb
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov edx, 0x506544
call fcn.00404bd0
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00506588
push dword [ebp - 0x24]
push 0x506584
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00404c44
inc edi
test ebx, ebx
je 0x506408
mov eax, esi
call fcn.00402850
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5064fe
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004048e8
lea eax, [ebp - 0x10]
call fcn.004048c4
ret
Function at 0x506f48
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x42c], eax
xor eax, eax
push ebp
push 0x507154
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x507164
call sub.user32.dll_FindWindowA
push 0
push 0x507174
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x507184
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x507190
push 0
push eax
call sub.user32.dll_FindWindowExA
mov edi, eax
test edi, edi
je 0x50713b
lea eax, [ebp - 8]
push eax
push edi
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 8]
push eax
push 0
push 0x38
call sub.kernel32.dll_OpenProcess
mov esi, eax
push 4
push 0x3000
push 0x1000
push 0
push esi
call sub.kernel32.dll_VirtualAllocEx
mov ebx, eax
push 0
push 0
push 0x418
push edi
call sub.user32.dll_SendMessageA
dec eax
test eax, eax
jl 0x5070b9
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x14
call fcn.004031e0
lea eax, [ebp - 0xc]
push eax
push 0x14
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call sub.kernel32.dll_WriteProcessMemory
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x417
push edi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0xc]
push eax
push 0x14
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call sub.kernel32.dll_ReadProcessMemory
cmp dword [ebp - 0x14], 0xffffffff
je 0x5070ad
mov eax, ebx
add eax, 0x14
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0x42d
push edi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0xc]
push eax
push 0x401
lea eax, [ebp - 0x425]
push eax
mov eax, ebx
add eax, 0x14
push eax
push esi
call sub.kernel32.dll_ReadProcessMemory
lea edx, [ebp - 0x42c]
lea eax, [ebp - 0x425]
call fcn.0040a2e8
mov edx, dword [ebp - 0x42c]
mov eax, 0x5071a8
call fcn.00404ec8
test eax, eax
jle 0x5070ad
push 1
mov eax, dword [ebp - 0x20]
push eax
push 0x404
push edi
call sub.user32.dll_SendMessageA
inc dword [ebp - 4]
dec dword [ebp - 0x10]
jne 0x506fff
push 0x8000
push 0
push ebx
push esi
call sub.kernel32.dll_VirtualFreeEx
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, 0x58
call fcn.00402830
mov ebx, eax
mov dword [ebx], 0x58
mov eax, dword [0x510fa8]
call fcn.00456b44
mov dword [ebx + 4], eax
mov eax, dword [0x510fa8]
mov eax, dword [eax + 0x240]
call fcn.00432560
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 8], eax
lea edi, [ebx + 0x18]
mov esi, 0x5071ac
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0xc], 7
push ebx
push 0
call sub.shell32.dll_Shell_NotifyIconA
push ebx
push 2
call sub.shell32.dll_Shell_NotifyIconA
mov edx, 0x58
mov eax, ebx
call fcn.00402850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50715b
lea eax, [ebp - 0x42c]
call fcn.004048c4
ret
Function at 0x45df40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x43000]
push edi
or ebp, 0xffffffff
jmp 0x45df62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45df69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45df58
mov eax, 1
add ebx, ebx
jne 0x45df7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45df8c
jne 0x45dfab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45dfab
dec eax
add ebx, ebx
jne 0x45df98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45df70
add ebx, ebx
jne 0x45dfa7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45dffd
xor ecx, ecx
sub eax, 3
jb 0x45dfc3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45e032
sar eax, 1
mov ebp, eax
jmp 0x45dfce
add ebx, ebx
jne 0x45dfce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45df9c
inc ecx
add ebx, ebx
jne 0x45dfdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45df9c
add ebx, ebx
jne 0x45dfe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45dfde
jne 0x45dffa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45dfde
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45e01c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45e00e
jmp 0x45df5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45e01c
add edi, ecx
jmp 0x45df5e
pop esi
mov edi, esi
mov ecx, 0x131e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45e03a
cmp byte [edi], 5
jne 0x45e03a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45e03f
lea edi, [esi + 0x59000]
mov eax, dword [edi]
or eax, eax
je 0x45e0b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6fa98]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6fb9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45e06c
mov ecx, edi
jns 0x45e09b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6fba0]
or eax, eax
je 0x45e0b1
mov dword [ebx], eax
add ebx, 4
jmp 0x45e089
call dword [esi + 0x6fbb0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x45e0e8
cmp al, 0xef
ja 0x45e0db
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x45e0bd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x45e0ca
mov ebp, dword [esi + 0x6fba4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45e11c
sub esp, 0xffffff80
jmp 0x414b01