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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x496360
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004054e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040d228
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496367
lea eax, [ebp - 0xc]
call fcn.00405264
ret

Function at 0x49640c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x496468
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x496437
call fcn.00413214
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.004031cc
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x496468
call fcn.00413214
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x498990
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x498b10
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403a38
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x55e3c8], eax
mov eax, dword [ebp - 0xc]
mov dword [0x55e3cc], eax
mov eax, dword [ebp - 0x24]
mov dword [0x55e3d0], eax
mov eax, dword [0x564a04]
cmp dword [eax], 2
sete byte [0x55dfa8]
push 0x498b1c
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00498dec
cmp byte [0x55dfa8], 0
jne 0x498a1c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00498e1c
test al, al
je 0x498a1c
mov eax, dword [ebp - 0x4c]
mov dword [0x569368], eax
jmp 0x498a23
xor eax, eax
mov dword [0x569368], eax
call fcn.00498828
and eax, 0x7f
cmp eax, 0xc
ja case.0x498a34.0
jmp dword [eax*4 + 0x498a3b]
mov byte [0x55df94], 1
jmp case.0x498a34.0
mov byte [0x55df98], 1
jmp case.0x498a34.0
mov byte [0x55df9c], 1
jmp case.0x498a34.0
mov byte [0x55dfa0], 1
jmp case.0x498a34.0
mov byte [0x55dfa4], 1
jmp case.0x498a34.0
mov byte [0x55dfac], 1
mov byte [0x55dfb0], 1
jmp case.0x498a34.0
mov byte [0x55dfac], 1
mov byte [0x55dfb4], 1
jmp case.0x498a34.0
mov byte [0x55dfac], 1
mov byte [0x55dfb4], 1
mov byte [0x55dfb8], 1
jmp case.0x498a34.0
mov byte [0x55dfbc], 1
jmp case.0x498a34.0
mov byte [0x55dfc0], 1
jmp case.0x498a34.0
mov byte [0x55dfc4], 1
jmp case.0x498a34.0
mov byte [0x55dfc8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498b17
lea eax, [ebp - 4]
call fcn.00405264
ret
Function at 0x498e1c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x498ec3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405734
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x498ead
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004058c0
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405734
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x498ead
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x498ed4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x498ead
cmp dword [ebp - 8], 0x34
jne 0x498ead
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498eca
lea eax, [ebp - 0x10]
call fcn.00405264
ret

Function at 0x499b8c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
setae al
add esp, 0x94
ret

Function at 0x499be8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [esp + 0x105]
push eax
push 0
push 0x499c2c
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
lea eax, [esp + 0x105]
call fcn.0040db40
add esp, 0x20c
pop ebx
ret
Function at 0x499cda
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov eax, dword [0x564a04]
cmp dword [eax], 2
je 0x499c49
mov byte [esp], 1
jmp 0x499d1e
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x499c87
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x499c87
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x499d1e
mov eax, 0x400
call fcn.00402ecc
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x499d17
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x55e3e8
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x499d0d
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x499d09
mov byte [esp], 1
jmp 0x499d0d
inc edi
dec ebx
jne 0x499cf0
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402efc
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x49a2e8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffcf0
mov ebx, eax
mov eax, ebx
call fcn.004059bc
mov eax, dword [0x5641d8]
cmp byte [eax], 0
je 0x49a32d
push 0x104
lea eax, [esp + 0x10a]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
test eax, eax
jbe 0x49a34e
mov eax, ebx
lea edx, [esp + 0x106]
mov ecx, 0x105
call fcn.00405b78
jmp 0x49a34e
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
jbe 0x49a34e
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00405b60
add esp, 0x310
pop ebx
ret

Function at 0x49a358
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffcf0
mov ebx, eax
mov eax, ebx
call fcn.004059bc
mov eax, dword [0x5641d8]
cmp byte [eax], 0
je 0x49a39d
push 0x104
lea eax, [esp + 0x10a]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
test eax, eax
jbe 0x49a3be
mov eax, ebx
lea edx, [esp + 0x106]
mov ecx, 0x105
call fcn.00405b78
jmp 0x49a3be
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jbe 0x49a3be
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00405b60
add esp, 0x310
pop ebx
ret
Function at 0x49a3c8
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004059bc
push esp
push esi
mov eax, dword [0x5646b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x49a411
lea edx, [esp + 4]
mov eax, dword [esp]
call fcn.00489d04
test eax, eax
je 0x49a411
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405b78
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x49a41c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff7f8
push ebx
xor ecx, ecx
mov dword [ebp - 0x1808], ecx
mov ebx, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405fd0
xor eax, eax
push ebp
push 0x49a4f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004059bc
mov eax, dword [0x5641d8]
cmp byte [eax], 0
je 0x49a493
push 0x800
lea eax, [ebp - 0x1804]
push eax
mov eax, dword [ebp - 4]
call fcn.00405c10
push eax
call sub.kernel32.dll_GetEnvironmentVariableW
test eax, eax
jbe 0x49a4d4
mov eax, ebx
lea edx, [ebp - 0x1804]
mov ecx, 0x800
call fcn.00405b78
jmp 0x49a4d4
push 0x800
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1808]
mov edx, dword [ebp - 4]
call fcn.004054fc
mov eax, dword [ebp - 0x1808]
call fcn.00405734
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
test eax, eax
jbe 0x49a4d4
mov eax, ebx
lea edx, [ebp - 0x804]
mov ecx, 0x800
call fcn.00405b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a4fc
lea eax, [ebp - 0x1808]
call fcn.00405264
lea eax, [ebp - 4]
call fcn.004059bc
ret
Function at 0x4a2cfc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5698d4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4a2d1e
shr eax, 1
xor eax, 0xedb88320
jmp 0x4a2d20
shr eax, 1
dec edx
jne 0x4a2d0c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4a2d05
mov byte [0x569cd4], 1
pop esi
pop ebx
ret

Function at 0x4a2d3c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x569cd4], 0
jne 0x4a2d53
call fcn.004a2cfc
mov eax, edi
dec eax
test eax, eax
jl 0x4a2d7c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5698d4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4a2d5d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4a5bf8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4a5c29
dec al
je 0x4a5c65
dec al
je 0x4a5ca9
dec al
je 0x4a5d14
jmp 0x4a5d9e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4a5d9e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a5c39
jmp 0x4a5d9e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a5d9e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a5c75
jmp 0x4a5d9e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a5d9e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4a5cd7
xor ebp, ebp
jmp 0x4a5ce8
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4a5cf1
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a5cb9
jmp 0x4a5d9e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a5d9e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4a5d6c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004a2d84
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a5d28
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ac790
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4ac7be
mov eax, ebx
call fcn.004ad244
cmp dword [ebx + 0x40], 0
je 0x4ac7b7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4ac82f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4ac821
cmp dword [ebx + 8], 0
je 0x4ac7e0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4ac7f2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4ac821
cmp dword [ebx + 8], 0
je 0x4ac7d3
cmp eax, 3
je 0x4ac805
dec eax
jne 0x4ac7d3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4ac7d3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4ac7d3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4ac84d
cmp dword [ebx + 0x14], 0xcc
je 0x4ac84d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004ac858
pop ebx
ret
Function at 0x4ca4b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x42c808]
call fcn.004330dc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ca68b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x4ca66a
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004345e8
mov eax, dword [ebp - 8]
call fcn.004336ac
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.0042dfc8
cmp byte [ebp + 8], 0
je 0x4ca552
xor edx, edx
mov eax, ebx
call fcn.004c9440
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004c9440
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.004c9370
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4ca58e
xor edx, edx
mov eax, ebx
call fcn.004c9440
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.004c9370
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004c9440
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041fac8
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.004336ac
pop edx
call fcn.0042e674
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.004c9370
dec eax
test eax, eax
jl 0x4ca642
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004c9314
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.004c946c
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
xor edx, edx
mov dl, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.004c946c
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
mov dl, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.0041faa0
mov eax, dword [ebp - 8]
call fcn.004336ac
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x4ca5d8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c9314
cmp byte [ebp + 0xc], 0
je 0x4ca66a
movzx eax, word [ebx + 0x58]
mov edx, 0x10
call fcn.004359f0
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004c8b04
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca692
mov eax, dword [ebp - 8]
call fcn.004043f8
ret
Function at 0x4e16d0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x238], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24a], 0
jne 0x4e1725
mov eax, dword [ebp - 4]
cmp byte [eax + 0x23a], 1
je 0x4e1725
mov eax, dword [ebp - 4]
cmp byte [eax + 0x23a], 2
jne 0x4e1715
mov eax, dword [ebp - 4]
call fcn.004e0fd8
test al, al
jne 0x4e1725
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24c], 0x64
jge 0x4e1897
mov eax, dword [ebp - 4]
call fcn.00461bb0
push eax
call sub.user32.dll_HideCaret
xor eax, eax
push ebp
push 0x4e1890
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00461bb0
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e187b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4e1854
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045add8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0045ad94
inc eax
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e1836
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov ebx, eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0045fbb4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x249], 0
je 0x4e17da
mov eax, dword [ebp - 4]
call fcn.004e14f4
push 0xcc0020
push 1
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0045add8
push eax
mov eax, dword [ebp - 4]
call fcn.0045ad94
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x20c]
mov esi, dword [eax*4 + 0x56294c]
push esi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e183d
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x238], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e8f70
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4e90f2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004e9364
mov eax, ebx
call fcn.0042daf4
dec al
je 0x4e8fb4
dec al
je 0x4e8fba
jmp 0x4e8fc0
mov byte [ebp - 0x77], 2
jmp 0x4e8fc4
mov byte [ebp - 0x77], 1
jmp 0x4e8fc4
mov byte [ebp - 0x77], 0
mov eax, dword [ebp - 0x8c]
or eax, 0x80000000
or eax, 1
or eax, 2
or eax, 4
or eax, 8
or eax, 0x20000000
or eax, 0x40000000
mov dword [ebp - 0x8c], eax
mov eax, ebx
call fcn.0042da80
shl eax, 2
lea eax, [eax + eax*4]
mov dword [ebp - 0x84], eax
mov edi, dword [ebx + 0x18]
cmp edi, 0xff000008
je 0x4e9011
cmp edi, 0x20000000
jne 0x4e901d
mov dword [ebp - 0x88], 0x40000000
jmp 0x4e9027
mov eax, edi
call fcn.0042d318
mov dword [ebp - 0x7c], eax
mov eax, ebx
call fcn.0042dabc
test al, 1
je 0x4e9039
or dword [ebp - 0x88], 1
mov eax, ebx
call fcn.0042dabc
test al, 2
je 0x4e904b
or dword [ebp - 0x88], 2
mov eax, ebx
call fcn.0042dabc
test al, 4
je 0x4e905d
or dword [ebp - 0x88], 4
mov eax, ebx
call fcn.0042dabc
test al, 8
je 0x4e906f
or dword [ebp - 0x88], 8
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.0042da0c
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x76]
mov ecx, 0x20
call fcn.0040d9fc
or dword [ebp - 0x8c], 0x8000000
mov eax, ebx
call fcn.0042db24
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x3c]
push eax
push 0x3c
mov eax, ebx
call fcn.0042d810
push eax
call sub.gdi32.dll_GetObjectA
test eax, eax
je 0x4e90cc
or dword [ebp - 0x8c], 0x400000
mov ax, word [ebp - 0x2c]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004e9390
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e90f9
lea eax, [ebp - 0x94]
call fcn.00405264
ret
Function at 0x4ea098
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, 0x5629d4
xor eax, eax
push ebp
push 0x4ea21e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x58a46c], 1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ea201
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4ea22c
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
jbe 0x4ea0f3
cmp dword [ebx], 0x20
jae 0x4ea0f3
xor eax, eax
mov dword [ebx], eax
cmp dword [ebx], 0
jne 0x4ea11f
push 0x4ea23c
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
jbe 0x4ea1ea
cmp dword [ebx], 0x20
jae 0x4ea1ea
xor eax, eax
mov dword [ebx], eax
jmp 0x4ea1ea
mov byte [0x58a46c], 2
lea eax, [ebp - 8]
mov edx, 0x4ea254
call fcn.004052fc
lea eax, [ebp - 8]
call fcn.00405784
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405734
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4ea1ea
mov eax, ebx
call fcn.00402ecc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4ea1e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405734
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4ea1cd
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4ea264
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ea1cd
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
and eax, 0xffff
mov ecx, 0xa
xor edx, edx
div ecx
mov byte [0x58a46c], al
cmp byte [0x58a46c], 0
jne 0x4ea1cd
mov byte [0x58a46c], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea1ea
mov eax, dword [ebp - 0x10]
call fcn.00402efc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea208
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret