joyce8/EMBER2024-capa huggingface dataset:
Function at 0x582a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fe7f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esi], 0x19dd9c4
mov dword [0x1a8e980], ebx
call fcn.005cd009
mov eax, dword [edi + 0x1a4]
push ebx
mov dword [esi + 4], eax
mov edi, dword [edi + 0x1a0]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov dword [esp + 0x30], 0
mov dword [esi + 8], edi
call fcn.00582b90
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005cd07b
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x583350
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5fe8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push edi
mov eax, dword [esi]
lea edx, [esp + 0x14]
xor ebx, ebx
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], ebx
call dword [eax + 0x14c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x34], ebx
call fcn.005c4d09
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 1
cmp byte [eax], 0x40
jne 0x5833de
mov eax, dword [eax - 8]
lea ecx, [esp + 0x1c]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.005c0db7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.005c50cd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.005c4f94
mov eax, dword [esp + 0x10]
mov al, byte [eax]
cmp al, 0x20
jle 0x5833e8
mov byte [esp + 0x3c], al
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x130]
mov ebp, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x134]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x24], eax
call dword [edx + 0x164]
test eax, eax
mov eax, dword [esi]
mov ecx, esi
setne byte [esp + 0x3c]
call dword [eax + 0x148]
mov edx, dword [esp + 0x38]
mov cl, byte [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov byte [edx + 0x14], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov byte [edx + 0x15], bl
mov byte [edx + 0x16], bl
mov byte [edx + 0x17], 1
mov byte [edx + 0x18], bl
mov byte [edx + 0x19], bl
mov byte [edx + 0x1a], bl
mov byte [edx + 0x1b], bl
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x1c]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x3c], esi
mov esi, edi
mov edi, dword [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
mov byte [esp + 0x30], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [edx], ebp
mov dword [edx + 4], ecx
lea ecx, [esp + 0x10]
mov dword [edx + 0x10], eax
call fcn.005c4f94
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.005c4f94
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x5834c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x583522
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x583530
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push esi
push edi
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x58360d
lea ecx, [esp + 8]
push ecx
push str..htm
push accept
call fcn.005834c0
add esp, 0xc
test eax, eax
jne 0x58360d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push str._shellopencommand
push edx
call edi
lea eax, [esp + 8]
lea ecx, [esp + 8]
push eax
push ecx
push accept
call fcn.005834c0
add esp, 0xc
test eax, eax
jne 0x58360d
lea edx, [esp + 8]
push 0x1a35598
push edx
call fcn.004af8c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5835e8
lea eax, [esp + 8]
push 0x1a35594
push eax
call fcn.004af840
mov esi, eax
add esp, 8
test esi, esi
jne 0x5835e8
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 7]
jmp 0x5835eb
mov byte [esi], 0
push 0x1a34e7c
push esi
call edi
mov edx, dword [esp + 0x214]
push edx
push esi
call edi
lea eax, [esp + 8]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
lea ecx, [esp + 0x214]
call fcn.005c4f94
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret
Function at 0x58a110
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ff1ba
push eax
mov dword fs:[0], esp
mov eax, 0x1a8fc78
sub esp, 0x40
test eax, eax
je 0x58a13a
mov eax, dword [0x1a8fc7c]
test eax, eax
jne 0x58a1a5
lea ecx, [esp + 4]
push esi
push ecx
push 0x3c
push 0xc
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, 0x1a8fc78
call fcn.005cd2b1
push 8
call fcn.005c4cd5
mov esi, eax
add esp, 4
mov dword [esp + 4], esi
test esi, esi
mov dword [esp + 0x4c], 0
je 0x58a195
push 0x18
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, esi
call fcn.005cd36e
jmp 0x58a197
xor eax, eax
mov dword [esp + 0x4c], 0xffffffff
mov dword [0x1a8fc90], eax
pop esi
call fcn.0058a070
mov eax, dword [0x1a8fc94]
test eax, eax
jne 0x58a1ce
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x58a1e0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1a8fc94], eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x59e020
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6006ac
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov ebp, ecx
push edi
push 0
push 0
mov eax, dword [ebp + 0xb4]
push 0x184
push eax
call ebx
mov ecx, dword [ebp + 0x78]
push 0
push 0
push 0x188
push ecx
call ebx
test eax, eax
jl 0x59e1be
mov edx, dword [0x1a30e58]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0
push ecx
push eax
lea ecx, [ebp + 0x5c]
call fcn.005d52b3
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x59e1aa
push str.MenuData.ini
lea eax, [esp + 0x18]
push 0x1a8e600
push eax
call fcn.005c5229
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push 0x400
push ecx
push 0x19cd558
push edx
push str.MenuData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.005c4f94
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
call fcn.005c5002
mov ecx, dword [0x1a30e58]
mov dword [esp + 0x1c], ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x434], 2
call fcn.005c4d09
call fcn.00543cd0
mov edi, eax
mov esi, 1
add esp, 4
cmp edi, esi
jle 0x59e188
push esi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005c4d09
lea ecx, [esp + 0x1c]
push ecx
call fcn.005433a0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x430], 3
call fcn.005c50cd
lea ecx, [esp + 0x14]
mov byte [esp + 0x42c], 2
call fcn.005c4f94
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59e188
mov edx, dword [ebp + 0xb4]
push eax
push 0
push 0x180
push edx
call ebx
inc esi
cmp esi, edi
jl 0x59e125
lea ecx, [esp + 0x1c]
mov byte [esp + 0x42c], 1
call fcn.005c4f94
lea ecx, [esp + 0x18]
mov byte [esp + 0x42c], 0
call fcn.005c4f94
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0xffffffff
call fcn.005c4f94
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x420
ret
Function at 0x5a5120
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x600fd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea edi, [esi + 0xc]
mov dword [esp + 0x24], 0
mov ecx, edi
call fcn.004e2090
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esi + 4], eax
lea edx, [esp + 0x34]
lea eax, [esp + 0xc]
mov dword [esi + 8], ecx
push edx
push eax
mov ecx, edi
mov dword [esi], 0x19e0610
call fcn.004e20b0
mov ecx, dword [esp + 0x40]
mov eax, esi
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18
Function at 0x5c63de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x5c6400
cmp dword [edi + 0x3c], 0
jne 0x5c6400
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.005db896
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.005c642d
pop edi
pop esi
pop ebx
ret 8

Function at 0x5c647b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.005db896
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5c64ac
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005c64bf
pop edi
pop esi
pop ebx
ret 8

Function at 0x5c7ad5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5c7b0d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005c543b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005c5413
jmp 0x5c7b19
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5c9671
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5c96b3
call fcn.005db896
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5c96b3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5c96aa
xor eax, eax
jmp 0x5c96bb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005c96c1
pop edi
pop esi
pop ebx
ret 4

Function at 0x5da052
Capabilities:
Create http request

Disassembly:
mov eax, 0x602994
call fcn.004b1598
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x5da08a
call fcn.005db896
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x5da0af
push eax
push dword [esi + 4]
call fcn.005daee1
jmp 0x5da0bb
push esi
push eax
mov ecx, 0x1a8fe10
call fcn.005da0cc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x5da3c8
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x602a07
call fcn.004b1598
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.005cc016
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x1a30e58]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.005c511d
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.005c511d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x5dbdc5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5dbdf3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5dbe11
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005dbd2b
jmp 0x5dbe11
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5dbe11
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005dbd2b
test edi, edi
mov eax, edi
jne 0x5dbdfb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4013cf
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x5095e0
jmp 0x4013c3
mov eax, 0x4c7a24
call fcn.00496fcc
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004014f4
mov eax, dword [0x504fc0]
lea ecx, [esi + 0xac]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ecx], eax
mov eax, dword [0x504fc0]
mov dword [esi + 0xb4], eax
push 1
mov dword [esi], 0x4cf7cc
pop eax
mov ebx, 0x5095dc
push 0xa
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 7
or dword [esi + 0x28], 0xffffffff
or dword [esi + 0x24], 0xffffffff
pop edx
push 0x64
mov dword [esi + 0x30], edi
mov dword [esi + 0x64], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x2c], edi
pop edx
mov dword [esi + 0x34], 2
mov dword [esi + 0x38], eax
push ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], 5
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], edi
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 0x3e8
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 0xc0
mov dword [esi + 0x90], 0x6c
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], edi
mov dword [esi + 0xa8], edi
call fcn.004b22cd
push ebx
lea ecx, [esi + 0xb4]
mov dword [esi + 0xb0], edi
call fcn.004b22cd
or dword [esi + 0xc0], 0xffffffff
or dword [esi + 0xbc], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0xb8], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40d369
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c89c8
call fcn.00496fcc
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x5096a8
push str.DataFile_Types
mov ecx, esi
call fcn.004c4f31
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40d39f
xor eax, eax
jmp 0x40d4e7
mov eax, dword [0x504fc0]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 0x100
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40d4b7
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4f00fc
push eax
call fcn.004afa67
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c4fe3
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b227d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004b2136
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c4fe3
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004b227d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004b2136
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c4f77
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40d490
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40d490
cmp eax, 0xffffffff
je 0x40d490
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040d5d4
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], 0x100
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40d3db
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b2136
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004b2136
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b2136
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40f220
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.00496ff0
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4

