joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cc060
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20
push 0x4e27f8
push str.SoftwareBillP_StudiosWinPatrolActiveX
lea ecx, [ebp - 0x24]
mov edx, 0x80000001
call fcn.004bff10
add esp, 0xc
cmp byte [ebp - 0x24], 0x50
je 0x4cc1b9
test eax, eax
jle 0x4cc0b0
push str.SoftwareBillP_StudiosWinPatrolActiveX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [0x4f8b7c]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x134]
push ecx
push 0
push edx
push 0
push 0
push 0
push str.SoftwareBillP_StudiosWinPatrolActiveX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4cc0ee
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4f3f80
lea ecx, [ebp - 0x130]
push 0x104
push ecx
call fcn.00402ee0
add esp, 0xc
push 0x4e27f8
push str.SoftwareBillP_StudiosWinPatrolActiveX
lea ecx, [ebp - 0x130]
mov edx, 0x80000001
call fcn.004c0250
add esp, 8
cmp dword [0x505890], 0
je 0x4cc132
call fcn.004c2580
push 0
call fcn.00402220
xor esi, esi
add esp, 4
cmp dword [0x505890], esi
jle 0x4cc1b9
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
lea esp, [esp]
push esi
lea ebx, [ebp - 0x130]
call fcn.004c23e0
mov edx, dword [esi*4 + 0x501878]
add esp, 4
push edx
xor ebx, ebx
call edi
test eax, eax
je 0x4cc183
mov ebx, dword [eax + 0x288]
mov eax, dword [esi*4 + 0x501878]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0x4e8d64
lea ecx, [ebp - 0x24]
push 0x20
push ecx
call fcn.00402ee0
lea edx, [ebp - 0x130]
push edx
push str.SoftwareBillP_StudiosWinPatrolActiveX
lea ecx, [ebp - 0x24]
mov edx, 0x80000001
call fcn.004c0250
inc esi
add esp, 0x18
cmp esi, dword [0x505890]
jl 0x4cc150
cmp dword [0x505890], 0
je 0x4cc1c7
call fcn.004c2580
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret

Function at 0x4cd6e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea edi, [ebp - 0x110]
call fcn.0047c070
push str.WinPatrol.exe
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [ebp - 0x228]
call fcn.004010b0
push str.LaunchRestartParam
mov esi, str._RESTART
call fcn.0047da70
mov edx, dword [0x4fbdcc]
add esp, 4
push 1
mov eax, edi
push eax
push esi
lea ecx, [ebp - 0x228]
push ecx
push str.open
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x4cdda0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
lea eax, [ebp - 0x3a0]
push 0
push eax
call fcn.004d29c0
add esp, 0xc
lea ecx, [ebp - 0x3a0]
push ecx
mov dword [ebp - 0x3a0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x39c], 6
jne 0x4cde3e
cmp dword [ebp - 0x398], 1
jbe 0x4cde3e
push 0x100
lea edx, [ebp - 0x108]
mov ecx, 0x550
call fcn.004ca1e0
add esp, 4
lea edx, [ebp - 0x108]
push edx
push str._r__o__c___s_
lea eax, [ebp - 0x308]
push 0x200
push eax
call fcn.00402ee0
push 0
push str.ShutDown.exe
lea edx, [ebp - 0x308]
xor ecx, ecx
call fcn.004802c0
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x4cf2b6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f72bc]
jne 0x4cf2c0
repz ret
jmp fcn.004d2a6c

Function at 0x4da275
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004d4866
and dword [ebp - 0x14], 0
cmp dword [0x4fb3dc], 0
mov dword [ebp - 0x18], eax
jne 0x4da328
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4da3d0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4da3d0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4fb3dc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4fb3e0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4fb3e4], eax
call edi
push eax
call esi
mov dword [0x4fb3ec], eax
test eax, eax
je 0x4da328
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4fb3e8], eax
mov eax, dword [0x4fb3e8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4da381
cmp dword [0x4fb3ec], ecx
je 0x4da381
push eax
call esi
push dword [0x4fb3ec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4da381
test ebx, ebx
je 0x4da381
call edi
test eax, eax
je 0x4da378
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4da378
test byte [ebp - 8], 1
jne 0x4da381
or dword [ebp + 0x10], 0x200000
jmp 0x4da3b4
mov eax, dword [0x4fb3e0]
cmp eax, dword [ebp - 0x18]
je 0x4da3b4
push eax
call esi
test eax, eax
je 0x4da3b4
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4da3b4
mov eax, dword [0x4fb3e4]
cmp eax, dword [ebp - 0x18]
je 0x4da3b4
push eax
call esi
test eax, eax
je 0x4da3b4
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4fb3dc]
call esi
test eax, eax
je 0x4da3d0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4da3d2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
leave
ret
Function at 0x405240
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor ecx, ecx
test edi, edi
jle 0x40526e
push ebx
push esi
mov esi, dword [esp + 0x10]
mov al, cl
mov bl, 3
imul cl
mov dl, al
mov al, cl
imul bl
mov bl, byte [ecx + esi]
xor dl, al
xor bl, dl
mov byte [ecx + esi], bl
inc ecx
cmp ecx, edi
jl 0x405251
pop esi
pop ebx
pop edi
ret

Function at 0x405320
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
test ecx, ecx
jle 0x405337
mov dl, byte [eax]
xor dl, 0x80
mov byte [eax], dl
inc eax
dec ecx
jne 0x40532c
ret
Function at 0x431980
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push edi
lea edi, [ecx + eax]
cmp ecx, edi
jge 0x4319b5
push ebx
push esi
mov esi, dword [esp + 0x14]
sub esi, ecx
mov al, cl
mov bl, 3
imul cl
mov dl, al
mov al, cl
imul bl
mov bl, byte [esi + ecx]
xor dl, al
xor bl, dl
mov byte [esi + ecx], bl
inc ecx
cmp ecx, edi
jl 0x431998
pop esi
pop ebx
pop edi
ret

Function at 0x433010
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
xor ecx, ecx
test edx, edx
jle 0x43302c
push ebx
mov bl, byte [eax]
xor bl, cl
mov byte [eax], bl
inc eax
inc ecx
cmp ecx, edx
jl 0x43301f
pop ebx
ret
Function at 0x449d20
Capabilities:
Parse credit card information
Parse pe header

Disassembly:
mov al, byte [esp + 4]
cmp al, 0x41
jl 0x449d33
cmp al, 0x5a
jg 0x449d33
movsx eax, al
sub eax, 0x26
ret
cmp al, 0x61
jl 0x449d42
cmp al, 0x7a
jg 0x449d42
movsx eax, al
sub eax, 0x60
ret
cmp al, 0x30
jl 0x449d51
cmp al, 0x39
jg 0x449d51
movsx eax, al
add eax, 6
ret
cmp al, 0x20
jne 0x449d5b
mov eax, 0x35
ret
movsx ecx, al
cmp ecx, 0x2222
jne 0x449d6c
mov eax, 0x40
ret
cmp al, 0x3a
jne 0x449d76
mov eax, 0x42
ret
cmp al, 0x28
jne 0x449d80
mov eax, 0x43
ret
cmp al, 0x29
jne 0x449d8a
mov eax, 0x44
ret
cmp al, 0x21
jne 0x449d94
mov eax, 0x45
ret
cmp al, 0x40
jne 0x449d9e
mov eax, 0x46
ret
cmp al, 0x23
jne 0x449da8
mov eax, 0x47
ret
cmp al, 0x24
jne 0x449db2
mov eax, 0x48
ret
cmp al, 0x25
jne 0x449dbc
mov eax, 0x49
ret
cmp al, 0x3f
jne 0x449dc6
mov eax, 0x4a
ret
cmp al, 0x26
jne 0x449dd0
mov eax, 0x4b
ret
cmp al, 0x2a
jne 0x449dda
mov eax, 0x4c
ret
cmp al, 0x2b
jne 0x449de4
mov eax, 0x4d
ret
cmp al, 0x2d
jne 0x449dee
mov eax, 0x4f
ret
cmp al, 0x2f
jne 0x449df8
mov eax, 0x50
ret
cmp al, 0x5c
jne 0x449e02
mov eax, 0x51
ret
cmp al, 0x2c
jne 0x449e0c
mov eax, 0x52
ret
cmp al, 0x2e
jne 0x449e16
mov eax, 0x53
ret
cmp al, 0x27
jne 0x449e20
mov eax, 0x54
ret
cmp al, 0x7c
jne 0x449e2a
mov eax, 0x55
ret
cmp al, 0x7b
jne 0x449e34
mov eax, 0x56
ret
cmp al, 0x7d
jne 0x449e3e
mov eax, 0x57
ret
cmp al, 0x5b
jne 0x449e48
mov eax, 0x58
ret
cmp al, 0x5d
jne 0x449e52
mov eax, 0x59
ret
cmp al, 0x7e
jne 0x449e5c
mov eax, 0x5a
ret
cmp al, 0x3b
jne 0x449e66
mov eax, 0x5b
ret
cmp al, 0x5f
jne 0x449e70
mov eax, 0x5c
ret
cmp al, 0x5e
jne 0x449e7a
mov eax, 0x5d
ret
sub al, 0x3d
neg al
sbb eax, eax
and al, 0xd7
add eax, 0x5e
ret
Function at 0x44c100
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov al, byte [0x4e2b14]
sub esp, 8
test al, al
jne 0x44c15f
mov eax, dword [0x4e2924]
lea ecx, [eax + 0x290]
call fcn.0044c3b0
test al, al
je 0x44c15f
lea ecx, [esp]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x44c147
fild dword [esp]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fild dword [esp + 4]
fstp dword [eax]
add esp, 8
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0
add esp, 8
ret
mov eax, dword [0x4e2924]
lea ecx, [eax + 0x290]
call fcn.0044c3b0
test al, al
jne 0x44c217
lea ecx, [esp]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x44c1ef
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esi*4 + 0x4e2970]
push edx
call fcn.0044bc20
fild dword [esp + 8]
fld dword [0x4e287c]
fmul dword [0x498228]
mov eax, dword [esp + 0x18]
fsubp st(1)
fmulp st(1)
fmul dword [0x77ad8c]
fadd dword [eax]
fstp dword [eax]
mov eax, dword [esi*4 + 0x4e2970]
push eax
call fcn.0044bc20
fild dword [esp + 0x10]
fld dword [0x4ba780]
fmul dword [0x498228]
mov eax, dword [esp + 0x20]
add esp, 8
fsubp st(1)
pop esi
fmulp st(1)
fmul dword [0x77ad88]
fadd dword [eax]
fstp dword [eax]
jmp 0x44c203
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [0x4e2b10]
jne 0x44c2b4
jmp 0x44c28a
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x44c268
fild dword [esp]
fld dword [0x4e287c]
fmul dword [0x498228]
mov eax, dword [esp + 0x10]
fsubp st(1)
fmul dword [0x77ad8c]
fadd dword [eax]
fstp dword [eax]
fild dword [esp + 4]
fld dword [0x4ba780]
fmul dword [0x498228]
mov eax, dword [esp + 0x14]
fsubp st(1)
fmul dword [0x77ad88]
fadd dword [eax]
fstp dword [eax]
jmp 0x44c27c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [0x4e2b10]
jne 0x44c2b4
fld dword [0x4ba780]
fmul dword [0x498228]
call fcn.0048b38c
fld dword [0x4e287c]
fmul dword [0x498228]
push eax
call fcn.0048b38c
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
add esp, 8
ret

Function at 0x45348c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4534e4
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4534e4
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x4534e4
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x45350d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x45357b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x453572
cmp dword [ebp - 0xc], 4
jne 0x453572
cmp dword [ebp - 0x10], edi
je 0x453572
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x4ae008], edi
xor eax, eax
jmp 0x4535a3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x4ae008], edi
jge 0x45359e
mov dword [0x4ae008], edi
call fcn.004534e8
test eax, eax
je 0x45359e
emms
mov dword [0x4ae008], 1
mov eax, dword [0x4ae008]
pop edi
leave
ret

Function at 0x453683
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4536ba
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x4536dc
cmp dword [ebp - 0x20], 4
ja 0x4536e6
jne 0x4536d6
cmp dword [ebp - 0x1c], 0xa
jb 0x4536d6
cmp word [ebp - 0x18], 0x55d
jae 0x4536e6
mov byte [ebp + 0x73], 1
jmp 0x4536e6
cmp dword [ebp - 0x14], 2
jne 0x4536fc
test bl, bl
je 0x453717
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x453707
dec eax
je 0x453700
sub eax, 3
jne 0x4536fc
cmp byte [ebp + 0x73], 0
je 0x453728
xor eax, eax
jmp 0x453730
call fcn.004535a6
jmp 0x453730
cmp byte [ebp + 0x73], 0
jne 0x4536fc
call fcn.004535de
and eax, 4
jmp 0x453730
cmp dword [ebp + 0x7c], 0xa
je 0x453728
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x453730
call fcn.004535de
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x455ed8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x455ff9
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x455fdd
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x455f2f
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x455f0d
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x4562c5
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x45640c
mov edx, 0xf81f
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x4563e7
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff07e0
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x1002]
mov ebp, eax
and ebp, 0xffff07e0
add ebp, ecx
mov ecx, edi
and ecx, 0xffff07e0
add ebp, ecx
mov ecx, esi
and ecx, 0xffff07e0
shr ebx, 2
lea ecx, [ecx + ebp + 0x40]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff07e0
lea eax, [eax + esi + 0x1002]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x45632e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x456305
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x456539
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
mov edx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
add ebp, edx
cmp edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebp
jae 0x45667f
mov eax, 0x83e0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [edx + esi*2]
mov dword [esp + 0x10], ebx
add edi, edx
cmp edx, esi
mov ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x45665a
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx edx, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
and ebp, eax
mov ebx, edx
and ebx, eax
add ebx, ebp
mov ebp, edi
and ebp, eax
add ebx, ebp
mov dword [esp + 0x24], ecx
and ecx, 0x7c1f
mov ebp, esi
and ebp, eax
lea ebx, [ebx + ebp + 0x10040]
mov ebp, edx
and ebp, 0x7c1f
add ebp, ecx
mov ecx, edi
and ecx, 0x7c1f
add ebp, ecx
mov ecx, esi
and ecx, 0x7c1f
lea ecx, [ecx + ebp + 0x802]
shr ecx, 2
shr ebx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and ecx, eax
and edx, eax
add edx, ecx
and edi, eax
add edx, edi
mov edi, dword [esp + 0x1c]
and esi, eax
and ebx, 0xffff7c1f
lea ecx, [edx + esi + 0x10040]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [ecx], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x4565a2
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x456579
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x456688
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x4567d2
mov edx, 0xf0f0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x4567ad
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff0f0f
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x2020]
mov ebp, eax
and ebp, 0xffff0f0f
add ebp, ecx
mov ecx, edi
and ecx, 0xffff0f0f
add ebp, ecx
mov ecx, esi
and ecx, 0xffff0f0f
shr ebx, 2
lea ecx, [ecx + ebp + 0x202]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff0f0f
lea eax, [eax + esi + 0x2020]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x4566f1
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x4566c8
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x4567db
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
push edi
mov edi, dword [edx + 0x1050]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x456911
push ebx
mov edx, dword [edx + 0x1058]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x4568ec
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0x1c
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 8]
mov ecx, eax
and ecx, 0xffff00e3
mov ebx, ebp
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00e3
shr edx, 2
lea ecx, [ecx + ebx + 0x42]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xe3
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0x1c
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x42]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x45683a
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1050]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1050]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x456816
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret