joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6ae0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x52b129
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x57f578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x6c], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004a7d60
mov dword [edi], eax
mov dword [ebp - 4], 3
lea ecx, [ebp + 0x48]
push 0x549408
mov word [edi + 0xc], 0
mov dword [edi + 8], 3
call fcn.00408f70
mov byte [ebp - 4], 4
lea eax, [ebp + 0x48]
push eax
mov ecx, edi
call fcn.004a7c80
mov dword [eax], 0xe
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x48]
call fcn.00408080
push 0x549404
lea ecx, [ebp + 0x30]
call fcn.00408f70
mov byte [ebp - 4], 5
lea eax, [ebp + 0x30]
push eax
mov ecx, edi
call fcn.004a7c80
mov dword [eax], 7
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x30]
call fcn.00408080
push 0x557c3c
lea ecx, [ebp + 0x18]
call fcn.00408f70
mov byte [ebp - 4], 6
lea eax, [ebp + 0x18]
push eax
mov ecx, edi
call fcn.004a7c80
mov dword [eax], 0x2d
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x18]
call fcn.00408080
push 0x557c38
lea ecx, [ebp]
call fcn.00408f70
mov byte [ebp - 4], 7
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.004a7c80
mov dword [eax], 0xa
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.00408080
push str.PTHF
lea ecx, [ebp - 0x24]
call fcn.00408f70
mov byte [ebp - 4], 8
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.004a7c80
mov dword [eax], 0x1e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00408080
mov dword [ebp - 4], 9
lea ecx, [edi + 0x10]
call fcn.00408fb0
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x30]
mov ecx, esi
mov dword [ebp + 0x6c], esi
call fcn.00408fb0
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x18]
call fcn.00408fb0
mov byte [ebp - 4], 0xc
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov byte [esi + 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
lea esp, [ebp + 0x70]
pop ebp
ret
Function at 0x4aa460
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x174
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
push 0x118
mov dword [esp + 0x14], eax
lea eax, [esp + 0x60]
push 0
push eax
mov dword [esp + 0x64], 0x11c
call fcn.004e8f30
lea eax, [esp + 0x64]
push eax
call fcn.0042a2f0
add esp, 0x10
test al, al
je 0x4aa513
push dword [esp + 0x60]
push dword [esp + 0x60]
push str._u._u
push ebx
call fcn.0040d730
call fcn.0042a260
test al, al
mov edx, 0x40
mov ecx, 0x20
cmovne ecx, edx
push ecx
push 0x550c14
push dword [esp + 0x28]
call fcn.0040d730
lea eax, [esp + 0x88]
push eax
call fcn.00409590
mov ecx, dword [esp + 0x34]
add esp, 0x20
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004092c0
push 0x40
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004e8f30
add esp, 0xc
mov dword [esp + 0x18], 0x40
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push 0x550c14
push edi
call fcn.0040d730
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0x550c14
push esi
call fcn.0040d730
mov ecx, dword [esp + 0x188]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e679a
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4ac770
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517e08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x57f578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x58483d], 0
jne 0x4ac93f
push 0x54fb2c
lea ecx, [ebp - 0x24]
call fcn.00408f70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.0041f5a0
mov ecx, eax
call fcn.0041f660
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00408080
test edi, edi
je 0x4ac9ef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x550bf8
push edi
call esi
push 0x550c1c
push edi
mov dword [0x58487c], eax
call esi
push 0x54fc24
push edi
mov dword [0x584874], eax
call esi
push str.GetSecurityInfo
push edi
mov dword [0x584870], eax
call esi
push str.InitializeAcl
push edi
mov dword [0x584850], eax
call esi
push 0x558020
push edi
mov dword [0x58485c], eax
call esi
push 0x558034
push edi
mov dword [0x584860], eax
call esi
push str.AddAce
push edi
mov dword [0x584854], eax
call esi
push str.DeleteAce
push edi
mov dword [0x584868], eax
call esi
push str.SetSecurityInfo
push edi
mov dword [0x584878], eax
call esi
push str.OpenProcessToken
push edi
mov dword [0x584858], eax
call esi
push str.GetTokenInformation
push edi
mov dword [0x584848], eax
call esi
push str.CopySid
push edi
mov dword [0x584864], eax
call esi
push str.GetLengthSid
push edi
mov dword [0x58484c], eax
call esi
push 0x5502bc
push edi
mov dword [0x58486c], eax
call esi
cmp dword [0x58487c], 0
mov dword [0x584880], eax
je 0x4ac952
cmp dword [0x584874], 0
je 0x4ac952
cmp dword [0x584870], 0
je 0x4ac952
cmp dword [0x584850], 0
je 0x4ac952
cmp dword [0x58485c], 0
je 0x4ac952
cmp dword [0x584860], 0
je 0x4ac952
cmp dword [0x584854], 0
je 0x4ac952
cmp dword [0x584868], 0
je 0x4ac952
cmp dword [0x584878], 0
je 0x4ac952
cmp dword [0x584858], 0
je 0x4ac952
cmp dword [0x584848], 0
je 0x4ac952
cmp dword [0x584864], 0
je 0x4ac952
cmp dword [0x58484c], 0
je 0x4ac952
cmp dword [0x58486c], 0
je 0x4ac952
test eax, eax
je 0x4ac952
mov byte [0x58483d], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [0x58483d], 0
mov dword [0x58487c], 0
mov dword [0x584874], 0
mov dword [0x584870], 0
mov dword [0x584850], 0
mov dword [0x58485c], 0
mov dword [0x584860], 0
mov dword [0x584854], 0
mov dword [0x584868], 0
mov dword [0x584878], 0
mov dword [0x584858], 0
mov dword [0x584848], 0
mov dword [0x584864], 0
mov dword [0x58484c], 0
mov dword [0x58486c], 0
mov dword [0x584880], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b2600
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d371
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x10], 0
je 0x4b2725
push esi
call fcn.0040f570
add esp, 4
test al, al
je 0x4b2725
push esi
lea ecx, [ebp - 0x40]
call fcn.00408fd0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push 0x10
push eax
call fcn.00411a60
add esp, 8
mov byte [ebp - 4], 1
xor eax, eax
push 8
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 0x5375c4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004092c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 1
call fcn.004096f0
mov eax, 1
mov dword [ebp - 0x44], eax
and eax, 0xfffffffe
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408080
lea eax, [ebp - 0x40]
push 0x10
push eax
call fcn.00411a60
lea eax, [ebp - 0x40]
push eax
call fcn.0040f570
add esp, 0xc
test al, al
je 0x4b2716
lea eax, [ebp - 0x40]
push eax
call fcn.0040f610
add esp, 4
test al, al
je 0x4b2716
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408080
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e679a
mov esp, ebp
pop ebp
ret 4

Function at 0x4b4870
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0
je 0x4b48b5
push esi
call fcn.0040f570
add esp, 4
test al, al
je 0x4b48b5
push esi
call fcn.004244a0
push esi
call fcn.0040f570
add esp, 8
test al, al
je 0x4b48b5
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x14], 8
jb 0x4b48ae
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
ret 4
Function at 0x4b6990
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x414], eax
push edi
mov edi, dword [esp + 0x424]
lea eax, [esp + 8]
push 0x410
push 0
push eax
call fcn.004e8f30
add esp, 0xc
mov dword [esp + 4], 0
lea eax, [esp + 4]
push eax
push dword [esp + 0x424]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4b6a02
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x4b6a1a
mov eax, dword [esp + 4]
test eax, eax
je 0x4b6a02
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
pop edi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004e679a
add esp, 0x418
ret
lea edx, [esp + 8]
push esi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4b6a22
sub edx, esi
lea eax, [esp + 0xc]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.004092c0
mov eax, dword [esp + 8]
pop esi
test eax, eax
je 0x4b6a4e
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x418]
mov al, 1
pop edi
xor ecx, esp
call fcn.004e679a
add esp, 0x418
ret

Function at 0x4b6d30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
mov dword [esp], 0x3c
test eax, eax
jne 0x4b6d65
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4b6db3
cmp dword [esp + 0x20], 0x20
seta al
add esp, 0x3c
ret
push esi
mov esi, dword [esp + 0x54]
test esi, esi
je 0x4b6dc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
pop esi
add esp, 0x3c
ret
Function at 0x4b7c90
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x57f010], 0
jne 0x4b7d12
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004e8f30
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [esp + 8]
mov word [esp + 0x20e], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b7cf3
sub ecx, edx
lea eax, [esp + 8]
sar ecx, 1
push ecx
push eax
mov ecx, section..data
call fcn.004092c0
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004e679a
add esp, 0x214
ret

Function at 0x4b7ea0
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x52df98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x583844]
test eax, eax
jle 0x4b7ef1
inc eax
mov dword [0x583844], eax
mov al, 1
jmp 0x4b7fe3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
xor bh, bh
mov dword [ebp - 0x14], 0
call fcn.00426180
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00426da0
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426200
test bl, bl
je 0x4b7fd3
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4b7fd3
push str.ImpersonateLoggedOnUser
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x10]
call eax
test eax, eax
je 0x4b7fcc
inc dword [0x583844]
mov eax, dword [edi]
test eax, eax
je 0x4b7f76
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov bh, 1
mov dword [edi], eax
cmp dword [0x57f028], 0
mov dword [ebp - 0x10], 0
jne 0x4b7fcc
push 0x20a
lea eax, [ebp]
push 0
push eax
call fcn.004e8f30
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, 0x57f018
mov word [ebp + 0x206], ax
lea eax, [ebp]
push eax
call fcn.00408ed0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4b7fe1
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004e679a
lea esp, [ebp + 0x210]
pop ebp
ret
Function at 0x4b8530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e0d9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], esi
lea edx, [ecx + 2]
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 0x69004b
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov dword [ebp - 0x44], 0x67006e
mov dword [ebp - 0x40], 0x6f0073
mov dword [ebp - 0x3c], 0x740066
mov dword [ebp - 0x38], 0x490020
mov dword [ebp - 0x34], 0x74006e
mov dword [ebp - 0x30], 0x720065
mov dword [ebp - 0x2c], 0x65006e
mov dword [ebp - 0x28], 0x200074
mov dword [ebp - 0x24], 0x650053
mov dword [ebp - 0x20], 0x750063
mov dword [ebp - 0x1c], 0x690072
mov dword [ebp - 0x18], 0x790074
mov word [ebp - 0x14], ax
mov word [esi], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b85e0
sub ecx, edx
lea eax, [ebp - 0x48]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004092c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e679a
mov esp, ebp
pop ebp
ret

Function at 0x4b8800
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004e8f30
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4b8867
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x4b8850
jne 0x4b8867
cmp dword [esp + 8], 0
jbe 0x4b8867
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004e679a
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.004e679a
add esp, 0x118
ret

Function at 0x4b8880
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004e8f30
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4b88d5
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004e679a
add esp, 0x118
ret
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
setae al
xor ecx, esp
call fcn.004e679a
add esp, 0x118
ret

Function at 0x4b8900
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004e8f30
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4b8955
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004e679a
add esp, 0x118
ret
cmp dword [esp + 4], 0xa
mov ecx, dword [esp + 0x114]
setae al
xor ecx, esp
call fcn.004e679a
add esp, 0x118
ret
Function at 0x4b8980
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004e8f30
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4b89e7
mov eax, dword [esp + 4]
cmp eax, 6
jbe 0x4b89de
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004e679a
add esp, 0x118
ret
jb 0x4b89e7
cmp dword [esp + 8], 2
jae 0x4b89c7
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.004e679a
add esp, 0x118
ret
Function at 0x4bc000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52eaf3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57f578]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, word [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x537f78
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4bc16b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4bc16b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4bc16b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4bc16b
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4bc16b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4bc164
push ebx
push esi
push eax
call fcn.004e89b0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4bc164
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4bc164
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4bc11b
mov dword [esi], vtable.Gdiplus::Image.0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x10], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov byte [ebp - 4], 0
jmp 0x4bc11d
xor esi, esi
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
je 0x4bc150
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
je 0x4bc150
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cff70
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push 0xfffffffffffffff0
push dword [esp + 0x10]
mov esi, ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov cl, byte [esi + 8]
mov edi, eax
test edi, 0x10000000
je 0x4cffb2
push dword [esp + 0xc]
or cl, 4
mov byte [esi + 8], cl
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4cffad
test edi, 0x21000000
jne 0x4cffad
or byte [esi + 8], 2
mov cl, byte [esi + 8]
jmp 0x4cffb8
and cl, 0xfd
mov byte [esi + 8], cl
test cl, 2
je 0x4cffc9
mov ecx, esi
call fcn.004cffe0
pop edi
pop esi
ret 4
push 0
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4
Function at 0x4d4930
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532838
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x30], 0x650054
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], 0x63006e
mov dword [ebp - 0x28], 0x6e0065
mov dword [ebp - 0x24], 0x74
mov dword [ebp - 0x20], 0x510051
mov dword [ebp - 0x1c], 0x430050
mov dword [ebp - 0x18], 0x67004d
mov dword [ebp - 0x14], 0x72
mov dword [ebp - 0x44], 0x750053
mov dword [ebp - 0x40], 0x700070
mov dword [ebp - 0x3c], 0x79006c
mov dword [ebp - 0x38], 0x440049
mov word [ebp - 0x34], ax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x5c]
push str.SOFTWARE_s_s
push eax
call fcn.0040d730
add esp, 0x10
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor bl, bl
test eax, eax
jne 0x4d4a5a
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x68], 4
push eax
push 0
push 0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d4a51
mov eax, dword [ebp - 0x64]
mov ecx, 1
add eax, 0xf8d8f200
movzx ebx, bl
cmp eax, 0xf423f
cmovbe ebx, ecx
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00408080
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e679a
mov esp, ebp
pop ebp
ret