joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a370
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525c8b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x57594c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00424a30
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x438], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, dword [ebp - 0x438]
call fcn.00409770
push eax
push str.__s___lu_:
lea edx, [ebp - 0x410]
push edx
call fcn.004bbd0a
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00406d30
lea eax, [ebp + 0x10]
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x430], ecx
mov edx, dword [ebp - 0x430]
add edx, 1
mov dword [ebp - 0x444], edx
mov eax, dword [ebp - 0x430]
mov cl, byte [eax]
mov byte [ebp - 0x429], cl
add dword [ebp - 0x430], 1
cmp byte [ebp - 0x429], 0
jne 0x42a423
mov edx, dword [ebp - 0x430]
sub edx, dword [ebp - 0x444]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x434]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x440]
lea eax, [ebp + edx - 0x410]
push eax
call fcn.004bbf4a
add esp, 0xc
mov dword [ebp - 0x434], 0
push 0x5496c4
lea ecx, [ebp - 0x410]
push ecx
call fcn.0042a500
add esp, 8
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret

Function at 0x42a580
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x57594c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x98], 0x94
mov dword [ebp - 0x9c], 1
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je case.default.0x42a636
cmp dword [ebp - 0x94], 5
ja 0x42a612
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0xa0], 0
je 0x42a5ee
cmp dword [ebp - 0xa0], 1
je 0x42a5fa
cmp dword [ebp - 0xa0], 2
je 0x42a606
jmp 0x42a610
mov dword [ebp - 0x9c], 0
jmp 0x42a610
mov dword [ebp - 0x9c], 1
jmp 0x42a610
mov dword [ebp - 0x9c], 3
jmp case.default.0x42a636
cmp dword [ebp - 0x94], 6
jne case.default.0x42a636
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0xa4], 3
ja case.default.0x42a636
mov eax, dword [ebp - 0xa4]
jmp dword [eax*4 + 0x42a680]
mov dword [ebp - 0x9c], 5
jmp case.default.0x42a636
mov dword [ebp - 0x9c], 8
jmp case.default.0x42a636
mov dword [ebp - 0x9c], 0xa
jmp case.default.0x42a636
mov dword [ebp - 0x9c], 0xc
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret
Function at 0x42a990
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x55fcf8
push 0x4c4420
mov eax, dword fs:[0]
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [0x57594c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xfffffffe
jmp 0x42aa10
call fcn.0042a810
movzx eax, al
test eax, eax
je 0x42aa20
mov al, 1
jmp 0x42aa23
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42aa80
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x55fd18
push 0x4c4420
mov eax, dword fs:[0]
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [0x57594c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
mov dword [ebp - 4], 0
push ebx
mov ebx, 0
mov eax, 1
invalid

Function at 0x42c640
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x57594c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push SysReAllocString
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x42c687
xor al, al
jmp 0x42c705
push SysReAllocString
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x42c6b1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x42c705
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x42c6e1
cmp dword [ebp - 0x1c], 4
jne 0x42c6d2
mov dword [ebp - 0x34], 1
jmp 0x42c6d9
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
jmp 0x42c6e8
mov dword [ebp - 0x30], 0
mov cl, byte [ebp - 0x30]
mov byte [ebp - 0x21], cl
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [ebp - 0x21]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret
Function at 0x42d2f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x57594c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x134], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xffffffff
jne 0x42d331
mov eax, dword [ebp - 0x134]
jmp 0x42d3d4
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x42d357
jmp 0x42d3c1
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.004bbc2e
add esp, 8
test eax, eax
jne 0x42d3a9
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x42d3a9
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp + 0xc]
jne 0x42d3a9
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x134], ecx
jmp 0x42d3c1
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x42d357
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret
Function at 0x430660
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5263d0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x57594c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x430761
mov eax, dword [ebp - 0x28]
push eax
call fcn.0044b6ff
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044b6ff
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0
je 0x430724
cmp dword [ebp - 0x1c], 0
jne 0x43072d
push 0
push 0
call fcn.004be2db
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x43075a
push 0
push 0
call fcn.004be2db
mov dword [ebp - 0x20], 1
jmp 0x430769
mov dword [ebp - 4], 0xffffffff
jmp 0x430779
cmp dword [ebp - 0x1c], 0
je 0x430791
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.004ba0bc
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x4307af
cmp dword [ebp - 0x18], 0
je 0x4307af
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004ba0bc
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x4307bd
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
cmp dword [ebp - 0x20], 0
je 0x4307c9
mov byte [ebp - 0x11], 1
jmp 0x4307cd
mov byte [ebp - 0x11], 0
mov al, byte [ebp - 0x11]
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 0x430ab0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526480
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x57594c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x230]
call fcn.00408250
mov dword [ebp - 4], 1
mov dword [ebp - 0x24c], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x26c], esp
push str.EXPLORER.EXE
call fcn.004067b0
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
push ecx
mov byte [ebp - 4], 1
call fcn.004307f0
add esp, 0x1c
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
jne 0x430b53
jmp 0x430c29
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x430b69
jmp 0x430c29
mov dword [ebp - 0x264], 0x104
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x430b90
jmp 0x430c29
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x430b9f
jmp 0x430c29
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x250], 0
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.00430660
add esp, 8
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x248]
call fcn.004067b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00409390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.004068e0
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jne 0x430b01
cmp dword [ebp - 0x24c], 0
je 0x430c3f
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406900
mov eax, dword [ebp - 0x254]
or eax, 1
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004068e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret
Function at 0x430c90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5264c6
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x57594c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.004bfe20
add esp, 0xc
push 1
push 0x1a
lea ecx, [ebp - 0x114]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x430d8d
push str.config_systemprofile
lea ecx, [ebp - 0x144]
call fcn.00406b80
mov dword [ebp - 4], 0
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00406b80
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004312a0
cmp eax, dword [0x5523c8]
je 0x430d6c
mov byte [ebp - 0x145], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.00406bc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00406bc0
mov al, byte [ebp - 0x145]
jmp 0x430d8f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.00406bc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00406bc0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret

Function at 0x430db0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5264f8
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x57594c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], 0xffffffff
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x28]
call fcn.00408250
mov dword [ebp - 4], 0
mov dword [ebp - 0x150], 0
push 0x124
push 0
lea eax, [ebp - 0x14c]
push eax
call fcn.004bfe20
add esp, 0xc
mov dword [ebp - 0x150], 0x128
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
mov eax, dword [ebp - 0x148]
cmp eax, dword [ebp + 8]
jne 0x430e5b
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x158], ecx
jmp 0x430e73
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x430e42
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004068e0
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret
Function at 0x430ec0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526552
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x57594c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x28]
call fcn.00408250
mov dword [ebp - 4], 1
mov dword [ebp - 0x150], 0
push 0x124
push 0
lea eax, [ebp - 0x14c]
push eax
call fcn.004bfe20
add esp, 0xc
mov dword [ebp - 0x150], 0x128
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
mov eax, dword [ebp - 0x148]
cmp eax, dword [ebp + 0xc]
jne 0x430f98
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x160], esp
lea edx, [ebp - 0x12c]
push edx
call fcn.00406b80
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00424bd0
jmp 0x430fb0
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x430f52
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406900
mov edx, dword [ebp - 0x158]
or edx, 1
mov dword [ebp - 0x158], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004068e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret
Function at 0x4407f0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
xor eax, eax
push edi
movzx esi, byte [eax + 0x54ec60]
mov edx, esi
mov ecx, esi
shr edx, 7
imul edi, edx, 0x1b000000
shl ecx, 0x19
imul edx, edx, 0x11b
xor edi, ecx
mov ecx, esi
shl ecx, 8
or ecx, esi
shl ecx, 8
or edi, ecx
lea ecx, [esi + esi]
xor edx, ecx
xor ecx, ecx
xor edx, esi
or ecx, edi
or edx, edi
mov dword [eax*8 + 0x57ffb0], ecx
mov dword [eax*8 + 0x57ffb4], edx
inc eax
cmp eax, 0x100
jl 0x4407f4
xorps xmm0, xmm0
pop edi
movlpd qword [0x5807b8], xmm0
movlpd qword [0x5807b0], xmm0
mov byte [0x57ffa0], 1
pop esi
ret

Function at 0x440860
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
lea ecx, [ecx]
movzx edi, byte [edx + 0x54eb60]
mov eax, edi
mov dword [esp + 0x10], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*8]
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*4]
xor ecx, eax
imul eax, edi, 0x11b
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x580a30], eax
mov dword [edx*8 + 0x580a34], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x440870
pop edi
pop esi
pop ebp
mov byte [0x57ff97], 1
pop ebx
add esp, 0x10
ret
Function at 0x4420a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
movdqa xmm0, xmmword [eax]
lea edx, [esi - 1]
pxor xmm0, xmmword [edi]
movdqa xmmword [eax], xmm0
cmp edx, 1
jbe 0x4420ee
add edx, 0xfffffffe
lea ecx, [edi + 0x10]
shr edx, 1
inc edx
mov edi, edi
movdqa xmm0, xmmword [eax]
lea ecx, [ecx + 0x20]
aesenc xmm0, xmmword [ecx - 0x20]
movdqa xmmword [eax], xmm0
aesenc xmm0, xmmword [ecx - 0x10]
movdqa xmmword [eax], xmm0
dec edx
jne 0x4420d0
movdqa xmm0, xmmword [eax]
add esi, esi
aesenc xmm0, xmmword [edi + esi*8 - 0x10]
movdqa xmmword [eax], xmm0
aesenclast xmm0, xmmword [edi + esi*8]
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x442110
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x18]
sub esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movdqa xmm1, xmmword [eax]
movdqa xmm0, xmmword [ecx]
mov eax, dword [ebp + 0x14]
pxor xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
push esi
mov esi, dword [ebp + 0x10]
pxor xmm0, xmm1
movdqa xmmword [edx], xmm0
push edi
mov edi, dword [ebp + 0x1c]
movdqa xmm0, xmmword [esi]
pxor xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
pxor xmm0, xmm1
movdqa xmmword [eax], xmm0
cmp edi, 1
jbe 0x4421c5
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
add edi, 0x10
dec ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
jmp 0x442180
dec dword [esp + 0xc]
lea edi, [edi + 0x10]
movdqa xmm1, xmmword [edi - 0x10]
movdqa xmm0, xmmword [ecx]
aesenc xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesenc xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesenc xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
aesenc xmm0, xmm1
movdqa xmmword [eax], xmm0
jne 0x442180
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add edi, edi
movdqa xmm0, xmmword [ecx]
movdqa xmm1, xmmword [eax + edi*8]
mov eax, dword [ebp + 0x14]
aesenclast xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesenclast xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesenclast xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
aesenclast xmm0, xmm1
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x528450
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x57594c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x57594c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x2c], ebx
cmp byte [ebp + 0x14], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
je 0x443047
mov ecx, dword [esp + 0x20]
mov edi, dword [edi]
mov eax, edi
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x24], edi
mov ecx, dword [ecx + 4]
or eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
je 0x442fc7
lea ebx, [ebx]
test ebx, ebx
je 0x442fc7
mov esi, dword [ebx + 0x14]
sub esi, dword [ebx + 0x10]
test ecx, ecx
ja 0x442f86
jb 0x442f84
cmp edi, esi
jae 0x442f86
mov esi, edi
lea ecx, [ebx + 4]
call fcn.00435e80
mov ecx, dword [esp + 0x1c]
add eax, dword [ebx + 0x10]
push 1
push 0
mov edx, dword [ecx]
push esi
push eax
push dword [esp + 0x28]
call dword [edx + 0x8c]
add dword [ebx + 0x10], esi
sub edi, esi
mov ecx, dword [esp + 0x14]
mov eax, edi
mov ebx, dword [ebx]
sbb ecx, 0
or eax, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
jne 0x442f70
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
call fcn.00442c40
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
cmp ecx, esi
ja 0x442ff3
jb 0x442fed
cmp eax, edi
jae 0x442ff3
lea eax, [esp + 0x2c]
jmp 0x442ff7
lea eax, [esp + 0x24]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x44303a
cmp byte [ebx + 0x24], 0
mov edx, dword [esp + 0x1c]
push 1
push 0
push ecx
push dword [ebx + 0x1c]
mov eax, dword [edx]
mov ecx, edx
push dword [esp + 0x28]
je 0x443023
call dword [eax + 0x8c]
jmp 0x443029
call dword [eax + 0x88]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
add dword [ebx + 0x1c], eax
sub dword [ebx + 0x20], eax
sub edi, eax
sbb esi, 0
mov eax, dword [esp + 0x20]
sub dword [eax], edi
sbb dword [eax + 4], esi
xor eax, eax
jmp 0x4430b9
lea ecx, [esp + 0x34]
call fcn.00433830
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x34]
push dword [0x5809d4]
mov dword [esp + 0x38], vtable.CryptoPP::ByteQueue::Walker.1.0
mov dword [esp + 0x3c], vtable.CryptoPP::ByteQueue::Walker.0
mov dword [esp + 0x44], ebx
call dword [0x553a98]
push 0
push dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x80], 1
push edi
push esi
call fcn.004434b0
push dword [edi + 4]
mov edx, dword [ebx]
mov ecx, ebx
push dword [edi]
mov esi, eax
call dword [edx + 0x54]
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], 0xffffffff
call fcn.00433ab0
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret 0x10