joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447b20
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
test ebp, ebp
je 0x447b37
mov dword [ebp], 0
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x447b8a
cmp edi, 0x989680
mov esi, edi
jbe 0x447b4e
mov esi, 0x989680
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 0
push eax
push esi
push ebx
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x447b8e
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jne 0x447b8e
add ebx, esi
sub edi, esi
test ebp, ebp
je 0x447b81
add dword [ebp], ecx
test edi, edi
jne 0x447b3f
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x447ba0
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
ret

Function at 0x447bc0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
ret

Function at 0x447c60
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret

Function at 0x447ce0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x1bc
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
mov dword [esp + 8], 0x190
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test al, al
jne 0x447d06
mov byte [esp + 4], al
mov ecx, dword [esp + 0x1c0]
lea edx, [esp + 4]
push edx
call fcn.00418c40
add esp, 0x1bc
ret

Function at 0x447d20
Capabilities:
Get hostname

Disassembly:
sub esp, 0x7c
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
mov dword [esp + 8], 0x76
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test al, al
jne 0x447d43
mov byte [esp + 4], al
mov ecx, dword [esp + 0x80]
lea edx, [esp + 4]
push edx
call fcn.00418c40
add esp, 0x7c
ret

Function at 0x447df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488e69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00447a60
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], ebx
call fcn.00421d80
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
call fcn.00419150
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 2
call fcn.00419150
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 3
call fcn.00419150
mov ecx, dword [esp + 0xc]
mov byte [esi + 0xa8], bl
mov dword [esi + 0xac], ebx
mov dword [esi], vtable.Cookie.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x447ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488eb7
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
mov dword [esi], vtable.Cookie.0
lea edi, [esi + 0x10]
mov dword [esp + 0x14], 4
mov ecx, edi
call fcn.00421fe0
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 3
call fcn.00419440
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 2
call fcn.00419440
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.00419440
mov ecx, edi
mov byte [esp + 0x14], 0
call fcn.00421da0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00447ac0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x448060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x38]
push ebx
push esi
mov ebx, ecx
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.00419050
lea edi, [ebx + 0x30]
mov dword [esp + 0x3c], 0
mov ecx, edi
call fcn.004220a0
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.004220a0
cmp byte [esi], 0x2e
jne 0x4480ae
inc esi
push eax
push esi
call fcn.00470180
add esp, 8
test eax, eax
je 0x4480d5
mov ecx, edi
call fcn.004220a0
push eax
lea ecx, [esp + 0x10]
call fcn.00418d50
test al, al
je 0x4481b4
mov edi, dword [esp + 0x48]
test edi, edi
jne 0x448104
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00419440
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
lea esi, [ebx + 0x58]
mov ecx, esi
call fcn.00422090
test eax, eax
jne 0x448139
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00419440
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
push 0x49e670
mov ecx, esi
call fcn.0041a800
test al, al
je 0x448170
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00419440
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
mov ecx, esi
call fcn.00422090
push eax
mov ecx, esi
call fcn.004220a0
push eax
push edi
call fcn.004706c0
add esp, 0xc
test eax, eax
jne 0x4481b4
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00419440
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00419440
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
Function at 0x44ad70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x4bb8c4]
test eax, eax
jne 0x44ad88
mov dword [0x4bb8c4], 1
call fcn.0044ab00
push ebx
push ebp
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x44ae1d
mov ebp, dword [esp + 0x14]
mov ecx, ebp
call fcn.00422080
add eax, edi
mov ecx, ebp
push eax
call fcn.00422c70
xor ebx, ebx
test edi, edi
jle 0x44ae0f
add edi, 3
push esi
shr edi, 2
lea ebx, [edi*4]
mov eax, dword [0x4bb4d8]
xor ecx, ecx
xor edx, edx
push 4
mov cl, byte [eax + 0x4a92b8]
lea eax, [eax*4 + 0x4bb4dc]
mov dword [0x4bb4d8], ecx
mov ecx, dword [0x4a92b4]
mov esi, ecx
push eax
mov dl, byte [ecx + 0x4a92b8]
mov ecx, dword [esi*4 + 0x4bb4dc]
mov esi, dword [eax]
xor esi, ecx
mov ecx, ebp
mov dword [0x4a92b4], edx
mov dword [eax], esi
call fcn.00422fd0
dec edi
jne 0x44adc0
mov edi, dword [esp + 0x14]
pop esi
cmp ebx, edi
jle 0x44ae1d
sub ebx, edi
mov ecx, ebp
push ebx
call fcn.00422360
pop edi
pop ebp
pop ebx
ret

Function at 0x44cca0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4894ab
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
mov ecx, ebx
call fcn.00422070
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.00422080
test eax, eax
jne 0x44cd09
push 0x20
call fcn.0046fd5a
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x44cda0
mov ecx, eax
call fcn.00422400
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x44cd55
mov eax, dword [esp + 0x30]
push eax
push esi
call fcn.00453360
mov esi, eax
mov ecx, esi
call fcn.00422080
mov edi, eax
cmp edi, 0x10
jb 0x44cd41
mov ecx, esi
call fcn.004220a0
lea eax, [eax + edi - 0x10]
push 0x10
push eax
mov ecx, ebx
call fcn.00422fd0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x44cd7a
mov edx, dword [esp + 0x30]
push edx
push esi
call fcn.0045f9c0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x44cda0
mov eax, dword [esp + 0x30]
push eax
push ebx
push esi
call fcn.00460f20
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x44cdc0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4894cb
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
mov ecx, esi
call fcn.00422080
test eax, eax
jne 0x44ce1e
push 0x20
call fcn.0046fd5a
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x44cec5
mov ecx, eax
call fcn.00422400
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x44ce76
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
push eax
push ebx
push esi
call fcn.004534d0
mov esi, eax
mov ecx, esi
call fcn.00422080
mov edi, eax
cmp edi, 0x10
jb 0x44ce62
mov ecx, ebx
call fcn.00422070
mov ecx, esi
call fcn.004220a0
lea eax, [eax + edi - 0x10]
push 0x10
push eax
mov ecx, ebx
call fcn.00422fd0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x44ce9b
mov edx, dword [esp + 0x30]
push edx
push esi
call fcn.0045fac0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x44cec5
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push edx
push esi
call fcn.004610a0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x44d2c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4895b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.MemoryData.0
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 3
je 0x44d303
cmp byte [esi + 0x11], bl
je 0x44d303
push eax
call fcn.0046f89f
add esp, 4
mov dword [esi + 0x20], ebx
lea ecx, [esi + 0x78]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x18], ebx
mov byte [esp + 0x14], 2
call fcn.00461ce0
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 1
call fcn.00419440
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], bl
call fcn.00422c00
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00447ac0
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44dd10
Capabilities:
Get file size

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
lea eax, [esi + 0x5c]
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
xor edx, edx
mov dword [eax], ecx
push edi
lea edi, [esi + 0x18]
mov dword [eax + 4], ecx
lea eax, [esi + 0x64]
mov dword [esi + 0x64], edx
mov dword [eax + 4], edx
lea eax, [esi + 0x54]
mov dword [esi + 0x54], ecx
mov dword [eax + 4], ecx
mov ecx, edi
mov dword [esi + 0x50], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], ebx
call fcn.004182d0
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
mov byte [esi + 0x41], bl
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x28], ebx
call fcn.0041ec30
add esp, 0x10
test al, al
je 0x44deac
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x44deac
mov dword [esi + 0x50], eax
mov ecx, ebp
shr eax, 4
and al, 1
mov byte [esi + 0x40], al
call fcn.0041d380
push eax
mov ecx, edi
call fcn.0041a2e0
cmp byte [esi + 0x40], bl
je 0x44ddc3
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x14]
push edx
push eax
push ebp
call fcn.0041f010
jmp 0x44ddd3
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push ecx
push edx
push ebp
call fcn.0041edf0
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
jne 0x44ddf8
cmp dword [esp + 0x14], 1
jne 0x44deed
mov byte [esi + 0x11], 1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x44de28
push ebx
push ebp
call fcn.00449e50
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esi + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
call edi
lea eax, [esi + 0x64]
lea ecx, [esp + 0x24]
push eax
push ecx
call edi
lea eax, [esi + 0x54]
lea edx, [esp + 0x2c]
push eax
push edx
call edi
cmp byte [esi + 0x40], bl
je 0x44de73
push ebx
mov dword [esi + 0x48], ebx
push ebp
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
call fcn.00449e50
add esp, 8
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x3c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x44], eax
push ecx
push eax
call fcn.0044ae40
add esp, 8
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
push ebx
push ebp
call fcn.00449e50
add esp, 8
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea edx, [esp + 0x38]
mov ecx, ebp
push edx
mov dword [esp + 0x3c], ebx
call fcn.0041d380
push eax
call fcn.00420330
add esp, 8
test al, al
jne 0x44deed
mov byte [esi + 0x10], 1
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x44deed
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
mov edx, dword [esi]
push str.File_does_not_exist.
mov ecx, esi
call dword [edx + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 8
Function at 0x450920
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push edi
mov edi, ecx
mov dword [edi], vtable.ZipCRC.0
mov al, byte [0x4bbccc]
test al, al
jne 0x450995
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, 0x4bb8cc
push 8
push ebx
mov ecx, edi
call fcn.004509a0
shl eax, 0x18
mov dword [esi], eax
mov edx, 8
mov ebp, eax
mov ecx, ebp
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
dec edx
mov ebp, eax
jne 0x450952
push 0x20
push eax
mov ecx, edi
mov dword [esi], ebp
call fcn.004509a0
mov dword [esi], eax
add esi, 4
inc ebx
cmp esi, 0x4bbcc8
jle 0x45093c
pop esi
pop ebp
mov eax, edi
pop ebx
mov byte [0x4bbccc], 1
pop edi
ret
mov eax, edi
pop edi
ret
Function at 0x450c60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x400
push esi
mov esi, dword [esp + 0x40c]
test esi, esi
jne 0x450c7e
xor eax, eax
pop esi
add esp, 0x400
ret 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x418]
or edx, 0xffffffff
test ebp, ebp
jne 0x450cc3
mov eax, dword [esp + 0x410]
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
and ecx, 0xff
xor ecx, ebx
shr edx, 8
mov ecx, dword [ecx*4 + 0x4bb8cc]
xor edx, ecx
inc eax
dec esi
jne 0x450c95
mov eax, edx
pop ebp
pop ebx
pop esi
not eax
add esp, 0x400
ret 0xc
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x414]
xor eax, eax
mov al, byte [ecx]
mov edi, dword [esp + eax*4 + 0x10]
inc edi
mov dword [esp + eax*4 + 0x10], edi
mov edi, edx
and edi, 0xff
xor edi, eax
shr edx, 8
mov eax, dword [edi*4 + 0x4bb8cc]
xor edx, eax
inc ecx
dec esi
jne 0x450cd8
xor edi, edi
xor eax, eax
lea ecx, [esp + 0x10]
mov esi, 7
mov ebx, dword [ecx]
add ecx, 4
add eax, ebx
dec esi
jne 0x450d0c
lea ecx, [esp + 0x2c]
mov esi, 0x79
mov ebx, 0x80
add edi, dword [ecx]
add ecx, 4
dec esi
jne 0x450d24
cmp ebx, 0x100
jge 0x450d49
mov esi, 0x100
lea ecx, [esp + ebx*4 + 0x10]
sub esi, ebx
mov ebx, dword [ecx]
add ecx, 4
add eax, ebx
dec esi
jne 0x450d3f
shr edi, 2
cmp edi, eax
pop edi
sbb ecx, ecx
mov eax, edx
neg ecx
mov word [ebp], cx
pop ebp
pop ebx
pop esi
not eax
add esp, 0x400
ret 0xc
Function at 0x451cc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
mov ebx, ecx
push edi
mov ecx, esi
call fcn.00422080
cmp eax, 0x10
jae 0x451cea
mov edi, 0x10
push 0
mov ecx, esi
call fcn.00422f00
dec edi
jne 0x451cde
mov al, byte [esp + 0x34]
test al, al
jne 0x451d01
mov ecx, esi
call fcn.004220a0
push eax
mov ecx, ebx
call fcn.00451ad0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x451d17
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x10
ret 0x14
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x451d2d
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x10
ret 0x14
mov esi, dword [esp + 0x24]
test esi, esi
je 0x451e4e
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x451e4e
cdq
and edx, 0x7f
add eax, edx
mov ebp, eax
mov eax, dword [ebx + 0x30]
sar ebp, 7
sub eax, 0
je 0x451e19
dec eax
je 0x451d6c
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret 0x14
mov eax, dword [ebx + 0x38]
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov edi, dword [ebx + 0x40]
xor eax, ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x3c]
xor ecx, eax
mov eax, dword [esi + 0xc]
xor edx, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x44]
lea ecx, [esp + 0x10]
push edi
xor eax, edx
push ecx
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.004529f0
lea eax, [ebp - 1]
add esi, 0x10
test eax, eax
jle 0x451e3f
mov dword [esp + 0x34], eax
mov edx, dword [esi]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
xor edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], edx
mov edx, dword [edi + 8]
xor eax, ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
xor ecx, edx
mov edx, dword [esi + 0xc]
add edi, 0x10
xor edx, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push edi
push eax
mov ecx, ebx
mov dword [esp + 0x24], edx
call fcn.004529f0
mov eax, dword [esp + 0x34]
add esi, 0x10
dec eax
mov dword [esp + 0x34], eax
jne 0x451dbe
pop edi
mov eax, ebp
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x10
ret 0x14
test ebp, ebp
jle 0x451e3f
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x34], ebp
push edi
push esi
mov ecx, ebx
call fcn.004529f0
mov eax, dword [esp + 0x34]
add esi, 0x10
add edi, 0x10
dec eax
mov dword [esp + 0x34], eax
jne 0x451e25
pop edi
mov eax, ebp
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x10
ret 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x14
Function at 0x452500
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x452523
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x24
ret 0x14
mov ebx, dword [edi + 0x30]
cmp ebx, 2
je 0x452541
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x452541
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x24
ret 0x14
mov esi, dword [esp + 0x38]
test esi, esi
je 0x452697
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x452697
cdq
and edx, 0x7f
add eax, edx
mov ecx, eax
mov eax, ebx
sar ecx, 7
sub eax, 0
mov dword [esp + 0x38], ecx
je 0x452668
dec eax
je 0x452583
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x24
ret 0x14
mov al, byte [esp + 0x48]
test al, al
je 0x4525a5
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
mov ebx, dword [edi + 0x38]
mov ebp, dword [edi + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edx
jmp 0x4525bc
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
test ecx, ecx
jle 0x452646
mov edi, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00452ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor eax, ebx
mov ebx, dword [esp + 0x2c]
xor ecx, ebp
mov ebp, dword [esp + 0x20]
xor edx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
xor ebp, ebx
mov ebx, dword [esi]
mov dword [esp + 0x20], ebp
mov dword [edi], eax
mov ebp, dword [esi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov dword [edi + 8], edx
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x48]
add esi, 0x10
add edi, 0x10
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], eax
jne 0x4525cc
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov edx, dword [esp + 0x30]
pop edi
mov dword [eax + 0xc], edx
mov eax, ecx
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x24
ret 0x14
test ecx, ecx
jle 0x452688
mov ebx, dword [esp + 0x40]
mov ebp, ecx
push ebx
push esi
mov ecx, edi
call fcn.00452ea0
add esi, 0x10
add ebx, 0x10
dec ebp
jne 0x452672
mov ecx, dword [esp + 0x38]
pop edi
mov eax, ecx
pop esi
pop ebp
shl eax, 7
pop ebx
add esp, 0x24
ret 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0x14
Function at 0x4528e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov edx, 1
cmp dword [esi + 0x48], edx
jle 0x4529eb
push ebx
push edi
lea eax, [esi + 0x5e]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [eax - 1]
mov cl, byte [eax + 1]
add eax, 0x10
mov edi, dword [ebx*4 + 0x4abfa8]
mov ecx, dword [ecx*4 + 0x4ac7a8]
xor ebx, ebx
xor ecx, edi
mov bl, byte [eax - 0x10]
mov edi, dword [ebx*4 + 0x4ac3a8]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor ecx, edi
mov edi, dword [ebx*4 + 0x4abba8]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0x12], ecx
mov bl, byte [eax - 0xc]
xor ecx, ecx
mov cl, byte [eax - 0xb]
mov edi, dword [ebx*4 + 0x4ac3a8]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x4ac7a8]
mov bl, byte [eax - 0xd]
xor ecx, edi
mov edi, dword [ebx*4 + 0x4abfa8]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor ecx, edi
mov edi, dword [ebx*4 + 0x4abba8]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xe], ecx
mov bl, byte [eax - 8]
xor ecx, ecx
mov cl, byte [eax - 7]
mov edi, dword [ebx*4 + 0x4ac3a8]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x4ac7a8]
mov bl, byte [eax - 9]
xor ecx, edi
mov edi, dword [ebx*4 + 0x4abfa8]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor ecx, edi
mov edi, dword [ebx*4 + 0x4abba8]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xa], ecx
mov bl, byte [eax - 4]
xor ecx, ecx
mov cl, byte [eax - 3]
mov edi, dword [ebx*4 + 0x4ac3a8]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x4ac7a8]
mov bl, byte [eax - 5]
xor ecx, edi
mov edi, dword [ebx*4 + 0x4abfa8]
xor ebx, ebx
mov bl, byte [eax - 6]
xor ecx, edi
mov edi, dword [ebx*4 + 0x4abba8]
xor ecx, edi
inc edx
mov dword [eax - 6], ecx
mov ecx, dword [esi + 0x48]
cmp edx, ecx
jl 0x4528f6
pop edi
pop ebx
pop esi
ret