joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402673
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
test eax, eax
jle 0x402685
mov eax, dword [esi]
call dword [eax]
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x10]
push 0
push ecx
push 4
push edi
push ebx
mov dword [esp + 0x24], 0
call ebp
cmp dword [edi], 0
jle 0x402761
lea edx, [esp + 0x10]
push 0
lea eax, [esi + 0x18]
push edx
push 4
push eax
push ebx
call ebp
lea ecx, [esp + 0x10]
push 0
lea eax, [esi + 0x20]
push ecx
push 4
push eax
push ebx
call ebp
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov ecx, dword [edi]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00402590
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x402723
mov ecx, dword [esi + 0x24]
push eax
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
lea eax, [eax + eax*2]
shl eax, 2
push eax
push ecx
push ebx
call ebp
mov edi, dword [edi]
mov esi, dword [esi + 0x24]
lea edx, [edi + edi*2]
pop edi
mov ecx, dword [esi + edx*4 - 0xc]
lea eax, [esi + edx*4]
pop esi
pop ebp
mov dword [eax], ecx
mov edx, dword [eax - 8]
mov dword [eax + 4], edx
mov ecx, dword [eax - 4]
mov dword [eax + 8], ecx
mov al, 1
pop ebx
pop ecx
ret 4
cmp eax, 1
jne 0x402761
mov eax, dword [edi]
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x10]
push 0
shl eax, 4
push edx
push eax
push ecx
push ebx
call ebp
mov edx, dword [edi]
mov esi, dword [esi + 0x24]
shl edx, 4
lea eax, [edx + esi]
lea ecx, [eax - 0x10]
mov edx, dword [eax - 0x10]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 4
Function at 0x40ddb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a34e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, ecx
mov al, byte [esi]
push 0
lea ecx, [esp + 0xc]
mov byte [esp + 0xc], al
call fcn.00401340
mov ecx, dword [0x4a7880]
push ecx
push 0
push esi
lea ecx, [esp + 0x14]
call fcn.00401850
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], 0
test eax, eax
je 0x40de27
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40de1b
lea ecx, [esp + 8]
call fcn.0040e7a0
mov eax, dword [esp + 0xc]
jmp 0x40de20
mov eax, 0x4a7874
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
mov eax, dword [0x4c926c]
mov ecx, dword [0x4c9270]
test eax, eax
jne 0x40de3b
mov eax, 0x4a7874
push ecx
push 0
push eax
lea ecx, [esp + 0x14]
call fcn.0040e710
test eax, eax
jl 0x40dea5
mov edx, dword [0x4a7880]
mov eax, dword [0x4c9270]
push edx
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
call fcn.0040e580
mov ecx, dword [0x4a7880]
mov byte [esp + 0x30], 1
push ecx
push 0
push eax
lea ecx, [edi + 0x18]
call fcn.00401850
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40debb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40de9a
cmp al, 0xff
je 0x40de9a
dec al
mov byte [ecx], al
jmp 0x40debb
push ecx
call fcn.0048c371
add esp, 4
jmp 0x40debb
mov edx, dword [0x4a7880]
lea eax, [esp + 8]
push edx
push 0
push eax
lea ecx, [edi + 0x18]
call fcn.00401850
mov ecx, dword [esp + 0xc]
pop edi
test ecx, ecx
pop esi
je 0x40def0
mov al, byte [ecx - 1]
test al, al
je 0x40dee6
cmp al, 0xff
je 0x40dee6
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
dec ecx
push ecx
call fcn.0048c371
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x40e520
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, ecx
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x14]
push 4
push edx
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
call ebx
mov ecx, dword [esp + 0xc]
test ecx, ecx
jle 0x40e572
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x40e566
mov eax, 0x4a7874
lea edx, [esp + 0x10]
push 0
push edx
push ecx
push eax
push edi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
add esp, 8
ret 4
Function at 0x412f80
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4a3616
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x2c], ebp
call fcn.00402e50
xor ebx, ebx
lea esi, [ebp + 0x28]
mov dword [ebp], fcn.00413200
mov dword [ebp + 0x1c], ebx
mov ecx, 0x45
xor eax, eax
mov edi, esi
mov dword [0x4e657c], ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x138]
mov dword [esp + 0x238], ebx
push eax
mov dword [ebp + 0x20], 0xffffffff
mov dword [ebp + 0x24], 1
call fcn.0048c371
add esp, 4
mov ecx, 0x45
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push 0xdc
mov dword [ebp + 0x18], ebx
call sub.d3d8.dll_Direct3DCreate8
cmp eax, ebx
mov dword [ebp + 0x18], eax
jne 0x413033
push ebx
push str.Initialization
push str.Direct3D8_is_not_installed_or_lower_version.
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, ebp
call fcn.00413200
push 0xffffffffffffffff
call fcn.0047789c
cmp dword [0x4c9270], ebx
jne 0x41311f
lea eax, [esp + 0x30]
push 0x100
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
lea ecx, [esp + 0x134]
push ebx
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00477728
lea ecx, [esp + 0x144]
lea edx, [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x4c]
push str._s_s
push eax
call fcn.0047711f
mov cl, byte [esp + 0x37]
lea edi, [esp + 0x54]
mov byte [esp + 0x3c], cl
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
lea ecx, [esp + 0x1c]
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
call fcn.004013b0
test al, al
je 0x4130e5
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [eax + ecx], bl
lea edx, [esp + 0x18]
mov byte [esp + 0x238], 1
push edx
call fcn.00403580
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, ebx
je 0x41311f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x413116
cmp al, 0xff
je 0x413116
dec al
mov byte [ecx], al
jmp 0x41311f
push ecx
call fcn.0048c371
add esp, 4
mov ecx, dword [esp + 0x230]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret
Function at 0x416820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a36c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0040db20
mov al, byte [esp + 0xf]
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov byte [esi + 0xe8], al
mov dword [esi + 0xec], ebp
mov dword [esi + 0xf0], ebp
mov dword [esi + 0xf4], ebp
lea ecx, [esi + 0xf8]
mov byte [esp + 0x2c], 1
call fcn.00415c70
mov eax, dword [esi + 4]
mov dword [esi], 0x4a7a54
or ah, 8
lea edx, [esi + 0x7c]
mov dword [esi + 4], eax
mov eax, 0x3f800000
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x74], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x38], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esi + 0x70], ebp
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x3c], ebp
mov ecx, 0x17
xor eax, eax
mov edi, edx
mov dword [esi + 0x78], 1
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
mov ecx, edx
mov dword [edx + 0x44], 4
mov dword [edx + 0x48], ebp
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 0x4c], 2
mov dword [edx + 0x50], ebp
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x54], 5
mov dword [edx + 0x58], 6
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0xc], eax
mov ecx, dword [edx + 0xc]
fld dword [edx]
fmul dword [0x4a7884]
mov dword [edx + 0x1c], ecx
fstp dword [edx + 0x10]
fld dword [edx + 4]
fmul dword [0x4a7884]
fstp dword [edx + 0x14]
fld dword [edx + 8]
fmul dword [0x4a7884]
fstp dword [edx + 0x18]
mov dword [esi + 0xd8], 0x41200000
mov dword [esi + 0x124], ebp
mov dword [esi + 0xdc], ebp
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xe4], ebp
mov dword [esi + 0xe0], ebp
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x41d250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a3834
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0040db20
xor edi, edi
lea ecx, [esi + 0x94]
mov dword [esp + 0x14], edi
call fcn.004024e0
lea ecx, [esi + 0xbc]
mov byte [esp + 0x14], 1
call fcn.004024e0
lea ecx, [esi + 0xe4]
mov byte [esp + 0x14], 2
call fcn.004024e0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0xc]
or al, 8
mov dword [esi], fcn.0041d3e0
mov dword [esi + 4], eax
mov eax, 0x3f800000
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x8c], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x110], edi
mov dword [esi + 0x10c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x423050
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, ecx
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov al, byte [esi + 0x2c]
push 0
mov ebx, 1
push ecx
lea edx, [esp + 0x1b]
push ebx
push edx
push edi
mov dword [esp + 0x28], 0
mov byte [esp + 0x27], al
call ebp
mov al, byte [esi + 0x30]
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x1b]
push ebx
push edx
push edi
mov byte [esp + 0x27], al
call ebp
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x40]
push 4
push ecx
push edi
call ebp
mov dl, byte [esi + 0x3c]
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x1b]
push ebx
push ecx
push edi
mov byte [esp + 0x27], dl
call ebp
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esi + 0x54]
push 0xc
push eax
push edi
call ebp
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esi + 0x60]
push 0xc
push edx
push edi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x6c]
push 0xc
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esi + 0xa4]
push ebx
push eax
push edi
call ebp
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esi + 0x98]
push 0xc
push edx
push edi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x1b0]
push 4
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esi + 0x1b4]
push 4
push eax
push edi
call ebp
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esi + 0xa5]
push 0x104
push edx
push edi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x1c4]
push 4
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esi + 0x1c8]
push 4
push eax
push edi
call ebp
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esi + 0x1b8]
push 4
push edx
push edi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x1bc]
push 4
push ecx
push edi
call ebp
mov ecx, dword [esi + 0x1d0]
lea eax, [esi + 0x1c0]
cmp ecx, ebx
mov dword [eax], 0x5c7
jne 0x4231be
mov dword [eax], 0x1c7
cmp dword [esi + 0x1d4], ebx
jne 0x4231cc
xor dword [eax], 0x100
cmp dword [esi + 0x1dc], ebx
je 0x4231d7
xor dword [eax], 4
cmp dword [esi + 0x1d8], ebx
jne 0x4231e2
xor dword [eax], 0x40
cmp dword [esi + 0x1cc], ebx
je 0x4231ec
xor dword [eax], ebx
lea edx, [esp + 0x14]
push 0
push edx
push 4
push eax
push edi
call ebp
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x43d8b0
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4a4c7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [0x4c1528]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x130], 0
lea esi, [ecx + 0x64]
mov dword [esp + 0x1c], 0x10
mov eax, dword [esi]
push 0
push 0
push 0x147
mov ecx, dword [eax + 0x1c]
push ecx
call edi
mov ecx, dword [esi]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0049aefe
mov eax, dword [esi]
push 0
push 0
push 0x14b
mov eax, dword [eax + 0x1c]
push eax
call edi
mov eax, dword [esi]
push 0
push 0
push 0x303
mov ecx, dword [eax + 0x1c]
push ecx
call edi
mov eax, dword [esi]
push str.NONE
push 0
push 0x14a
mov edx, dword [eax + 0x1c]
push edx
call edi
mov eax, dword [esi]
push 0
push 0
push 0x14e
mov eax, dword [eax + 0x1c]
push eax
call edi
mov ecx, dword [0x4c1528]
mov dword [esp + 0x10], ecx
push 0x2c
mov byte [esp + 0x134], 1
call fcn.0048c348
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x130], 2
je 0x43d990
mov ecx, eax
call fcn.0040db20
mov ebx, eax
jmp 0x43d992
xor ebx, ebx
mov eax, dword [0x4c926c]
mov byte [esp + 0x130], 1
test eax, eax
jne 0x43d9a8
mov eax, 0x4a7874
push eax
lea ecx, [esp + 0x14]
call fcn.0048fae8
test ebx, ebx
je 0x43d9bf
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 4]
push 0x4bca7c
lea ecx, [esp + 0x14]
call fcn.0048fcc7
lea eax, [esp + 0x24]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [esi]
push str..n3fxpart
push 1
push 0x145
mov edx, dword [eax + 0x1c]
push edx
call edi
mov eax, dword [esi]
push 0
push 0
push 0x146
mov eax, dword [eax + 0x1c]
push eax
call edi
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x43da6e
mov ecx, dword [0x4c1528]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
push ebp
mov byte [esp + 0x138], 3
call fcn.0049aefe
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x43da58
mov eax, dword [esi]
push 0
push ebp
push 0x14e
mov edx, dword [eax + 0x1c]
push edx
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 1
call fcn.0048f95f
inc ebp
cmp ebp, ebx
jl 0x43da15
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 0
call fcn.0048f95f
mov eax, dword [esp + 0x1c]
add esi, 4
dec eax
mov dword [esp + 0x1c], eax
jne 0x43d8f4
lea ecx, [esp + 0x14]
mov dword [esp + 0x130], 0xffffffff
call fcn.0048f95f
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret
Function at 0x44917c
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 0x44929d
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 0x449281
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 0x4491d3
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 0x4491b1
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x449569
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 0x4496b0
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 0x44968b
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 0x4495d2
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 0x4495a9
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x4497dd
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 0x449923
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 0x4498fe
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 0x449846
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 0x44981d
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x44992c
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 0x449a76
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 0x449a51
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 0x449995
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 0x44996c
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret