joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458830
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00482ebf
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004581d0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00482ded
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047f6ae
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047f6ae
push 1
push 0
push 0
mov ecx, esi
call fcn.0047f656
push 1
push 0
push 1
mov ecx, esi
call fcn.0047f656
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00482f31
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4589b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00482ebf
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004581d0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00482ded
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x458a74
cmp dword [esp + 0x40], 1
jne 0x458a72
cmp ecx, eax
jge 0x458a74
mov eax, ecx
cmp eax, 0xc8
jge 0x458a80
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00458830
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00482f31
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4591f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489d33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047dacf
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00483167
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00484683
test eax, eax
je 0x45930c
mov ecx, dword [esp + 0x3c]
call fcn.00483194
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4592d0
push edi
mov ecx, esi
call fcn.004807fc
mov ecx, esi
call fcn.00459470
cmp dword [esp + 0x38], 1
jne 0x459305
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00480937
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x45bd30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45bd63
push esi
call fcn.0045ee20
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45bd5c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45bde9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45bdd2
mov eax, dword [esi + 8]
test eax, eax
je 0x45bd87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45bdce
cmp eax, 2
je 0x45bdd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45bd7a
cmp eax, 3
je 0x45bdad
cmp eax, 1
jne 0x45bd7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45bd7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45bd7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045be10
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45bdf8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045be10
add esp, 4
pop esi
ret
Function at 0x4686e0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46872a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x468759
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x46879b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x47e8c4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47e8fc
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.0047c97b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047c953
jmp 0x47e908
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47ffb6
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 0x47fff8
call fcn.00485a73
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47fff8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47ffef
xor eax, eax
jmp 0x480000
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00480006
pop edi
pop esi
pop ebx
ret 4

Function at 0x485fa3
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 0x485fd1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x485fef
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00485f09
jmp 0x485fef
mov eax, dword [esi + 0x14]
test eax, eax
je 0x485fef
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00485f09
test edi, edi
mov eax, edi
jne 0x485fd9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40d72a
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a7014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0x28
mov dword [ebp - 0x18], esi
call dword [0x482350]
push eax
call dword [0x48205c]
test eax, eax
je 0x40d7a0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push str.SeDebugPrivilege
push esi
mov dword [ebp - 0x1c], esi
call dword [0x4820b8]
test eax, eax
je 0x40d7a0
mov eax, dword [ebp - 0x20]
push esi
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [0x4820bc]
test eax, eax
jne 0x40d7a7
call fcn.0040cc0f
mov esi, eax
cmp dword [ebp - 0x18], 0
je 0x40d7b6
push dword [ebp - 0x18]
call dword [0x482140]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004684b5
mov esp, ebp
pop ebp
ret
Function at 0x41a4ee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x10
pop edi
mov ecx, dword [esi]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx], eax
mov ecx, dword [esi + 4]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx + 4], eax
mov ecx, dword [esi + 8]
sub ecx, edi
call fcn.00402d5b
add eax, edi
lea ecx, [ebx + 0xc]
mov dword [ebx + 8], eax
lea eax, [esi + 0xc]
push eax
call fcn.0041a70f
mov ecx, dword [esi + 0x18]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx + 0x18], eax
mov ecx, dword [esi + 0x1c]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx + 0x1c], eax
mov ecx, dword [esi + 0x20]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx + 0x20], eax
mov ecx, dword [esi + 0x24]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx + 0x24], eax
mov ecx, dword [esi + 0x28]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx + 0x28], eax
mov ecx, dword [esi + 0x2c]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov ecx, dword [esi + 0x38]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx + 0x38], eax
mov ecx, dword [esi + 0x3c]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx + 0x3c], eax
mov ecx, dword [esi + 0x40]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx + 0x40], eax
mov al, byte [esi + 0x44]
mov byte [ebx + 0x44], al
mov al, byte [esi + 0x45]
mov byte [ebx + 0x45], al
mov ecx, dword [esi + 0x48]
sub ecx, edi
call fcn.00402d5b
add eax, edi
mov dword [ebx + 0x48], eax
mov al, byte [esi + 0x4c]
mov byte [ebx + 0x4c], al
mov ecx, dword [esi + 0x50]
sub ecx, edi
call fcn.00402d5b
add eax, edi
lea ecx, [ebx + 0x54]
mov dword [ebx + 0x50], eax
lea eax, [esi + 0x54]
push eax
call fcn.0041a681
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x70], eax
mov ecx, dword [esi + 0x74]
sub ecx, edi
call fcn.00402d5b
add eax, edi
lea ecx, [ebx + 0x78]
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
sar eax, 3
push eax
call fcn.0041a767
test al, al
je 0x41a676
mov edi, dword [esi + 0x7c]
mov ecx, dword [ebx + 0x78]
mov esi, dword [esi + 0x78]
jmp 0x41a66f
test ecx, ecx
je 0x41a669
push esi
call fcn.004188f4
add ecx, 8
add esi, 8
cmp esi, edi
jne 0x41a65f
mov dword [ebx + 0x7c], ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x444e45
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4a7014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x124], edi
mov esi, ebx
lea edx, [edi + 0x10]
movzx ecx, byte [edx]
lea edx, [edx + 4]
movzx eax, byte [edx - 3]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx - 2]
shl eax, 8
or ecx, eax
movzx eax, byte [edx - 1]
or ecx, eax
mov dword [ebp + esi*4 - 0x104], ecx
inc esi
cmp esi, 0x10
jl 0x444e6a
push 0x40
pop eax
cmp esi, eax
jge 0x444ef2
sub eax, esi
lea ebx, [ebp + esi*4 - 0x10c]
mov dword [ebp - 0x108], eax
mov edi, eax
mov ecx, dword [ebx]
mov esi, ecx
mov edx, dword [ebx - 0x34]
lea ebx, [ebx + 4]
mov eax, ecx
rol esi, 0xf
rol eax, 0xd
xor esi, eax
shr ecx, 0xa
xor esi, ecx
mov eax, edx
mov ecx, edx
ror eax, 7
rol ecx, 0xe
xor ecx, eax
shr edx, 3
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub edi, 1
jne 0x444eb0
mov edi, dword [ebp - 0x124]
xor ebx, ebx
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x120], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x10c], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x11c], eax
mov eax, dword [edi + 0x6c]
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x108], eax
mov ecx, edx
mov esi, edi
xor ecx, edi
ror esi, 0xd
and ecx, dword [ebp - 0x114]
and edx, edi
xor ecx, edx
mov eax, edi
rol eax, 0xa
xor esi, eax
mov eax, edi
ror eax, 2
xor esi, eax
add esi, ecx
mov ecx, dword [ebp - 0x10c]
mov edx, ecx
mov eax, ecx
rol eax, 7
ror edx, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
not ecx
and ecx, dword [ebp - 0x11c]
xor edx, eax
mov eax, dword [ebp - 0x118]
and eax, dword [ebp - 0x10c]
xor ecx, eax
mov eax, dword [ebp - 0x11c]
add edx, ecx
mov ecx, dword [ebp - 0x120]
add edx, dword [ebx + 0x48e8a0]
add edx, dword [ebp + ebx - 0x104]
add ebx, 4
add edx, dword [ebp - 0x108]
mov dword [ebp - 0x108], eax
add ecx, edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x110], edi
lea edi, [edx + esi]
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], eax
cmp ebx, 0x100
jl 0x444f46
mov eax, dword [ebp - 0x12c]
add eax, edi
mov edi, dword [ebp - 0x124]
add dword [edi + 0x60], ecx
add dword [edi + 0x54], edx
mov ecx, dword [ebp - 0x118]
add dword [edi + 0x64], ecx
mov edx, dword [ebp - 0x114]
add dword [edi + 0x58], edx
mov ecx, dword [ebp - 0x11c]
add dword [edi + 0x68], ecx
mov ecx, dword [ebp - 0x108]
add dword [edi + 0x6c], ecx
mov edx, dword [ebp - 0x120]
add dword [edi + 0x5c], edx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x50], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004684b5
mov esp, ebp
pop ebp
ret
Function at 0x44506a
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], fcn.0044506a
mov dword [eax + 0x50], 0x6a09e667
mov dword [eax + 0x54], 0xbb67ae85
mov dword [eax + 0x58], 0x3c6ef372
mov dword [eax + 0x5c], 0xa54ff53a
mov dword [eax + 0x60], 0x510e527f
mov dword [eax + 0x64], 0x9b05688c
mov dword [eax + 0x68], 0x1f83d9ab
mov dword [eax + 0x6c], 0x5be0cd19
and dword [eax + 8], 0
and dword [eax + 0xc], 0
pop ebp
ret

Function at 0x447684
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push 9
sub edx, ecx
pop esi
mov eax, dword [edx + ecx]
xor eax, dword [ecx]
and eax, dword [ebp + 8]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x44768d
pop esi
pop ebp
ret

Function at 0x44802b
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x4a7014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x158], edi
mov esi, ebx
lea edx, [edi + 0x10]
movzx ecx, byte [edx]
lea edx, [edx + 4]
movzx eax, byte [edx - 3]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx - 2]
shl eax, 8
or ecx, eax
movzx eax, byte [edx - 1]
or ecx, eax
mov dword [ebp + esi*4 - 0x144], ecx
inc esi
cmp esi, 0x10
jl 0x448050
cmp esi, 0x50
jge 0x4480a7
push 0x50
pop edx
lea ecx, [ebp + esi*4 - 0x17c]
sub edx, esi
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
sub edx, 1
jne 0x44808f
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x148], eax
mov eax, dword [edi + 0x60]
mov edi, dword [ebp - 0x148]
mov dword [ebp - 0x14c], ecx
jmp 0x4480dc
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x150]
rol edx, 5
add edx, dword [ebp + ebx*4 - 0x144]
add edx, eax
cmp ebx, 0x14
jge 0x448102
mov eax, ecx
xor eax, esi
and eax, edi
xor eax, ecx
add eax, 0x5a827999
jmp 0x448141
cmp ebx, 0x28
jge 0x448114
mov eax, ecx
xor eax, esi
xor eax, edi
add eax, 0x6ed9eba1
jmp 0x448141
cmp ebx, 0x3c
jge 0x448136
mov ecx, esi
mov eax, esi
or ecx, edi
and eax, edi
and ecx, dword [ebp - 0x14c]
or eax, ecx
mov ecx, dword [ebp - 0x14c]
add eax, 0x8f1bbcdc
jmp 0x448141
mov eax, ecx
xor eax, esi
xor eax, edi
add eax, 0xca62c1d6
add eax, edx
mov dword [ebp - 0x14c], esi
mov edx, ecx
mov ecx, esi
mov esi, edi
mov dword [ebp - 0x148], edx
mov edi, dword [ebp - 0x150]
ror esi, 2
inc ebx
mov dword [ebp - 0x150], eax
cmp ebx, 0x50
jl 0x4480d6
add eax, dword [ebp - 0x154]
mov dword [ebp - 0x148], edi
mov edi, dword [ebp - 0x158]
add dword [edi + 0x5c], ecx
add dword [edi + 0x58], esi
add dword [edi + 0x60], edx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x50], eax
xor ecx, ebp
mov eax, dword [ebp - 0x148]
add dword [edi + 0x54], eax
pop edi
pop esi
pop ebx
call fcn.004684b5
mov esp, ebp
pop ebp
ret
Function at 0x4481a6
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], fcn.004481a6
mov dword [eax + 0x50], 0x67452301
mov dword [eax + 0x54], 0xefcdab89
mov dword [eax + 0x58], 0x98badcfe
mov dword [eax + 0x5c], 0x10325476
mov dword [eax + 0x60], 0xc3d2e1f0
and dword [eax + 8], 0
and dword [eax + 0xc], 0
pop ebp
ret

Function at 0x4484c1
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], fcn.004484c1
mov dword [eax + 0x50], 0x67452301
mov dword [eax + 0x54], 0xefcdab89
mov dword [eax + 0x58], 0x98badcfe
mov dword [eax + 0x5c], 0x10325476
and dword [eax + 8], 0
and dword [eax + 0xc], 0
pop ebp
ret

Function at 0x45aaaa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4a7014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], eax
xor esi, esi
mov dword [ebp - 0xc], esi
cmp dword [edi], esi
jle 0x45aaf9
push dword [eax + 4]
mov ecx, ebx
call fcn.004588d6
mov eax, dword [edi + 8]
mov eax, dword [eax + esi*4]
mov ecx, eax
sar ecx, 0x1f
add eax, eax
xor ecx, eax
push ecx
mov ecx, ebx
call fcn.004588d6
mov eax, dword [ebp - 8]
inc esi
cmp esi, dword [edi]
jl 0x45aad0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004684b5
mov esp, ebp
pop ebp
ret

Function at 0x45ab0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4a7014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 8], esi
cmp dword [edi], esi
je 0x45ab5e
push dword [edx + 4]
mov ecx, ebx
call fcn.004588d6
push dword [edi + 0xc]
mov ecx, ebx
call fcn.004588d6
cmp dword [edi], esi
jle 0x45ab5e
mov eax, dword [edi + 8]
mov eax, dword [eax + esi*4]
mov ecx, eax
sar ecx, 0x1f
add eax, eax
xor ecx, eax
push ecx
mov ecx, ebx
call fcn.004588d6
inc esi
cmp esi, dword [edi]
jl 0x45ab42
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004684b5
mov esp, ebp
pop ebp
ret
Function at 0x45e73c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor eax, eax
mov ebx, edx
push esi
mov esi, eax
mov dword [ebp - 8], eax
push edi
mov edi, ecx
cmp dword [ebp + 0x10], eax
jb 0x45e7f4
ja 0x45e763
cmp dword [ebp + 0xc], eax
jbe 0x45e7f4
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp + 8]
mov dl, byte [esi + eax]
mov byte [ebp - 1], dl
jne 0x45e78d
mov ax, word [edi + 0x14]
or ax, 2
movzx eax, ax
mov ecx, eax
xor ecx, 1
imul ecx, eax
shr ecx, 8
xor dl, cl
mov byte [ebp - 1], dl
test ebx, ebx
je 0x45e794
mov byte [esi + ebx], dl
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 1]
not ecx
push 1
call fcn.0045e1b5
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 1]
not eax
not ecx
mov dword [edi + 0xc], eax
movzx eax, al
add eax, dword [edi + 0x10]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [edi + 0x10], eax
shr eax, 0x18
mov byte [ebp - 1], al
call fcn.0045e1b5
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
add esi, 1
not eax
adc ecx, 0
mov dword [edi + 0x14], eax
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x45e763
ja 0x45e7f4
cmp esi, dword [ebp + 0xc]
jb 0x45e763
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret