joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424cea
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x24c
mov eax, 0x466f4a
call fcn.004414e8
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x258], ebx
call fcn.004400d0
add esp, 0xc
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 4], ebx
mov eax, 0x20019
test esi, esi
jns 0x424d42
mov eax, 0x20119
and esi, 0x7fffffff
lea ecx, [ebp - 0x24c]
push ecx
push eax
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424d96
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
mov ecx, str.ProgramFilesDir
cmp esi, 1
push ebx
mov eax, str.CommonFilesDir
cmovne eax, ecx
push eax
push dword [ebp - 0x24c]
mov dword [ebp - 0x254], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
lea eax, [ebp - 0x24d]
push eax
lea eax, [ebp - 0x218]
mov ebx, 0x4745e4
mov esi, 0x46ef78
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x220], esi
call fcn.00406761
push 0x46d690
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00406e3b
push 0
push eax
mov ecx, edi
mov dword [edi], ebx
mov dword [edi + 0x28], esi
call fcn.00406676
lea ecx, [ebp - 0x248]
call fcn.00401500
lea ecx, [ebp - 0x24c]
call fcn.0042cb9d
mov eax, edi
call fcn.00441497
ret

Function at 0x424e08
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x466f7d
call fcn.004414e8
mov esi, dword [ebp + 8]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x250], ebx
call fcn.004400d0
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push ebx
call edi
test eax, eax
jns 0x424e90
lea eax, [ebp - 0x218]
push eax
push 1
push ebx
push dword [ebp + 0xc]
push ebx
call edi
test eax, eax
jns 0x424e90
push ebx
lea eax, [ebp - 0x249]
push eax
push 0x478ed0
mov ecx, esi
mov dword [esi], 0x4745e4
mov dword [esi + 0x28], 0x46ef78
call fcn.00406761
jmp 0x424eef
push 0
lea eax, [ebp - 0x249]
push eax
lea eax, [ebp - 0x218]
mov ebx, 0x4745e4
mov edi, 0x46ef78
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x220], edi
call fcn.00406761
and dword [ebp - 4], 0
push 0x46d690
lea ecx, [ebp - 0x248]
call fcn.00406e3b
push 0
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 0x28], edi
call fcn.00406676
lea ecx, [ebp - 0x248]
call fcn.00401500
mov eax, esi
call fcn.00441497
ret

Function at 0x4257d1
Capabilities:
Set current directory

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x4257ec
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x4257e5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, esi
pop esi
jmp fcn.00401500
Function at 0x428ece
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
push edi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push ebx
mov dword [ebp - 0x44], ecx
mov dword [ecx], edx
mov dword [ebp - 0x4c], edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x428f73
push esi
push edi
call fcn.004429a0
push edi
mov esi, eax
push 0
push esi
call fcn.004400d0
add esp, 0x10
push esi
push edi
xor edi, edi
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x428f6b
push 0x34
lea eax, [ebp - 0x38]
push edi
push eax
mov dword [ebp - 0x3c], eax
call fcn.004400d0
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x46d690
push esi
mov dword [ebp - 0x40], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x428f6b
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x48]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
push esi
call fcn.00442968
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00440060
leave
ret 0xc

Function at 0x429534
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
test esi, esi
je 0x4295ae
push 0
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x408]
cmp ecx, 2
jb 0x429595
movzx eax, byte [ebp - 0x404]
cmp eax, 0xffffffff
jne 0x429595
movzx eax, byte [ebp - 0x403]
cmp eax, 0xfffffffe
jne 0x429595
inc bl
jmp 0x4295ae
xor eax, eax
test ecx, ecx
je 0x4295ae
test bl, bl
jne 0x4295ae
cmp byte [ebp + eax - 0x404], bl
sete bl
inc eax
cmp eax, ecx
jb 0x42959b
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00440060
leave
ret 4
Function at 0x42a6b8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x42a7be
cmp byte [ebp + 0xc], 0
jne 0x42a76c
lea eax, [edi + 1]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x42a7be
and dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push edi
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
je 0x42a7af
call fcn.004409f0
lea edi, [eax + 1]
pop ecx
cmp edi, 0x3fffffff
jle 0x42a73b
xor eax, eax
jmp 0x42a74f
lea eax, [edi + edi]
call fcn.004433c0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00425f2f
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042cabb
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
jmp 0x42a7c0
lea eax, [edi + 3]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x42a7be
and dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push edi
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42a7ae
mov ecx, 0xfeff
mov eax, esi
cmp word [esi], cx
jne 0x42a74f
lea eax, [esi + 2]
jmp 0x42a74f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00440060
leave
ret 0xc

Function at 0x42fbbc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 8], 0
je 0x42fbda
mov ecx, esi
call fcn.0042fa0a
pop esi
pop ebp
ret 4
Function at 0x43051a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
lea edi, [eax + 4]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
je 0x4306a3
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4306a2
cmp dword [0x4896bc], esi
je 0x4306a2
mov eax, dword [0x4896c4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4896bc], esi
test al, 1
jne 0x430588
or eax, 1
mov dword [0x4896c4], eax
call ebx
mov dword [0x4896c0], eax
call ebx
mov ecx, eax
sub ecx, dword [0x4896c0]
cmp byte [0x48754b], 0
mov dword [0x4896c0], eax
jne 0x4305a9
cmp ecx, 0x64
jb 0x4306a1
push 0xa
pop eax
push 0x14
pop ecx
cmp esi, 0x100000
cmovg eax, ecx
imul esi, esi, 0xa
movzx eax, ax
mov cl, al
mov dword [ebp - 0xa0], eax
push 0
lea eax, [ebp - 0x95]
sar esi, cl
push eax
lea ecx, [ebp - 0x34]
mov byte [0x48754b], 0
mov dword [ebp - 0x34], 0x4745e4
mov dword [ebp - 0xc], 0x46ef78
call fcn.004033a0
lea eax, [ebp - 0x64]
push 0x758
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.00409b6c
lea ebx, [eax + 4]
cmp dword [ebx + 0x14], 8
jb 0x430610
mov ebx, dword [ebx]
push 0x14
xor eax, eax
pop ecx
cmp word [ebp - 0xa0], cx
mov ecx, edi
setne al
add eax, 0x652
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [edi]
call dword [eax + 0x2c]
mov ecx, eax
call fcn.00409b6c
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], 8
jb 0x430645
mov ecx, dword [ecx]
push 0xa
mov eax, esi
pop esi
xor edx, edx
div esi
push ebx
push ecx
push edx
push eax
lea eax, [ebp - 0x34]
push str._01d._01d__s_s
push eax
call fcn.0040a4eb
add esp, 0x18
lea ecx, [ebp - 0x94]
call fcn.00401500
lea ecx, [ebp - 0x64]
call fcn.00401500
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x9c]
push 0x134
push dword [eax + 0x26c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [ebp - 0x34]
call fcn.00401500
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00440060
leave
ret 8

Function at 0x430ef6
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x430f11
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x432e40
Capabilities:
Write file on windows

Disassembly:
push 0x88
mov eax, 0x468899
call fcn.004414e8
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor ebx, ebx
push 0
inc ebx
cmp eax, 0xffffffff
lea ecx, [ebp - 0x94]
push ecx
cmove eax, ebx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x432eb8
push eax
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4745e4
mov dword [ebp - 0x18], 0x46ef78
call fcn.00406676
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.00412a4f
push 0x47e36c
lea eax, [ebp - 0x90]
push eax
call fcn.0044006f
mov eax, dword [ebp - 0x94]
call fcn.00441497
ret 8

Function at 0x434a12
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x434a97
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x434a90
mov ecx, dword [edi]
test ecx, ecx
je 0x434a8b
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x434a81
cmp edx, 2
jbe 0x434a73
cmp edx, 7
jne 0x434a81
test cl, 1
jne 0x434a81
shr ecx, 1
cmp ecx, 1
jb 0x434a81
cmp word [esi + ecx*2 - 2], bx
jne 0x434a81
cmp ecx, 1
jbe 0x434a90
cmp word [esi + ecx*2 - 4], bx
jmp 0x434a7f
test cl, 1
jne 0x434a81
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x434a90
xor eax, eax
push 0xd
mov word [esi], ax
pop eax
jmp 0x434a90
xor ecx, ecx
mov word [esi], cx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
push 0x80004005
call fcn.004064cd
int3
Function at 0x436f04
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [eax], ebx
lea eax, [ebp - 0x118]
push eax
mov dword [esi], ebx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 1
jne 0x436f96
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x436f89
cmp eax, 0xa
je 0x436f68
cmp eax, 0x5a
jne 0x436f5b
mov bl, 1
mov dword [esi], 0x80
mov al, bl
jmp 0x43704e
call fcn.00437507
test al, al
mov al, 1
je 0x436f7e
mov dword [esi], 0x80
jmp 0x43704e
mov dword [esi], 0x40
jmp 0x43704e
mov dword [esi], 0x10
mov al, 1
jmp 0x43704e
cmp dword [ebp - 0x108], 2
jne 0x43704c
mov eax, dword [ebp - 0x114]
sub eax, 4
je 0x437041
dec eax
je 0x43700c
dec eax
je 0x436fd3
sub eax, 4
jne 0x436fcb
cmp dword [ebp - 0x110], ebx
jne 0x43704c
mov bl, 1
mov dword [esi], 0x10000000
jmp 0x436f61
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x436fe5
mov dword [esi], 0x1000000
jmp 0x436f8f
cmp eax, 1
jne 0x436ff2
mov dword [esi], 0x2000000
jmp 0x436f8f
cmp eax, 2
jne 0x436fff
mov dword [esi], 0x4000000
jmp 0x436f8f
cmp eax, 3
jne 0x43704c
mov dword [esi], 0x8000000
jmp 0x436f8f
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x437021
mov dword [esi], 0x100000
jmp 0x436f8f
cmp eax, 1
jne 0x437031
mov dword [esi], 0x400000
jmp 0x436f8f
cmp eax, 2
jne 0x43704c
mov dword [esi], 0x800000
jmp 0x436f8f
mov dword [esi], 0x10000
jmp 0x436f8f
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00440060
leave
ret

Function at 0x4379e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x38
mov eax, 0x4685f4
call fcn.004414e8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push dword [eax]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push ecx
and esi, 0xf
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x437a0d
mov al, 1
jmp 0x437a29
xor ecx, ecx
movzx edx, word [eax]
add eax, 2
test dx, dx
je 0x437a21
cmp ecx, esi
je 0x437a2f
lea eax, [eax + edx*2]
inc ecx
cmp ecx, 0x10
jl 0x437a0f
xor al, al
call fcn.00441497
ret
push 1
lea ecx, [ebp - 0x41]
push ecx
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.004069b1
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00406e0f
lea ecx, [ebp - 0x40]
call fcn.00401500
jmp 0x437a09
Function at 0x437da0
Capabilities:
Enumerate process modules

Disassembly:
push 0x4a0
mov eax, 0x469300
call fcn.004414e8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x484]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
call sub.PSAPI.DLL_EnumProcesses
push str.NtQueryInformationProcess
push str.Ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x437ef8
xor edi, edi
cmp dword [ebp - 0x484], edi
jbe 0x437ef8
push dword [ebp + edi*4 - 0x410]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x480], esi
and dword [ebp - 4], 0
test esi, esi
je 0x437edc
push 0x18
lea eax, [ebp - 0x4a4]
push 0
push eax
call fcn.004400d0
add esp, 0xc
lea eax, [ebp - 0x48c]
push eax
push 0x18
lea eax, [ebp - 0x4a4]
push eax
push 0
push esi
call ebx
test eax, eax
js 0x437edc
cmp dword [ebp - 0x494], 0
je 0x437edc
lea ecx, [ebp - 0x444]
call fcn.004348d0
mov eax, dword [ebp - 0x490]
push 0x478ed0
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x444], eax
call fcn.004050d0
mov eax, dword [ebp - 0x494]
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x478]
call fcn.00434835
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x4ac]
push eax
mov byte [ebp - 4], 2
call fcn.0043749d
lea ecx, [ebp - 0x474]
call fcn.00401500
lea ecx, [ebp - 0x440]
call fcn.00401500
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.00403220
inc edi
cmp edi, dword [ebp - 0x484]
jb 0x437dff
call fcn.00441497
ret

Function at 0x437f88
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004374f9
test al, al
je 0x437ff7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x18]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x437ff7
push esi
lea eax, [ebp - 0x20]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x20]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push esi
push esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
pop esi
push 0xffff
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00440060
leave
ret

Function at 0x43b9b4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x43d113
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push ebx
push 8
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43d189
call esi
cmp eax, 0x3f0
jne 0x43d16c
lea eax, [ebp - 0x10]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
jne 0x43d182
push 1
push dword [ebp - 0x10]
call fcn.0043d26d
pop ecx
pop ecx
jmp 0x43d25f
test eax, eax
jne 0x43d189
push ebx
jmp 0x43d173
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x43d1b0
push ebx
push dword [ebp - 0x10]
call fcn.0043d26d
pop ecx
jmp 0x43d25d
call esi
cmp eax, 0x7a
jne 0x43d1a1
push dword [ebp - 0x18]
call fcn.004401ab
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push esi
push 2
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x43d1d8
push ebx
jmp 0x43d249
cmp byte [ebp + 8], bl
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
mov eax, 0x223
push ebx
lea ecx, [eax - 3]
cmovne eax, ecx
push eax
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x43d1d5
mov byte [ebp - 0x14], bl
mov edi, ebx
cmp dword [esi], ebx
jbe 0x43d23d
lea ebx, [esi + 4]
push dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x43d228
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x43d20f
jmp 0x43d23d
cmp byte [ebp + 0xc], 0
je 0x43d239
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0x14], 0
jne 0x43d23d
mov byte [ebp - 0x14], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0043d26d
pop ecx
pop ecx
push esi
mov bl, al
call fcn.0043ffad
mov al, bl
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00440060
leave
ret
Function at 0x440a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00440237
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004401ec
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00440237
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004401ec
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00440237
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004401ec
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00440227
mov ebx, 0x8073471b
movsd dword es:[edi], dword [esi]
int3
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x407ef8
nop
mov ecx, 0x78ca38e3
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0xa437535
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x602370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x60238e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x62b074
push ecx
mov edi, eax
call fcn.00616198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6023cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0061602e
push esi
call fcn.00615fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret