joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494c1a
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x24], 8
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push 0x2001f
push eax
push ecx
lea ecx, [ebp - 0xc]
call fcn.004139e0
mov esi, eax
test esi, esi
jne 0x494c66
cmp dword [ebp + 0x54], 8
lea eax, [ebp + 0x40]
cmovae eax, dword [ebp + 0x40]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
lea ecx, [ebp - 0xc]
mov dword [0x526894], esi
call fcn.00413a90
lea ecx, [ebp + 0xc]
call fcn.00404be0
lea ecx, [ebp + 0x3c]
call fcn.00404be0
test esi, esi
pop esi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x494cdf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x4d267b
call fcn.0049cba1
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0x3c]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
cmp dword [ebp + 0x24], 8
lea ecx, [ebp + 0x10]
mov eax, dword [ebp + 0x40]
cmovae ecx, dword [ebp + 0x10]
or eax, 0x20019
push eax
push ecx
push edx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004139e0
mov esi, eax
test esi, esi
jne 0x494dbc
push 0
lea eax, [ebp - 0x41]
mov dword [ebp - 0x40], 0x4e1680
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4e1670
call fcn.00404a50
mov eax, 0x105
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x64]
push eax
call fcn.00409430
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.00403ed0
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push dword [eax]
push edi
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
call fcn.00409a50
cmp dword [ebp - 0x48], 0
jne 0x494da5
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0040c270
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00404be0
inc edi
cmp dword [ebp - 0x48], 0
je 0x494d2b
lea ecx, [ebp - 0x58]
mov dword [0x526894], esi
call fcn.00413a90
lea ecx, [ebp + 0xc]
call fcn.00404be0
test esi, esi
sete al
call fcn.0049cb4b
ret

