joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2080
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, 0x4fc23c
mov eax, dword [0x4fe118]
cmp dword [eax], 2
jne 0x4b222c
push 0x4b2244
call sub.kernel32.dll_GetModuleHandleA_1
mov dword [ebx], eax
cmp dword [ebx], 0
sete byte [0x50f8f8]
cmp dword [ebx], 0
jne 0x4b20bb
push 0x4b2244
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x4b222c
push 0x4b2250
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc248], eax
push 0x4b2268
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc24c], eax
push 0x4b227c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc240], eax
push 0x4b228c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc244], eax
push 0x4b2294
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc250], eax
push 0x4b22a4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc28c], eax
push 0x4b22b4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc254], eax
push 0x4b22d0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc258], eax
push 0x4b22e0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc280], eax
push 0x4b22f0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc25c], eax
push 0x4b2304
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc260], eax
push 0x4b231c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc268], eax
push 0x4b2328
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc264], eax
push 0x4b2338
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc26c], eax
push 0x4b2348
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc270], eax
push 0x4b2364
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc274], eax
push 0x4b2380
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc278], eax
push 0x4b2398
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc27c], eax
push 0x4b23ac
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc284], eax
push 0x4b23c4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc288], eax
cmp dword [ebx], 0
je 0x4b223a
cmp dword [0x4fc26c], 0
jne 0x4b223e
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4b51b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b5250
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edi, 0x1000
call sub.kernel32.dll_GetEnvironmentStringsA
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 8]
call fcn.00404dac
cmp edi, ebx
jbe 0x4b522f
cmp byte [esi + ebx], 0
je 0x4b520f
lea eax, [ebp - 0xc]
mov dl, byte [esi + ebx]
call fcn.00404f8c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00405088
jmp 0x4b522a
cmp dword [ebp - 8], 0
je 0x4b522f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
call fcn.00404dac
inc ebx
cmp edi, ebx
ja 0x4b51f1
push esi
call sub.kernel32.dll_FreeEnvironmentStringsA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5257
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404dd0
ret

Function at 0x4b5260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4b52f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004054ec
mov eax, 0x104
call fcn.0040ba64
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4b52bb
mov eax, esi
mov edx, ebx
call fcn.00405614
mov eax, ebx
call fcn.0040bab0
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.00418280
test al, al
je 0x4b52e1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b52fe
lea eax, [ebp - 0xc]
call fcn.00406fac
ret
Function at 0x4b5764
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
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 0x4b57a8
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x4b57a8
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 0x4b5853
lea eax, [esp + 8]
push eax
push 0
push 0
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [esp + 8]
call fcn.00402a38
mov esi, eax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
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 0x4b584c
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 0x4fc488
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x4b5842
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 0x4b583e
mov byte [esp], 1
jmp 0x4b5842
inc edi
dec ebx
jne 0x4b5825
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402a58
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4b5b28
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405268
mov eax, dword [ebp - 8]
call fcn.00405268
xor eax, eax
push ebp
push 0x4b5c1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00404dac
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 8]
call fcn.00405278
push eax
mov eax, dword [ebp - 4]
call fcn.00405278
mov edi, eax
push edi
call sub.advapi32.dll_LookupAccountNameA
mov eax, dword [ebp - 0x10]
call fcn.0040ba64
mov esi, eax
mov eax, dword [ebp - 0x14]
call fcn.0040aba4
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 8]
call fcn.00405278
push eax
push edi
call sub.advapi32.dll_LookupAccountNameA
test eax, eax
je 0x4b5beb
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004b5a10
push ebx
call sub.advapi32.dll_GetSidSubAuthorityCount
push ebx
call sub.advapi32.dll_GetLengthSid
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0040ba50
mov eax, esi
call fcn.0040bab0
mov eax, ebx
call fcn.00402a58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5c23
lea eax, [ebp - 0x1c]
call fcn.00404dac
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404dd0
ret
Function at 0x4b61f8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b62ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.0040ba64
mov esi, eax
push esi
push 0xff
call sub.kernel32.dll_GetLogicalDriveStringsA
mov ebx, eax
test ebx, ebx
jns 0x4b6239
call fcn.00403e38
mov eax, dword [ebp - 4]
call fcn.00404dac
mov edi, ebx
test edi, edi
jl 0x4b6290
inc edi
xor ebx, ebx
cmp byte [esi + ebx], 0
je 0x4b6285
mov al, byte [esi + ebx]
mov edx, eax
add dl, 0xbf
sub dl, 0x1a
jb 0x4b6263
add al, 0x9f
sub al, 0x1a
jae 0x4b628c
mov al, byte [esi + ebx]
call fcn.00402e44
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404f8c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00405088
mov eax, dword [ebp - 4]
jmp 0x4b628c
cmp byte [esi + ebx + 1], 0
je 0x4b6290
inc ebx
dec edi
jne 0x4b624a
mov eax, esi
call fcn.0040bab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b62b4
lea eax, [ebp - 8]
call fcn.00404dac
ret