Function at 0x410a0c
Capabilities:
Check os version

Disassembly:
mov eax, 0x4c8eab
call fcn.00496fcc
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.004b6fdb
mov eax, dword [0x504fc0]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x4d2a90
jne 0x410a92
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.00496ff0
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x410a8b
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x410a92
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0049788d
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x410aa7
call fcn.004b0148
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.00410c6c
push eax
call fcn.00496ff0
push 0x200002
call fcn.004b270a
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.00410c6c
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.00410c6c
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.00410c6c
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.00410c6c
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.00410c6c
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.00410c6c
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.00410c6c
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x410b64
mov ecx, esi
call fcn.00410c6c
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.004c4d92
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.00410c6c
mov ecx, esi
mov dword [eax + 8], edi
call fcn.00410c6c
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x410895
je 0x410b9d
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x410bdc
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.004b22cd
push ebx
mov ecx, edi
call fcn.004b257b
push 0x7c
push eax
call fcn.00497864
pop ecx
cmp eax, ebx
pop ecx
je 0x410bcf
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x410bb9
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.00410c6c
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x418acf
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
xor esi, esi
mov byte [ebp - 4], al
mov byte [ebp - 3], al
mov byte [ebp - 2], al
mov byte [ebp - 8], al
mov byte [ebp - 7], al
mov byte [ebp - 6], al
mov byte [ebp - 5], al
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x418c4e
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
inc esi
inc dword [ebp + 8]
cmp esi, 3
mov al, byte [eax]
mov byte [ebp + esi - 5], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
jne 0x418b94
mov dl, cl
mov bl, al
shr dl, 2
mov byte [ebp - 8], dl
mov dl, cl
and dl, 3
shl dl, 4
shr bl, 4
add dl, bl
mov bl, byte [ebp - 2]
mov byte [ebp - 7], dl
mov dl, al
and dl, 0xf
shl dl, 2
shr bl, 6
add dl, bl
mov byte [ebp - 6], dl
mov dl, byte [ebp - 2]
mov bl, dl
and bl, 0x3f
and dword [ebp + 0xc], 0
mov byte [ebp - 5], bl
mov ebx, dword [0x509854]
test ebx, ebx
jne 0x418b70
mov esi, 0x4d23e4
jmp 0x418b7a
mov esi, dword [ebp + 0xc]
movzx esi, byte [ebp + esi - 8]
add esi, ebx
mov bl, byte [esi]
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
mov byte [edi + esi], bl
mov edi, dword [ebp + 0x14]
inc dword [edi]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 4
jl 0x418b5f
xor esi, esi
dec dword [ebp - 0xc]
jne 0x418b08
test esi, esi
je 0x418c4e
cmp esi, 3
jge 0x418bcf
push 3
lea edi, [ebp + esi - 4]
pop ecx
xor eax, eax
sub ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
mov edi, dword [ebp + 0x14]
mov bl, cl
and cl, 3
shr bl, 2
mov byte [ebp - 8], bl
mov bl, al
shl cl, 4
shr bl, 4
add cl, bl
and dword [ebp + 8], 0
mov byte [ebp - 7], cl
and al, 0xf
mov cl, dl
and dl, 0x3f
shl al, 2
shr cl, 6
add al, cl
lea ecx, [esi + 1]
test ecx, ecx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
jle 0x418c36
mov edx, dword [0x509854]
test edx, edx
jne 0x418c18
mov eax, 0x4d23e4
jmp 0x418c22
mov eax, dword [ebp + 8]
movzx eax, byte [ebp + eax - 8]
add eax, edx
mov edx, dword [edi]
mov ebx, dword [ebp + 0x10]
mov al, byte [eax]
mov byte [edx + ebx], al
inc dword [edi]
inc dword [ebp + 8]
cmp dword [ebp + 8], ecx
jl 0x418c07
cmp esi, 3
jge 0x418c4e
push 4
pop eax
sub eax, ecx
mov ecx, dword [edi]
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx], 0x3d
inc dword [edi]
dec eax
jne 0x418c40
mov eax, dword [edi]
pop edi
pop esi
pop ebx
leave
ret 0x10