Function at 0x494ddd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5210b0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x494e0f
xor al, al
jmp 0x494e28
cmp dword [ebp - 0x108], 2
jne 0x494e26
cmp dword [ebp - 0x114], 5
jb 0x494e26
xor eax, eax
inc eax
jmp 0x494e28
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049c22a
mov esp, ebp
pop ebp
ret
Function at 0x4956af
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push 0x44
mov eax, 0x4d27eb
call fcn.0049cb6d
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x50], 0x3c
inc eax
lea ecx, [ebp - 0x50]
push eax
mov dword [ebp - 0x10], eax
call fcn.00495c13
xor esi, esi
lea ecx, [ebp - 0x50]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.004963b4
test eax, eax
je 0x4956f7
lea eax, [ebp - 0x50]
push eax
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov eax, dword [ebp - 0x44]
mov ecx, 0x800000
push 2
pop edx
sub eax, 1
je 0x49575a
sub eax, 1
je 0x495757
sub eax, 1
je 0x49574e
sub eax, 1
je 0x495740
mov eax, 0x2ee6
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 8
lea eax, [ebp - 0x14]
push eax
push 0x64
push dword [ebp + 0x1c]
push dword [ebp + 8]
call fcn.004958e3
jmp 0x495876
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x10], 3
or edi, ecx
jmp 0x49575d
mov dword [ebp - 0x10], 3
jmp 0x49575a
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 0x18]
test ecx, edi
jne 0x49577e
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
jmp 0x495876
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
je 0x4957a3
push dword [ebp - 0x40]
push dword [ebx + 0x98]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4957a3
mov ecx, ebx
call fcn.00411310
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
jne 0x4957f7
push eax
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x40]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049c24e
pop ecx
push dword [ebp - 0x40]
mov dword [ebx + 0x98], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x18]
inc ecx
add eax, ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049c24e
pop ecx
push dword [ebp - 0x24]
mov dword [ebp + 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x18], esi
je 0x495839
push dword [ebp - 0x1c]
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [ebp + 0x1c]
mov eax, dword [ebx + 0x94]
mov ebx, dword [ebp + 0x18]
push edi
push esi
push esi
push esi
push ebx
push 0x4d6d78
push dword [eax + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov edi, eax
call fcn.0049c23b
pop ecx
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x495876
mov esi, edi
lea ecx, [ebp - 0x50]
call fcn.00495a93
mov eax, esi
call fcn.0049cb36
ret 0x18
Function at 0x495e71
Capabilities:
Create http request
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x5210b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x83c], eax
call fcn.00411590
cmp eax, 1
jne 0x495f69
and dword [ebp - 0x82c], 0
lea eax, [ebp - 0x82c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x495f5e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x834]
mov dword [ebp - 0x830], 4
push eax
push 0
push 0
push str.ProxyEnable
push dword [ebp - 0x82c]
call esi
mov ecx, dword [ebp - 0x834]
xor edx, edx
test eax, eax
mov dword [ebp - 0x830], 0x824
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x828]
cmovne ecx, edx
push eax
push edx
push edx
push str.AutoConfigURL
push dword [ebp - 0x82c]
mov dword [ebp - 0x834], ecx
call esi
movzx ecx, byte [ebp - 0x828]
xor edx, edx
mov esi, dword [ebp - 0x838]
test eax, eax
cmovne ecx, edx
mov byte [ebp - 0x828], cl
lea ecx, [ebp - 0x82c]
call fcn.00436580
push dword [ebp - 0x83c]
push dword [ebp - 0x840]
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 4]
test eax, eax
mov dword [edi + 4], eax
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.0049c22a
mov esp, ebp
pop ebp
ret 0x14
Function at 0x495fdb
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x49601b
test byte [ebp - 4], 0x41
je 0x49601b
push edi
push dword [ebx + 0x78]
call dword [sym.imp.WININET.dll_InternetAutodial]
test eax, eax
jne 0x49601b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 8], eax
xor al, al
jmp 0x496101
mov eax, dword [ebx + 0x44]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x496048
push eax
cmp dword [ebx + 0x40], edi
je 0x496037
push str.Range:_bytes_d__r_n
jmp 0x49603c
push str.Range:_bytes_d_
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [ebx + 0x40], edi
je 0x496059
push dword [ebx + 0x40]
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
cmp dword [ebx + 4], edi
jne 0x4960be
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push dword [ebx + 0x50]
jmp 0x49608d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4960b2
mov eax, dword [ebx + 0x50]
test eax, 0x100
je 0x4960b2
and eax, 0xfffffeff
push ebx
mov dword [ebx + 0x50], eax
push eax
push dword [ebx + 0x44]
mov esi, dword [ebx + 0x30]
mov edi, dword [ebx]
call fcn.004a54d3
pop ecx
push eax
push dword [ebx + 0x44]
mov ecx, ebx
push dword [ebx + 0x3c]
push esi
call dword [edi + 0x2c]
test eax, eax
je 0x49606e
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x4960ef
mov eax, dword [ebx]
lea ecx, [ebx + 0xc]
push 0
push ecx
mov ecx, ebx
jmp 0x4960f6
cmp byte [ebp + 8], 0
je 0x4960fe
lea esi, [ebx + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push dword [ebx + 0x44]
call fcn.004a54d3
pop ecx
push eax
push dword [ebx + 0x44]
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
mov ecx, ebx
mov eax, dword [ebx]
je 0x4960f4
call dword [eax + 0x28]
jmp 0x496100
push edi
push esi
push dword [ebx + 0x28]
call dword [eax + 8]
jmp 0x496100
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4961af
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
and dword [edi + 0x24], 0
and dword [ebx], 0
cmp dword [ebp + 0xc], 0
jbe 0x49636b
cmp dword [edi + 0x5c], 0x2710
jbe 0x4961e9
cmp dword [edi + 0x54], 0
je 0x4961e9
mov ecx, edi
call fcn.004964ec
imul eax, eax, 0xf
jmp 0x4961ee
mov eax, 0x5dc
xor esi, esi
inc esi
test eax, eax
cmovne esi, eax
cmp byte [edi + 0x90], 0
je 0x49620b
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x496218
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 4]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebx]
cmp eax, esi
cmovb esi, eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
add eax, dword [ebx]
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x496261
mov eax, dword [edi]
lea ecx, [edi + 0xc]
push 0
push ecx
push dword [edi + 0x28]
mov ecx, edi
call dword [eax + 8]
test al, al
je 0x496376
cmp byte [edi + 0x90], 0
je 0x49627c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
jmp 0x49628c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x49636b
mov ecx, dword [ebp + 0x10]
add dword [ecx], eax
add dword [edi + 0x4c], eax
add dword [edi + 0x54], eax
add dword [edi + 0x60], eax
sub esi, dword [ebp - 0x20]
mov eax, esi
sbb ebx, dword [ebp - 0x1c]
or eax, ebx
jne 0x4962b6
push 5
pop esi
xor ebx, ebx
push 0
push 0x3e8
push ebx
push esi
call fcn.0049cde0
mov ecx, dword [edi + 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x88]
mov dword [ebp - 0xc], edx
cmp edx, ecx
jl 0x49630d
mov edx, dword [ebp - 8]
jg 0x4962e3
cmp edx, eax
jb 0x49630d
push ebx
push ecx
push eax
push dword [ebp - 0xc]
push edx
call fcn.0049cd00
mov esi, ebx
pop ebx
add dword [edi + 0x5c], eax
add dword [edi + 0x68], eax
push 0
push 0x3e8
push esi
push ecx
mov dword [ebp - 0xc], edx
call fcn.0049cc50
mov esi, eax
mov ebx, edx
push 0
push 0xf4240
push ebx
push esi
call fcn.0049cde0
push dword [edi + 0x8c]
push dword [edi + 0x88]
push edx
push eax
call fcn.0049cc50
add dword [edi + 0x58], eax
mov ecx, 0x3e8
add dword [edi + 0x64], eax
cmp dword [edi + 0x58], ecx
jbe 0x49634b
mov eax, dword [edi + 0x58]
xor edx, edx
div ecx
add dword [edi + 0x5c], eax
mov dword [edi + 0x58], edx
cmp dword [edi + 0x64], ecx
jbe 0x49635d
mov eax, dword [edi + 0x64]
xor edx, edx
div ecx
add dword [edi + 0x68], eax
mov dword [edi + 0x64], edx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
cmp dword [ebx], eax
jb 0x4961ce
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
jmp 0x49636d
Function at 0x4963b4
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
call fcn.00495c13
push esi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edi, eax
test edi, edi
je 0x49647d
inc dword [esi + 8]
xor ecx, ecx
mov eax, dword [esi + 8]
push ebx
push 2
pop ebx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049c24e
inc dword [esi + 0x14]
xor ecx, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x14]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049c24e
inc dword [esi + 0x20]
xor ecx, ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049c24e
inc dword [esi + 0x28]
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x28]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049c24e
inc dword [esi + 0x30]
xor ecx, ecx
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x30]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049c24e
inc dword [esi + 0x38]
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x38]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049c24e
add esp, 0x18
mov dword [esi + 0x34], eax
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x496485
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], 4
call fcn.00495f9b
movzx edi, al
test al, al
je 0x4964bc
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [esi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test edi, edi
jne 0x4964ce
or dword [ebp - 4], 0xffffffff
jmp 0x4964d4
mov eax, dword [esi + 0x48]
add dword [ebp - 4], eax
mov ecx, esi
call fcn.00495a34
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4964ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov esi, ecx
call ebx
sub eax, dword [esi + 0x6c]
xor edi, edi
cmp eax, 0x7530
jbe 0x496529
mov eax, dword [esi + 0x60]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x58], eax
mov dword [esi + 0x64], edi
call ebx
mov dword [esi + 0x6c], eax
mov ecx, dword [esi + 0x5c]
test ecx, ecx
jne 0x496535
mov eax, dword [esi + 0x54]
jmp 0x496581
push 0xa
pop ebx
mov dword [ebp - 4], edi
test edi, edi
jne 0x49657f
or eax, 0xffffffff
mov edi, dword [esi + 0x54]
xor edx, edx
div ebx
cmp edi, eax
jbe 0x496557
shr edi, 1
shr ecx, 1
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], ecx
mov eax, dword [esi + 0x54]
xor edx, edx
mov ecx, dword [esi + 0x5c]
imul eax, ebx
div ecx
xor edx, edx
imul eax, eax, 0x3e8
div ebx
imul ebx, ebx, 0xa
mov edi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 3
jb 0x49653b
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x499d30
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5210b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x10]
mov word [ebp - 8], 0x500
push eax
xor ebx, ebx
push ebx
push 8
mov dword [ebp - 0xc], ebx
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 0x499da6
call esi
cmp eax, 0x3f0
jne 0x499d89
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 0x499d9f
push 1
push dword [ebp - 0x10]
call fcn.00499e8e
pop ecx
pop ecx
jmp 0x499e7e
test eax, eax
jne 0x499da6
push ebx
jmp 0x499d90
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x499dcc
push ebx
push dword [ebp - 0x10]
call fcn.00499e8e
jmp 0x499e7b
call esi
cmp eax, 0x7a
jne 0x499dbe
push dword [ebp - 0x14]
call fcn.0049c576
pop ecx
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push esi
push 2
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x499df4
push ebx
jmp 0x499e65
cmp byte [ebp + 8], bl
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
mov eax, 0x223
push ebx
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 0x499df1
mov edi, ebx
mov byte [ebp - 0x18], bl
cmp dword [esi], ebx
jbe 0x499e59
lea ebx, [esi + 4]
push dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x499e44
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x499e2b
jmp 0x499e59
cmp byte [ebp + 0xc], 0
je 0x499e55
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0x18], 0
jne 0x499e59
mov byte [ebp - 0x18], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.00499e8e
pop ecx
pop ecx
push 0xc
push esi
mov bl, al
call fcn.0049c240
mov al, bl
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049c22a
mov esp, ebp
pop ebp
ret

Function at 0x49a138
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 0x49a903
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 8]
mov ebx, ecx
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
test eax, eax
jne 0x49a926
xor al, al
jmp 0x49a9c0
push eax
call fcn.0049c24e
pop ecx
push eax
push dword [ebp - 4]
mov dword [ebx + 0x40], eax
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x49a91f
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4e09e8
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49a91f
push esi
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 4]
push edi
push 0xd
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea edi, [ebx + 4]
push str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
pop edi
pop esi
test eax, eax
je 0x49a9be
mov eax, dword [ebp - 4]
xor ecx, ecx
shr eax, 2
push 4
pop edx
mov dword [ebx + 0x3c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049c24e
xor edx, edx
mov dword [ebx + 0x38], eax
pop ecx
cmp dword [ebx + 0x3c], edx
jbe 0x49a9be
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov eax, dword [eax + edx*4]
mov dword [ecx + edx*4], eax
inc edx
cmp edx, dword [ebx + 0x3c]
jb 0x49a9ac
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x3df37b54
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x3eab3c20
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219