joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447930
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x44795d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4479be
movzx eax, ax
or eax, 0x80070000
pop edi
pop ebp
ret 0xc
push esi
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
push 1
push 0xf01ff
push eax
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
jne 0x4479ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4479b4
movzx esi, si
push edi
or esi, 0x80070000
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 0xc
push eax
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x448250
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x448267
mov eax, 0x8000ffff
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
lea edi, [esi + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
test eax, eax
jne 0x448294
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44828e
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x4483ad
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov byte [edi + 0x18], 1
call ebx
mov dword [esi + 0x40], eax
test eax, eax
jne 0x4482cb
cmp byte [edi + 0x18], al
je 0x4482bf
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.0040ed80
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x448304
call fcn.0040ed80
push 0x2710
mov ecx, esi
mov edi, eax
call fcn.004483e0
test eax, eax
jns 0x4483aa
test edi, edi
pop ebx
cmovns edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
mov ecx, esi
call fcn.00447e80
mov dword [ebp - 4], eax
test eax, eax
jns 0x448334
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.004483e0
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov ebx, eax
test ebx, ebx
je 0x4482db
push 0
push 0
push ebx
mov ecx, esi
call fcn.00447e80
mov edi, eax
test edi, edi
jns 0x448372
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.004483e0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x4486f0
push 0
push 0
call fcn.0048f496
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4482db
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4483aa
call fcn.0040ed80
mov edi, eax
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4487d0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5315d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], 0x104
test edi, edi
je 0x448894
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x448894
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x448894
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x448894
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x44888d
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004654a8
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004654a8
mov esp, ebp
pop ebp
ret 4
Function at 0x448ce0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x5315d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x438], eax
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x428], edi
test eax, eax
jne 0x448d1b
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004654a8
mov esp, ebp
pop ebp
ret 0x14
push ebx
xor ebx, ebx
lea ecx, [ebp - 0x42c]
push ecx
push ebx
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x42c], ebx
push ecx
push ebx
push ebx
push 4
push dword [ebp + 0xc]
mov dword [ebp - 0x418], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x448ef2
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 2
je 0x448d61
cmp esi, 1
jne 0x448e00
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x448e00
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x424], ebx
push ecx
lea ecx, [ebp - 0x424]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclW]
test eax, eax
jne 0x448e00
mov esi, dword [ebp - 0x424]
sub esi, 1
js 0x448dfd
mov ebx, dword [ebp - 0x428]
mov edi, esi
shl edi, 5
nop word [eax + eax]
mov eax, dword [ebp - 0x430]
cmp dword [edi + eax + 4], 3
jne 0x448ded
test ebx, ebx
je 0x448de0
cmp dword [edi + eax + 0x14], 0
jne 0x448ded
add eax, 0xc
push ebx
add eax, edi
push eax
call dword [sym.imp.ADVAPI32.dll_GetTrusteeNameW]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x448ded
push esi
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
sub edi, 0x20
sub esi, 1
jns 0x448db0
mov edi, dword [ebp - 0x428]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
push 0x208
xorps xmm0, xmm0
mov dword [ebp - 0x41c], 0
lea eax, [ebp - 0x20c]
push 0
push eax
movups xmmword [ebp - 0x458], xmm0
movups xmmword [ebp - 0x448], xmm0
call fcn.00471c10
add esp, 0xc
mov dword [ebp - 0x434], 0x104
test edi, edi
je 0x448e75
lea eax, [ebp - 0x430]
mov dword [ebp - 0x420], 0x104
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
push 3
push esi
push dword [ebp + 0x18]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameW]
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x458]
push eax
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
jne 0x448ee4
push 0
push dword [ebp - 0x41c]
push 0
push 0
push 4
push dword [ebp + 0xc]
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 0x41c]
inc ebx
test eax, eax
je 0x448ee4
push eax
call esi
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x448ef1
push eax
call esi
pop esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
xor ecx, ebp
pop edi
call fcn.004654a8
mov esp, ebp
pop ebp
ret 0x14
Function at 0x449d60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed698
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5315d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.00404020
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea eax, [esi + 4]
mov ecx, esi
push eax
call fcn.00449630
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x449dd3
push dword [ebp - 0x14]
push esi
push 7
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x449df2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x449f60
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed706
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5315d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x449f98
xor eax, eax
jmp 0x44a005
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00471c10
add esp, 0xc
call fcn.0044a540
push 0x503bb4
test al, al
lea eax, [ebp - 0x218]
push esi
push eax
je 0x44a022
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x21c]
call fcn.0044f570
push str._autorun
push edi
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
push str.FirePhoenixUpdate
lea ecx, [ebp - 0x21c]
call fcn.0044f990
lea ecx, [ebp - 0x21c]
mov edi, eax
call fcn.0044f880
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004654a8
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x220]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44a003
call fcn.00404ec0
mov ecx, eax
test ecx, ecx
je 0x44a125
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x21c]
push str.__s___autorun
push eax
call fcn.0040fb20
mov esi, dword [ebp - 0x21c]
add esp, 0xc
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x44a0aa
push edi
lea ecx, [ebp - 0x21c]
call fcn.00404e10
mov esi, dword [ebp - 0x21c]
lea eax, [edi + edi]
push eax
push esi
push 1
push 0
push str.FirePhoenixUpdate
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esi - 8]
neg eax
push esi
sbb edi, edi
inc edi
call fcn.0048e1ba
add esp, 8
test eax, eax
js 0x44a11b
cmp eax, dword [esi - 8]
jg 0x44a11b
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44a003
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44a003
push 0x80070057
call fcn.00404290
push 0x80004005
call fcn.00404290
int3
Function at 0x44bab0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004658d0
mov eax, dword [0x5315d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.0044c3a0
cmp dword [edi + 4], 0
lea esi, [edi + 0x10]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
je 0x44bb52
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00471c10
add esp, 0xc
lea eax, [ebp - 0x804]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00471c10
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x4f67fc
push eax
lea eax, [ebp - 0x1004]
push eax
call ebx
push 0
push 0
push esi
lea eax, [ebp - 0x1004]
mov ecx, edi
push eax
push str.__fromdesktop
push esi
push 0x4f8690
call fcn.0044c040
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00471c10
add esp, 0xc
lea eax, [ebp - 0x1004]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00471c10
add esp, 0xc
lea eax, [ebp - 0x1004]
push 0x4f8690
push eax
lea eax, [ebp - 0x804]
push eax
call ebx
lea eax, [ebp - 0x804]
push eax
call fcn.004059a0
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00471c10
add esp, 0x10
lea eax, [ebp - 0x1004]
push 1
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00471c10
add esp, 0xc
lea eax, [ebp - 0x1004]
push 0x4f8690
push eax
lea eax, [ebp - 0x804]
push eax
call ebx
lea eax, [ebp - 0x804]
push eax
call fcn.004059a0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00471c10
add esp, 0x10
lea eax, [ebp - 0x20c]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4f8690
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [edi + 8], 0
je 0x44bcbc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44bc73
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00471c10
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x4f67fc
push eax
lea eax, [ebp - 0x1004]
push eax
call ebx
push 0
push 0
push esi
lea eax, [ebp - 0x1004]
mov ecx, edi
push eax
push str.__fromstartmenu
push esi
push 0x4f8690
call fcn.0044c040
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
mov esp, ebp
pop ebp
ret
Function at 0x44c3a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.004658d0
mov eax, dword [0x5315d4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00471c10
add esp, 0xc
lea eax, [ebp - 0x804]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00471c10
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x4f67fc
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1004]
push eax
call fcn.00405950
push 0x800
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.00471c10
add esp, 0x10
lea eax, [ebp - 0x1804]
push 1
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.00471c10
add esp, 0xc
lea eax, [ebp - 0x1804]
push 0x4f67fc
push eax
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x2004]
push eax
call fcn.00405950
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.004654a8
mov esp, ebp
pop ebp
ret
Function at 0x44c590
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eda30
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5315d4]
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, ecx
mov eax, dword [0x503e54]
movq xmm0, qword [0x503e4c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c5e0
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push str.lang
push str.SOFTWAREFirePhoenix
push SysReAllocString
call ebx
push 0xc
push 0x4f8690
push 1
push 0x503e64
push str.SOFTWAREFirePhoenix
push SysReAllocString
call ebx
call fcn.00404ec0
mov ecx, eax
test ecx, ecx
je 0x44c6e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x10]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.00403f80
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00416460
mov edx, dword [ebp - 0x20]
or edi, 0xffffffff
add esp, 8
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44c68b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0x503e70
push str.SOFTWAREFirePhoenix
push SysReAllocString
call ebx
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x44c6c4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.004654a8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404290
int3
Function at 0x44e5c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x524d70
push 0x4736c0
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5315d4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xa8], edx
test edi, edi
je 0x44e7a7
test edx, edx
je 0x44e7a7
cmp dword [ebp + 0xc], 0
jbe 0x44e7a7
cmp dword [ebp + 0x14], 0xd
jb 0x44e7a7
xor esi, esi
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 4], esi
push esi
lea eax, [ebp - 0x9c]
push eax
call fcn.00431640
push dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x9c]
push eax
call fcn.00431690
lea eax, [ebp - 0x9c]
push eax
call fcn.00431370
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebp - 0x34], xmm0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
push edi
call fcn.0044e7d0
add esp, 0x28
test eax, eax
je 0x44e79c
xor eax, eax
mov dword [ebp - 0xa4], eax
xor edi, edi
mov dword [ebp - 0xac], edi
mov esi, dword [ebp - 0xa8]
nop dword [eax]
mov dl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0xa4], eax
cmp eax, 8
jb 0x44e6b9
mov byte [ebp - 0x9d], 0
jmp 0x44e6ca
mov cl, byte [ebp + eax - 0x24]
mov byte [ebp - 0x9d], cl
inc eax
mov dword [ebp - 0xa4], eax
cmp eax, 8
jb 0x44e6d8
mov byte [ebp - 0x9e], 0
jmp 0x44e6e9
mov cl, byte [ebp + eax - 0x24]
mov byte [ebp - 0x9e], cl
inc eax
mov dword [ebp - 0xa4], eax
movzx edx, dl
mov ecx, edx
shr ecx, 2
movzx ecx, word [ecx*2 + 0x503fc0]
mov word [esi + edi*2], cx
movzx esi, byte [ebp - 0x9d]
and edx, 3
shl edx, 4
mov ecx, esi
shr ecx, 4
or edx, ecx
movzx ecx, word [edx*2 + 0x503fc0]
mov edx, dword [ebp - 0xa8]
mov word [edx + edi*2 + 2], cx
movzx edx, byte [ebp - 0x9e]
mov ecx, edx
shr ecx, 6
and esi, 0xf
shl esi, 2
or ecx, esi
movzx ecx, word [ecx*2 + 0x503fc0]
mov esi, dword [ebp - 0xa8]
mov word [esi + edi*2 + 4], cx
and edx, 0x3f
movzx ecx, word [edx*2 + 0x503fc0]
mov word [esi + edi*2 + 6], cx
add edi, 4
mov dword [ebp - 0xac], edi
cmp eax, 8
jb 0x44e6a0
mov dword [esi + edi*2 - 2], 0x3d
mov esi, 1
mov dword [ebp - 0xb0], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x44e7a9
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x44e7a9
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004654a8
mov esp, ebp
pop ebp
ret
Function at 0x44f330
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x44f4ec
test edi, edi
je 0x44f4ec
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push 2
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x44f4ec
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.0048ee73
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x44f4ec
lea ecx, [ebp - 0xc]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x44f4ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x44f4e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44f4e1
push dword [ebp - 0x14]
call fcn.0048ee73
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x44f4e1
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
call fcn.0048ee73
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x44f414
push dword [ebp + 8]
call fcn.0048ee56
push dword [ebp - 8]
call fcn.0048ee56
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x44f4bd
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x44f4bd
mov eax, SysReAllocString
cmp eax, edi
sbb ebx, ebx
and ebx, 0x80070057
cmp edi, eax
mov eax, dword [ebp - 4]
ja 0x44f4a1
mov ecx, SysReAllocString
mov edx, eax
sub ecx, edi
sub edx, esi
lea eax, [ecx + edi]
test eax, eax
je 0x44f483
movzx eax, word [edx + esi]
test ax, ax
je 0x44f483
mov word [esi], ax
add esi, 2
sub edi, 1
jne 0x44f468
test edi, edi
lea eax, [esi - 2]
mov ebx, 0x8007007a
cmovne eax, esi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
test edi, edi
cmovne ebx, eax
mov eax, dword [ebp - 4]
jmp 0x44f4aa
test edi, edi
je 0x44f4aa
xor ecx, ecx
mov word [esi], cx
not ebx
push eax
shr ebx, 0x1f
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 0
push dword [ebp + 8]
call fcn.0048ee56
push dword [ebp - 8]
call fcn.0048ee56
push dword [ebp - 0x1c]
call fcn.0048ee56
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
call fcn.0048ee56
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4509e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x5315d4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00471c10
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x400
push 0x400
push eax
call fcn.00403f40
push dword [eax + 4]
push dword [eax]
call fcn.0048cfd9
add esp, 0x20
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004654a8
mov esp, ebp
pop ebp
ret

Function at 0x4530e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5315d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push 0
push 0x80
push 2
push 1
push 0x40000000
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00451e20
mov edi, dword [ebp - 0xc]
test eax, eax
js 0x453173
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x453133
mov esi, dword [esi]
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x453151
call fcn.0040ed80
mov esi, eax
test esi, esi
js 0x45316c
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x45316a
call fcn.0040ed80
mov esi, eax
not esi
shr esi, 0x1f
jmp 0x453175
xor esi, esi
not esi
shr esi, 0x1f
jmp 0x453175
xor esi, esi
test edi, edi
je 0x453180
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004654a8
mov esp, ebp
pop ebp
ret