joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a45f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x44], 0
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [ebp + 8]
and dword [ebp - 0x48], 0
stosb byte es:[edi], al
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x24], 0
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x1f
lea eax, [ebp - 0x24]
push eax
push 0xe
mov ebx, 0x400
push ebx
call edi
cmp byte [ebp - 0x24], 0
jne 0x41a4bb
mov byte [ebp - 0x24], 0x2e
push 0x1f
lea eax, [ebp - 0x44]
push eax
push 0xf
push ebx
call edi
cmp byte [ebp - 0x44], 0
jne 0x41a4d0
mov byte [ebp - 0x44], 0x2c
test esi, esi
je 0x41a61f
cmp byte [esi], 0
je 0x41a61f
mov edi, dword [ebp + 0xc]
and edi, 1
je 0x41a50f
movsx eax, byte [ebp - 0x24]
push eax
push esi
call fcn.00452d30
pop ecx
pop ecx
test eax, eax
jne 0x41a50f
movsx eax, byte [ebp - 0x44]
push eax
push esi
call fcn.00452d30
pop ecx
pop ecx
test eax, eax
je 0x41a61f
test edi, edi
je 0x41a58b
xor edi, edi
cmp byte [esi], 0
je 0x41a58b
mov cl, byte [esi + edi]
cmp cl, byte [ebp - 0x44]
jne 0x41a567
test edi, edi
jle 0x41a567
mov al, byte [esi + edi - 1]
cmp al, 0x30
jl 0x41a567
cmp al, 0x39
jg 0x41a567
lea ebx, [esi + edi + 1]
mov al, byte [ebx]
cmp al, 0x30
jl 0x41a567
cmp al, 0x39
jg 0x41a567
mov al, byte [esi + edi + 3]
cmp al, 0x30
jl 0x41a567
cmp al, 0x39
jg 0x41a567
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [esi + edi]
push ebx
push eax
call fcn.00452ea0
add esp, 0xc
inc dword [ebp - 0x48]
jmp 0x41a585
cmp cl, byte [ebp - 0x24]
jne 0x41a584
mov al, byte [esi + edi + 1]
cmp al, 0x30
jl 0x41a578
cmp al, 0x39
jle 0x41a580
test al, al
je 0x41a580
cmp al, 0x29
jne 0x41a584
mov byte [esi + edi], 0x2e
inc edi
cmp byte [esi + edi], 0
jne 0x41a51a
test byte [ebp + 0xc], 2
je 0x41a5b1
xor eax, eax
cmp byte [esi], al
je 0x41a5b1
mov cl, byte [ebp - 0x24]
cmp cl, 0x2e
je 0x41a5b1
cmp byte [esi + eax], 0x2e
je 0x41a5ae
inc eax
cmp byte [esi + eax], 0
jne 0x41a59a
jmp 0x41a5b1
mov byte [esi + eax], cl
test byte [ebp + 0xc], 4
je 0x41a61a
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x41a5cb
sub eax, esi
jmp 0x41a5d2
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax - 1]
xor eax, eax
test edi, edi
jle 0x41a61a
lea ebx, [esi + edi]
cmp byte [ebx], 0
je 0x41a61a
inc eax
cmp eax, 3
jl 0x41a614
mov al, byte [ebp - 0x44]
cmp byte [esi + edi - 1], al
je 0x41a610
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [esi + edi + 1]
push ebx
push eax
call fcn.00452ea0
mov al, byte [ebp - 0x44]
add esp, 0xc
mov byte [ebx], al
jmp 0x41a612
dec edi
dec ebx
xor eax, eax
dec edi
dec ebx
test edi, edi
jg 0x41a5de
mov eax, dword [ebp - 0x48]
jmp 0x41a621
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452dee
leave
ret
Function at 0x41a911
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x404], 0
push 0x3fc
lea eax, [ebp - 0x400]
push 0
push eax
call fcn.00452e00
add esp, 0xc
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x41a955
shr eax, 1
xor eax, 0xedb88320
jmp 0x41a957
shr eax, 1
dec edx
jne 0x41a948
mov dword [ebp + ecx*4 - 0x404], eax
inc ecx
cmp ecx, 0x100
jb 0x41a943
xor ecx, ecx
or eax, 0xffffffff
cmp dword [ebp + 0xc], ecx
jbe 0x41a995
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor edx, eax
and edx, 0xff
mov edx, dword [ebp + edx*4 - 0x404]
shr eax, 8
inc ecx
xor eax, edx
cmp ecx, dword [ebp + 0xc]
jb 0x41a974
mov ecx, dword [ebp - 4]
xor ecx, ebp
not eax
call fcn.00452dee
leave
ret
Function at 0x42465b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], 4
cmp eax, esi
jne 0x424679
mov eax, reloc.ODBC32.dll_SQLAllocConnect
lea ecx, [ebp - 4]
push ecx
push 1
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4246af
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
push dword [ebp + 0x10]
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]
jmp 0x4246b1
xor eax, eax
pop esi
leave
ret

Function at 0x4246b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
xor eax, eax
push esi
mov esi, dword [ebp + 0x14]
inc eax
mov dword [ebp - 8], 0xff
mov dword [ebp - 0xc], eax
test esi, esi
je 0x424721
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x4246df
mov ecx, reloc.ODBC32.dll_SQLAllocConnect
lea edx, [ebp - 4]
push edx
push eax
push 0
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424721
mov byte [esi], al
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
jmp 0x424723
xor eax, eax
pop esi
leave
ret

Function at 0x424726
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
call esi
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x42474e
mov eax, reloc.ODBC32.dll_SQLAllocConnect
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push ebx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, 0x464a50
test eax, eax
je 0x42479b
push dword [ebp + 0xc]
call esi
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x424780
mov eax, reloc.ODBC32.dll_SQLAllocConnect
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push 0x2001f
push ebx
push edi
push ebx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push dword [ebp + 0x14]
call esi
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x14], ebx
je 0x4247ac
mov edi, dword [ebp + 0x14]
push eax
push edi
push 2
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42989e
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x29c]
sub esp, 0x31c
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp + 0x298], eax
mov eax, dword [ebp + 0x2a4]
push ebx
push esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2ac]
push edi
mov edi, dword [ebp + 0x2a8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x2b4]
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x195]
push ebx
push eax
mov byte [ebp + 0x194], bl
call fcn.00452e00
push esi
lea eax, [ebp - 0x73]
push ebx
push eax
mov byte [ebp - 0x74], bl
call fcn.00452e00
add esp, 0x18
cmp dword [ebp - 0x80], 7
ja 0x429a8e
mov eax, dword [ebp - 0x7c]
imul edi, edi, 0x3d5
add edi, dword [ebp - 0x80]
lea eax, [eax*4 + 0x481990]
mov dword [ebp - 0x7c], eax
mov eax, dword [eax]
lea edi, [edi*4 + 0xf2c]
cmp dword [edi + eax], ebx
je 0x429a8e
cmp dword [ebp + 0x2b0], 1
jne 0x429a7c
push esi
lea eax, [ebp + 0x91]
push ebx
push eax
mov byte [ebp + 0x90], bl
call fcn.00452e00
add esp, 0xc
lea eax, [ebp + 0x90]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax + 0x8f], 0x5c
je 0x429996
push 0x4648e0
lea eax, [ebp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x194]
push eax
push ebx
push 0x469c44
lea eax, [ebp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 2
push str..TMP
lea eax, [ebp + 0x194]
push eax
call fcn.0044937b
push 0xc
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call fcn.00411eca
push 0x466d0c
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [ebp - 0x78], ebx
je 0x429a16
lea eax, [ebp + 0x194]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp + 0x194]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [ebp - 0x7c]
mov eax, dword [esi]
push ebx
push ebx
push ebx
push dword [ebp - 0x78]
push dword [eax + edi]
lea eax, [ebp + 0x194]
push eax
call fcn.004142ac
cmp byte [0x4840a0], 2
jb 0x429a8e
cmp eax, ebx
mov eax, str.Extracted
jne 0x429a5d
mov eax, str.FAILURE_extracting
push dword [ebp - 0x78]
mov ecx, dword [esi]
push dword [ecx + edi]
lea ecx, [ebp + 0x194]
push ecx
push eax
push str._____s_embedded_package_file_from__s___d_______s
call fcn.0042604a
add esp, 0x14
jmp 0x429a8e
cmp dword [ebp + 0x2b0], 2
jne 0x429a8e
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 0x298]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452dee
add ebp, 0x29c
leave
ret 0x14
Function at 0x4417da
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov bl, byte [ebp + 8]
push esi
push edi
xor esi, esi
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
rep stosd dword es:[edi], eax
mov dword [ebp - 4], esi
test bl, bl
je 0x44189a
movzx eax, bl
push esi
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0x1c
mov edi, eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00452e00
xor esi, esi
movzx eax, bl
inc esi
add esp, 0xc
mov dword [ebp - 0x20], esi
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], di
cmp bl, 0x21
jb 0x441837
cmp bl, 0x2e
jbe 0x441851
cmp bl, 0x11
je 0x441851
cmp bl, 0x5b
je 0x441851
cmp bl, 0x5c
je 0x441851
cmp bl, 0x5d
je 0x441851
and dword [ebp - 0x18], 0
jmp 0x441854
mov dword [ebp - 0x18], esi
push 0x4693d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x441897
push str.SendInput
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x441890
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call edi
or dword [ebp - 0x18], 2
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call edi
mov dword [ebp - 4], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x446fed
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x446ffb
mov byte [eax], 0
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x44707b
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44707b
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x140
push ebx
call esi
xor eax, eax
mov edi, 0x147
cmp dword [ebp + 0xc], eax
je 0x447065
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
cmp ecx, dword [ebp - 4]
jne 0x447056
push 0xff
push 0xd
push ebx
call esi
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x447065
push eax
push 0
push 0
jmp 0x447058
push eax
push eax
push edi
push ebx
call esi
push eax
push 0x148
push ebx
call esi
xor eax, eax
push eax
push eax
push eax
push edi
push ebx
call esi
push eax
push 0x150
push ebx
call esi
pop edi
pop esi
jmp 0x44707d
xor eax, eax
pop ebx
leave
ret 8

Function at 0x4470f1
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
push edi
xor eax, eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
call esi
cmp dword [0x485718], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x44714b
call ebx
mov edi, eax
sub edi, dword [0x485718]
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
cmp edi, eax
jae 0x44714b
mov eax, dword [0x485720]
cmp eax, dword [ebp - 8]
jne 0x44714b
mov eax, dword [0x485724]
cmp eax, dword [ebp - 4]
jne 0x44714b
xor eax, eax
inc eax
jmp 0x44715b
call ebx
push 0x485720
mov dword [0x485718], eax
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4485ca
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xa4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xb0]
xor ebx, ebx
mov esi, 0x103
push esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x6b]
push ebx
push eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x6c], bl
call fcn.00452e00
mov eax, dword [ebp - 0x7c]
add esp, 0xc
cmp eax, ebx
je 0x4486f5
mov byte [eax], bl
cmp edi, ebx
jne 0x448637
mov edi, reloc.ODBC32.dll_SQLAllocConnect
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
push dword [ebp - 0x70]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4486f5
xor edi, edi
mov dword [ebp - 0x70], ebx
cmp dword [ebp + 0xac], ebx
jl 0x4486a7
cmp dword [ebp - 0x70], ebx
jne 0x4486a7
cmp dword [ebp + 0xb4], 1
mov dword [ebp - 0x80], esi
jne 0x448682
push esi
lea eax, [ebp - 0x6c]
push eax
push edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x44869b
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
push ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
inc edi
mov dword [ebp - 0x70], eax
cmp edi, dword [ebp + 0xac]
jle 0x448660
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x70], ebx
jne 0x4486f5
dec edi
cmp edi, dword [ebp + 0xac]
jne 0x4486f5
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x6c]
push eax
call edi
inc eax
cmp eax, esi
jle 0x4486d3
mov eax, esi
jmp 0x4486da
lea eax, [ebp - 0x6c]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
jb 0x4486f7
mov eax, dword [ebp - 0x78]
jmp 0x4486f7
xor eax, eax
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452dee
add ebp, 0x9c
leave
ret 0x14
Function at 0x448711
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp + 0x98], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xa4]
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x6b]
push ebx
push eax
mov byte [ebp - 0x6c], bl
call fcn.00452e00
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push edi
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, esi
je 0x4487b0
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4487ac
push dword [ebp - 0x70]
call fcn.00448711
push dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
je 0x4487ac
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x44874d
xor eax, eax
jmp 0x4487b3
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452dee
add ebp, 0x9c
leave
ret 4
Function at 0x4487fc
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x7c]
push 0x90
xor esi, esi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00452e00
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ebx, ebx
cmp dword [ebp - 0x14], 2
jne 0x448892
mov eax, dword [ebp - 0x20]
cmp eax, 6
ja 0x44888e
jne 0x448863
cmp dword [ebp - 0x1c], 1
ja 0x44888e
jne 0x44885a
push 0xa
jmp 0x4488a4
cmp dword [ebp - 0x1c], esi
jne 0x4488af
push 9
jmp 0x4488a4
cmp eax, 5
jne 0x448885
cmp dword [ebp - 0x1c], 2
jne 0x448872
push 8
jmp 0x4488a4
cmp dword [ebp - 0x1c], 1
jne 0x44887c
push 7
jmp 0x4488a4
cmp dword [ebp - 0x1c], esi
jne 0x4488af
push 6
jmp 0x4488a4
cmp eax, 4
ja 0x4488af
push 5
jmp 0x4488a4
push 0xb
jmp 0x4488a4
cmp dword [ebp - 0x1c], 0x5a
jne 0x44889c
push 4
jmp 0x4488a4
cmp dword [ebp - 0x1c], 0xa
jne 0x4488a7
push 3
pop ebx
jmp 0x4488af
cmp dword [ebp - 0x1c], esi
jne 0x4488af
xor ebx, ebx
inc ebx
cmp edi, esi
je 0x44892f
lea eax, [ebx - 1]
cmp eax, 9
ja case.default.0x4488bb
jmp dword [eax*4 + 0x448948]
push str.Windows_7
jmp 0x44890d
push str.Windows_Vista
jmp 0x44890d
push str.Windows_2003_Server
jmp 0x44890d
push str.Windows_XP
jmp 0x44890d
push str.Windows_2000
jmp 0x44890d
push str.Windows_NT_4
jmp 0x44890d
push str.Windows_NT
jmp 0x44890d
push str.Windows_ME
jmp 0x44890d
push str.Windows_98
jmp 0x44890d
push str.Windows_95
jmp 0x44890d
push str.Unknown_Operating_System
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp - 0x10], 0
je 0x44892f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.__r_n
push edi
call esi
lea eax, [ebp - 0x10]
push eax
push edi
call esi
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00452dee
add ebp, 0x74
leave
ret 4
Function at 0x448970
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push 0x3c
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 0x44], ebx
call fcn.00452e00
add esp, 0xc
push 0x46f380
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4489de
push str.GlobalMemoryStatusEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4489d7
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], 0x40
call eax
test eax, eax
jne 0x4489d7
push 0x40
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00452e00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x44], ebx
jne 0x448a0c
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
jmp 0x448a12
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + 0xc], 1
jne 0x448a52
mov edx, dword [ebp + 8]
dec edx
je 0x448a4a
dec edx
je 0x448a40
dec edx
je 0x448a33
dec edx
jne 0x448aef
mov eax, dword [ebp - 0x40]
jmp 0x448af1
mov edx, dword [ebp - 0x38]
sub eax, ecx
sbb edx, dword [ebp - 0x30]
jmp 0x448af3
mov edx, dword [ebp - 0x30]
mov eax, ecx
jmp 0x448af3
mov edx, dword [ebp - 0x38]
jmp 0x448af3
cmp dword [ebp + 0xc], 2
jne 0x448aa6
mov eax, dword [ebp + 8]
dec eax
je 0x448a9e
dec eax
je 0x448a96
dec eax
je 0x448a88
dec eax
jne 0x448aef
push ebx
push 0x64
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.00455210
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push edx
push eax
call fcn.00456370
jmp 0x448af3
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x20]
jmp 0x448af3
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
jmp 0x448af3
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
jmp 0x448af3
cmp dword [ebp + 0xc], 3
jne 0x448aef
mov eax, dword [ebp + 8]
dec eax
je 0x448ae7
dec eax
je 0x448adf
dec eax
je 0x448ad1
dec eax
jne 0x448aef
push ebx
push 0x64
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00455210
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
jmp 0x448a7f
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x10]
jmp 0x448af3
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
jmp 0x448af3
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
jmp 0x448af3
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00452dee
leave
ret 8
Function at 0x448b03
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x448b91
push esi
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x448b53
cmp dword [ebp - 0x18], esi
je 0x448b4f
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x448b90
mov eax, dword [ebp - 0x20]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push esi
push 0x10
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]
cmp dword [ebp - 0x18], esi
je 0x448b8d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452dee
leave
ret

Function at 0x448b9d
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x448bd5
fldz
leave
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 8]
push eax
call esi
mov eax, dword [ebp - 0x18]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
adc dword [ebp - 4], eax
rdtsc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x10]
push eax
call esi
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jb 0x448bf6
ja 0x448c0e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jb 0x448bf6
rdtsc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
fild qword [ebp - 0x20]
fild qword [ebp - 0x28]
pop esi
fsubp st(1)
fdiv qword [0x46f3a8]
fstp dword [ebp - 4]
fld dword [ebp - 4]
leave
ret