Function at 0x4b6360
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b643f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, esi
call fcn.00404dac
push 0x40
lea eax, [ebp - 0x40]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x40]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4b6426
mov edi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x4b63f9
push dword [esi]
cmp ebx, 0xff
jbe 0x4b63ca
call fcn.00403e38
mov eax, dword [edi + ebx*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1d4]
call fcn.00404f9c
push dword [ebp - 0x1d4]
push 0x4b6458
mov eax, esi
mov edx, 3
call fcn.00405140
inc ebx
cmp ebx, 0xff
jbe 0x4b6406
call fcn.00403e38
cmp dword [edi + ebx*4], 0
jne 0x4b63bb
mov eax, dword [esi]
call fcn.00405080
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.00405318
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6446
lea eax, [ebp - 0x1d4]
call fcn.00404dac
ret
Function at 0x4c2b08
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc8
mov esi, edx
mov edi, eax
call fcn.004c2b04
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push edi
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 5
jb 0x4c2b35
call fcn.004c2b04
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
lea eax, [esp + 0x20]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, dword [esp + 8]
sbb edx, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
fild qword [esp + 0x28]
fild qword [esp + 0x20]
fdivp st(1)
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub eax, dword [esp]
sbb edx, dword [esp + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
fild qword [esp + 0x30]
fdivrp st(1)
fdiv dword [0x4c2bc4]
call fcn.00402e8c
mov ebx, eax
mov dword [esi], ebx
mov eax, ebx
call fcn.004c27c0
mov dword [esi + 4], eax
mov dword [esi + 8], edi
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x4ce4ec
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ce624
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00405404
push 0x104
lea eax, [ebp - 8]
call fcn.004052d0
push eax
push 0x4ce638
call sub.kernel32.dll_GetEnvironmentVariableA
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405404
mov eax, dword [ebp - 8]
call fcn.00405080
test eax, eax
jle 0x4ce606
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.0040356c
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x210
push 0
push 0
push 0
push dword [ebp - 8]
push 0x4ce648
push ebx
push 0x4ce658
push esi
lea eax, [ebp - 0x60]
mov edx, 5
call fcn.00405140
mov eax, dword [ebp - 0x60]
call fcn.00405278
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4ce606
xor eax, eax
push ebp
push 0x4ce5ff
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce606
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce62b
lea eax, [ebp - 0x60]
call fcn.00404dac
lea eax, [ebp - 8]
call fcn.00404dac
ret

Function at 0x4ce65c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405278
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4ce679
and eax, 0x10
cmp eax, 0x10
je 0x4ce67d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4ced1c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x4ced30
add esp, 0xfffffff0
call fcn.0040425c
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.004b7214
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x24
call fcn.0040356c
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xb8], eax
mov eax, esi
test bl, bl
je 0x4ced73
call fcn.004042b4
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e1dd0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x4e1de3
add esp, 0xfffffff0
call fcn.0040425c
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
call fcn.0040701c
mov eax, dword [ebp + 8]
call fcn.0040701c
xor eax, eax
push ebp
push 0x4e1e9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.00423dc8
lea eax, [ebx + 0x30]
mov edx, dword [ebp + 0xc]
call fcn.00406fc4
lea eax, [ebx + 0x38]
mov edx, dword [ebp + 8]
call fcn.00406fc4
xor eax, eax
mov al, byte [ebp + 0x14]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x4c], eax
cmp edi, esi
je 0x4e1e7f
test esi, esi
jl 0x4e1e7f
cmp esi, 0x64
jg 0x4e1e7f
test edi, edi
jl 0x4e1e7f
cmp edi, 0x64
jg 0x4e1e7f
mov eax, edi
sub eax, esi
cdq
xor eax, edx
sub eax, edx
push eax
mov eax, dword [ebp + 0x18]
pop edx
mov ecx, edx
cdq
idiv ecx
inc eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], esi
mov eax, edi
mov dword [ebx + 0x44], eax
cmp eax, dword [ebx + 0x40]
setg al
mov byte [ebx + 0x35], al
xor eax, eax
mov dword [0x4fd758], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1ea4
lea eax, [ebp + 8]
call fcn.00406fac
lea eax, [ebp + 0xc]
call fcn.00406fac
ret
Function at 0x4e236c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405268
mov eax, dword [ebp - 8]
call fcn.00405268
xor eax, eax
push ebp
push 0x4e246e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x4e244c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00405278
push eax
mov eax, dword [ebp - 4]
call fcn.00405278
push eax
mov eax, dword [0x4ff718]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e23da
call fcn.00404770
jmp 0x4e2453
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4ff718]
push eax
call sub.kernel32.dll_SizeofResource
mov ebx, eax
test ebx, ebx
jne 0x4e23f6
call fcn.00404770
jmp 0x4e2453
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4ff718]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_LockResource
mov edi, eax
push 0
push 0
mov eax, esi
call fcn.0041e1a4
mov edx, edi
mov ecx, ebx
mov eax, esi
call fcn.0041e3e8
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2453
mov eax, dword [ebp - 0x10]
call fcn.00408658
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2475
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404dd0
ret

Function at 0x4e2798
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040ba50
mov eax, dword [ebx]
call fcn.00405080
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4e27d5
mov eax, ebx
mov edx, 0x4e27e8
call fcn.00405088
add esp, 0x100
pop ebx
ret

Function at 0x4e2a74
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040ba50
mov eax, dword [ebx]
call fcn.00405080
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4e2ab1
mov eax, ebx
mov edx, 0x4e2ac4
call fcn.00405088
add esp, 0x100
pop ebx
ret
Function at 0x4e4ffc
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x4e5154
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
call fcn.004e4e14
mov edx, dword [ebp - 0x2c]
mov eax, 0x4e516c
call fcn.004053bc
dec eax
jne 0x4e5121
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4e5064
push 0
push 0x4e5178
push 0x4e5194
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4e513e
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4e5091
push 0
push 0x4e5178
push 0x4e5194
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4e513e
lea eax, [ebp - 0x14]
push eax
push 0x4e51a0
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x4e50bd
push 0
push 0x4e51b4
push 0x4e5194
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4e513e
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test al, al
je 0x4e5102
push 0
push 0x4e51d4
push 0x4e5194
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4e513e
cmp dword [ebp + 8], 0
jne 0x4e5113
push 0
push 0xd
call sub.user32.dll_ExitWindowsEx
jmp 0x4e513e
push 0xffff
push 7
call sub.user32.dll_ExitWindowsEx
jmp 0x4e513e
cmp dword [ebp + 8], 0
jne 0x4e5132
push 0
push 0xd
call sub.user32.dll_ExitWindowsEx
jmp 0x4e513e
push 0xffff
push 7
call sub.user32.dll_ExitWindowsEx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e515b
lea eax, [ebp - 0x2c]
call fcn.00404dac
ret
Function at 0x412565
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004123e4

Function at 0x41695c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004162ca
Function at 0x60dca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15e000]
push edi
or ebp, 0xffffffff
jmp 0x60dcc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x60dcc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60dcb8
mov eax, 1
add ebx, ebx
jne 0x60dcdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x60dcec
jne 0x60dd0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60dd0b
dec eax
add ebx, ebx
jne 0x60dcf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x60dcd0
add ebx, ebx
jne 0x60dd07
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x60dd5d
xor ecx, ecx
sub eax, 3
jb 0x60dd23
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x60dd92
sar eax, 1
mov ebp, eax
jmp 0x60dd2e
add ebx, ebx
jne 0x60dd2e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60dcfc
inc ecx
add ebx, ebx
jne 0x60dd3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60dcfc
add ebx, ebx
jne 0x60dd49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x60dd3e
jne 0x60dd5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x60dd3e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x60dd7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x60dd6e
jmp 0x60dcbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x60dd7c
add edi, ecx
jmp 0x60dcbe
pop esi
mov edi, esi
mov ecx, 0x37e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x60dd9a
cmp byte [edi], 0x13
jne 0x60dd9a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x60dd9f
lea edi, [esi + 0x20a000]
mov eax, dword [edi]
or eax, eax
je 0x60de17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x212250]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x212314]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x60ddcc
mov ecx, edi
jns 0x60ddfb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21231c]
or eax, eax
je 0x60de11
mov dword [ebx], eax
add ebx, 4
jmp 0x60dde9
call dword [esi + 0x212318]
mov ebp, dword [esi + 0x212320]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x60de4b
sub esp, 0xffffff80
jmp 0x46f1ee
Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x60fd3c60
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x23906836
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219