joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499084
Capabilities:
Enumerate process modules

Disassembly:
push 0x4a0
mov eax, 0x4d97f0
call fcn.004a185e
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 0x4991e8
xor edi, edi
cmp dword [ebp - 0x484], edi
jbe 0x4991e8
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 0x4991cc
push 0x18
lea eax, [ebp - 0x4a4]
push 0
push eax
call fcn.004a2ef0
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 0x4991cc
cmp dword [ebp - 0x494], 0
je 0x4991cc
lea ecx, [ebp - 0x444]
call fcn.00495205
mov eax, dword [ebp - 0x490]
lea ecx, [ebp - 0x43c]
push 0x4e2398
mov byte [ebp - 4], 1
mov dword [ebp - 0x444], eax
call fcn.00404140
mov eax, dword [ebp - 0x494]
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x444]
push eax
call fcn.004951cd
push dword [ebp - 0x48c]
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x47c]
push eax
push 0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 2
push eax
call fcn.00494ebd
lea ecx, [ebp - 0x474]
call fcn.00404c20
lea ecx, [ebp - 0x440]
call fcn.00404c20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.00411800
inc edi
cmp edi, dword [ebp - 0x484]
jb 0x4990e3
call fcn.004a1808
ret

Function at 0x49935f
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x52a0b0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00498725
test al, al
je 0x4993ce
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 0x4993ce
push esi
lea eax, [ebp - 0x20]
xor esi, esi
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x20]
push esi
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
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.004a0eca
mov esp, ebp
pop ebp
ret
Function at 0x49994b
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.00413a40
mov esi, eax
test esi, esi
jne 0x499997
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 [0x52f8c4], esi
call fcn.00413af0
lea ecx, [ebp + 0xc]
call fcn.00404c20
lea ecx, [ebp + 0x3c]
call fcn.00404c20
test esi, esi
pop esi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x499a10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x4d994f
call fcn.004a185e
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.00413a40
mov esi, eax
test esi, esi
jne 0x499aed
push 0
lea eax, [ebp - 0x41]
mov dword [ebp - 0x40], 0x4e7a18
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4e86a8
call fcn.00404a90
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.00409470
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.00403f10
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.00409a90
cmp dword [ebp - 0x48], 0
jne 0x499ad6
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0040c2b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00404c20
inc edi
cmp dword [ebp - 0x48], 0
je 0x499a5c
lea ecx, [ebp - 0x58]
mov dword [0x52f8c4], esi
call fcn.00413af0
lea ecx, [ebp + 0xc]
call fcn.00404c20
test esi, esi
sete al
call fcn.004a1808
ret

Function at 0x499b0e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x52a0b0]
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 0x499b40
xor al, al
jmp 0x499b59
cmp dword [ebp - 0x108], 2
jne 0x499b57
cmp dword [ebp - 0x114], 5
jb 0x499b57
xor eax, eax
inc eax
jmp 0x499b59
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0eca
mov esp, ebp
pop ebp
ret
Function at 0x49a3e0
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push 0x44
mov eax, 0x4d9abf
call fcn.004a182a
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.0049a944
xor esi, esi
lea ecx, [ebp - 0x50]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.0049b0e5
test eax, eax
je 0x49a428
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 0x49a48b
sub eax, 1
je 0x49a488
sub eax, 1
je 0x49a47f
sub eax, 1
je 0x49a471
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.0049a614
jmp 0x49a5a7
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x10], 3
or edi, ecx
jmp 0x49a48e
mov dword [ebp - 0x10], 3
jmp 0x49a48b
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 0x18]
test ecx, edi
jne 0x49a4af
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 0x49a5a7
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
je 0x49a4d4
push dword [ebp - 0x40]
push dword [ebx + 0x98]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x49a4d4
mov ecx, ebx
call fcn.00411370
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
jne 0x49a528
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.004a0ee0
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.004a0ee0
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 0x49a56a
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 0x4ddd98
push dword [eax + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov edi, eax
call fcn.004a0edb
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 0x49a5a7
mov esi, edi
lea ecx, [ebp - 0x50]
call fcn.0049a7c4
mov eax, esi
call fcn.004a17f3
ret 0x18
Function at 0x49aba2
Capabilities:
Create http request
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x52a0b0]
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.004115f0
cmp eax, 1
jne 0x49ac9a
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 0x49ac8f
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.00438c50
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.004a0eca
mov esp, ebp
pop ebp
ret 0x14
Function at 0x49ad0c
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 0x49ad4c
test byte [ebp - 4], 0x41
je 0x49ad4c
push edi
push dword [ebx + 0x78]
call dword [sym.imp.WININET.dll_InternetAutodial]
test eax, eax
jne 0x49ad4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 8], eax
xor al, al
jmp 0x49ae32
mov eax, dword [ebx + 0x44]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x49ad79
push eax
cmp dword [ebx + 0x40], edi
je 0x49ad68
push str.Range:_bytes_d__r_n
jmp 0x49ad6d
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 0x49ad8a
push dword [ebx + 0x40]
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
cmp dword [ebx + 4], edi
jne 0x49adef
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push dword [ebx + 0x50]
jmp 0x49adbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x49ade3
mov eax, dword [ebx + 0x50]
test eax, 0x100
je 0x49ade3
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.004aa564
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 0x49ad9f
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x49ae20
mov eax, dword [ebx]
lea ecx, [ebx + 0xc]
push 0
push ecx
mov ecx, ebx
jmp 0x49ae27
cmp byte [ebp + 8], 0
je 0x49ae2f
lea esi, [ebx + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push dword [ebx + 0x44]
call fcn.004aa564
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 0x49ae25
call dword [eax + 0x28]
jmp 0x49ae31
push edi
push esi
push dword [ebx + 0x28]
call dword [eax + 8]
jmp 0x49ae31
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49aee0
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 0x49b09c
cmp dword [edi + 0x5c], 0x2710
jbe 0x49af1a
cmp dword [edi + 0x54], 0
je 0x49af1a
mov ecx, edi
call fcn.0049b21d
imul eax, eax, 0xf
jmp 0x49af1f
mov eax, 0x5dc
xor esi, esi
inc esi
test eax, eax
cmovne esi, eax
cmp byte [edi + 0x90], 0
je 0x49af3c
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x49af49
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 0x49af92
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 0x49b0a7
cmp byte [edi + 0x90], 0
je 0x49afad
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
jmp 0x49afbd
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 0x49b09c
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 0x49afe7
push 5
pop esi
xor ebx, ebx
push 0
push 0x3e8
push ebx
push esi
call fcn.004a1aa0
mov ecx, dword [edi + 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x88]
mov dword [ebp - 0xc], edx
cmp edx, ecx
jl 0x49b03e
mov edx, dword [ebp - 8]
jg 0x49b014
cmp edx, eax
jb 0x49b03e
push ebx
push ecx
push eax
push dword [ebp - 0xc]
push edx
call fcn.004a19c0
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.004a1910
mov esi, eax
mov ebx, edx
push 0
push 0xf4240
push ebx
push esi
call fcn.004a1aa0
push dword [edi + 0x8c]
push dword [edi + 0x88]
push edx
push eax
call fcn.004a1910
add dword [edi + 0x58], eax
mov ecx, 0x3e8
add dword [edi + 0x64], eax
cmp dword [edi + 0x58], ecx
jbe 0x49b07c
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 0x49b08e
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 0x49aeff
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
jmp 0x49b09e
Function at 0x49b0e5
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
call fcn.0049a944
push esi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edi, eax
test edi, edi
je 0x49b1ae
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.004a0ee0
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.004a0ee0
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.004a0ee0
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.004a0ee0
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.004a0ee0
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.004a0ee0
add esp, 0x18
mov dword [esi + 0x34], eax
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x49b1b6
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.0049accc
movzx edi, al
test al, al
je 0x49b1ed
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 0x49b1ff
or dword [ebp - 4], 0xffffffff
jmp 0x49b205
mov eax, dword [esi + 0x48]
add dword [ebp - 4], eax
mov ecx, esi
call fcn.0049a765
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 0x49b21d
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 0x49b25a
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 0x49b266
mov eax, dword [esi + 0x54]
jmp 0x49b2b2
push 0xa
pop ebx
mov dword [ebp - 4], edi
test edi, edi
jne 0x49b2b0
or eax, 0xffffffff
mov edi, dword [esi + 0x54]
xor edx, edx
div ebx
cmp edi, eax
jbe 0x49b288
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 0x49b26c
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49e985
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x52a0b0]
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 0x49e9fb
call esi
cmp eax, 0x3f0
jne 0x49e9de
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 0x49e9f4
push 1
push dword [ebp - 0x10]
call fcn.0049eae3
pop ecx
pop ecx
jmp 0x49ead3
test eax, eax
jne 0x49e9fb
push ebx
jmp 0x49e9e5
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 0x49ea21
push ebx
push dword [ebp - 0x10]
call fcn.0049eae3
jmp 0x49ead0
call esi
cmp eax, 0x7a
jne 0x49ea13
push dword [ebp - 0x14]
call fcn.004a1216
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 0x49ea49
push ebx
jmp 0x49eaba
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 0x49ea46
mov edi, ebx
mov byte [ebp - 0x18], bl
cmp dword [esi], ebx
jbe 0x49eaae
lea ebx, [esi + 4]
push dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x49ea99
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x49ea80
jmp 0x49eaae
cmp byte [ebp + 0xc], 0
je 0x49eaaa
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0x18], 0
jne 0x49eaae
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.0049eae3
pop ecx
pop ecx
push 0xc
push esi
mov bl, al
call fcn.004a15b5
mov al, bl
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0eca
mov esp, ebp
pop ebp
ret

Function at 0x49ed8d
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 0x49f558
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 0x49f57b
xor al, al
jmp 0x49f615
push eax
call fcn.004a0ee0
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 0x49f574
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4e7a20
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49f574
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 0x49f613
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.004a0ee0
xor edx, edx
mov dword [ebx + 0x38], eax
pop ecx
cmp dword [ebx + 0x3c], edx
jbe 0x49f613
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 0x49f601
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4afc36
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004af8e4