joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x419d02
mov esi, 0x80
cmp esi, dword [edi]
jne 0x419d0f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4f5308]
test eax, eax
je 0x419d1a
call eax
lea ecx, [esi*8]
push ecx
call fcn.00416680
mov esi, eax
mov eax, dword [0x4f530c]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x419d3a
call eax
test esi, esi
je 0x419d06
mov edx, dword [edi + 0xc]
push edx
call fcn.00416940
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x4f2150]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.004a63e0
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x419e1f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x419db3
movzx edi, byte [esi]
movzx edi, byte [edi + 0x4d5eb8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x419d92
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x419dfb
mov esi, dword [eax]
test esi, esi
je 0x419dd1
mov edx, dword [eax + 4]
jmp 0x419dd3
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x419dfb
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x419df3
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x419e14
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x419e14
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x419e0a
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x419d86
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a4a0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
push esi
push edi
test eax, eax
je 0x41a4db
cdq
mov edi, eax
add eax, dword [ebp + 0xc]
mov esi, edx
mov ecx, edx
adc ecx, dword [ebp + 0x10]
push esi
sub eax, 1
push edi
sbb ecx, 0
push ecx
push eax
call fcn.004b1fa0
push esi
push edi
push edx
push eax
call fcn.004b7090
jmp 0x41a4e1
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
mov esi, ebx
call fcn.0041a260
add esp, 8
test eax, eax
je 0x41a512
mov ecx, dword [ebx + 0x1c]
push 0x7e48
push 0x60a
mov edi, str.winTruncate1
call fcn.0041a1b0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x41a54a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x1c]
push 0x7e4b
push 0x60a
mov edi, str.winTruncate2
mov dword [ebx + 0x10], eax
call fcn.0041a1b0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a5b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
push edi
lea eax, [ebp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41a5f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41a5f8
mov ecx, dword [esi + 0x1c]
push 0x7e9d
push 0x70a
mov edi, str.winFileSize
mov dword [esi + 0x10], eax
call fcn.0041a1b0
add esp, 8
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
xor eax, eax
xor edx, edx
add edx, edi
adc ecx, eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], edx
mov dword [eax + 4], ecx
xor eax, eax
pop esi
pop ebp
ret
Function at 0x41b860
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0041a060
mov esi, eax
test esi, esi
jne 0x41b886
lea eax, [edi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41b8a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 5
jne 0x41b8b9
inc edi
cmp edi, 5
jge 0x41b8b9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41b886
push esi
call fcn.004a5f5b
add esp, 4
cmp ebx, 0xffffffff
jne 0x41b8d6
cmp dword [ebp - 4], 2
jne 0x41b8d6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
push 0x83f6
push 0xa0a
mov edi, str.winDelete
call fcn.0041a1b0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41bac0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4f06b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edx, [ebp - 0x110]
push edx
push 0x104
push ecx
push eax
mov dword [ebp - 0x114], 0x200
call fcn.0041ba10
add esp, 0x10
test eax, eax
jne 0x41bb68
lea ebx, [ebp - 0x110]
call fcn.0041a060
mov esi, eax
test esi, esi
je 0x41bb52
cmp word [esi], 0
je 0x41bb2a
cmp word [eax], 0x5c
je 0x41bb25
add eax, 2
cmp word [eax], 0
jne 0x41bb14
jmp 0x41bb2a
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x118]
push edx
mov eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push esi
mov edi, eax
call fcn.004a5f5b
add esp, 4
test edi, edi
jne 0x41bb68
mov eax, 0x200
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a545d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x114]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a545d
mov esp, ebp
pop ebp
ret

Function at 0x41bda0
Capabilities:
Get system information on windows

Disassembly:
xor eax, eax
push 0x4f6c40
mov dword [0x4f6c40], eax
mov dword [0x4f6c44], eax
mov dword [0x4f6c48], eax
mov dword [0x4f6c4c], eax
mov dword [0x4f6c50], eax
mov dword [0x4f6c54], eax
mov dword [0x4f6c58], eax
mov dword [0x4f6c5c], eax
mov dword [0x4f6c60], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.00473360
test eax, eax
jne 0x41be3b
push esi
cmp dword [0x4f212c], eax
jne 0x41bdf0
xor esi, esi
jmp 0x41be0b
push 2
call dword [0x4f216c]
mov esi, eax
add esp, 4
test esi, esi
je 0x41be0b
push esi
call dword [0x4f2174]
add esp, 4
mov edx, 0x4f2370
call fcn.00415da0
mov eax, dword [0x4f52b4]
mov dword [0x4f237c], eax
mov dword [0x4f52b4], 0x4f2370
test esi, esi
je 0x41be37
push esi
call dword [0x4f217c]
add esp, 4
xor eax, eax
pop esi
ret
xor eax, eax
ret
Function at 0x4206c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [edi + 0x3c]
cmp dword [edx], 0
push ebx
push esi
mov esi, eax
mov dword [ebp - 4], 0
jne 0x420700
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
or eax, 0x1e
push 0
and eax, 0x87f3f
push eax
mov eax, dword [ecx + 0x18]
push edx
push 0
push ecx
call eax
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x420868
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x420739
mov eax, dword [edi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.004b7090
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [edi + 0x18]
add esp, 0xc
mov dword [edi + 0x24], ecx
test esi, esi
je 0x420868
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0xc], ebx
cmp ebx, dword [edi + 0x18]
ja 0x42085b
test byte [esi + 0x14], 0x20
jne 0x42085b
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.004b7090
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp ebx, 1
jne 0x4207d9
mov ecx, dword [esi + 0x10]
movzx eax, byte [ecx + 0x64]
movzx edx, byte [ecx + 0x65]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 0x66]
movzx ecx, byte [ecx + 0x67]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov ecx, dword [esi]
inc eax
mov ebx, eax
shr ebx, 0x10
mov byte [ecx + 0x19], bl
mov dword [ebp - 8], ebx
mov edx, eax
shr edx, 0x18
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x1b], al
mov ebx, eax
shr ebx, 8
mov byte [ecx + 0x1a], bl
mov ecx, dword [esi]
mov byte [ecx + 0x5c], dl
mov dl, byte [ebp - 8]
mov byte [ecx + 0x5e], bl
mov ebx, dword [ebp - 0xc]
mov byte [ecx + 0x5d], dl
mov byte [ecx + 0x5f], al
mov eax, dword [esi]
mov dword [eax + 0x60], 0x1fe22d00
mov eax, dword [edi + 0xa4]
test eax, eax
jne 0x4207ea
mov eax, dword [esi]
mov dword [ebp - 8], eax
jmp 0x420803
mov ecx, dword [esi]
mov edx, dword [edi + 0xb0]
push 6
push ebx
push ecx
push edx
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
je 0x420871
push dword [ebp - 0x14]
mov ecx, dword [edi + 0x80]
push dword [ebp - 0x18]
mov eax, dword [edi + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
mov ecx, dword [ebp - 8]
push ecx
push eax
call edx
add esp, 0x14
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x420845
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x64], ecx
mov edx, dword [eax + 0x1c]
mov dword [edi + 0x68], edx
mov ecx, dword [eax + 0x20]
mov dword [edi + 0x6c], ecx
mov edx, dword [eax + 0x24]
mov dword [edi + 0x70], edx
cmp ebx, dword [edi + 0x20]
jbe 0x42084d
mov dword [edi + 0x20], ebx
mov eax, dword [esi]
push eax
mov eax, dword [edi + 0x58]
call fcn.004304e0
add esp, 4
cmp dword [ebp - 4], 0
mov esi, dword [esi + 8]
je 0x420739
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440df0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
jne 0x440e0a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x50
call fcn.00416c30
mov edi, eax
test edi, edi
je 0x440e01
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.00440930
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.00440ab0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.004406b0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.00440930
mov ecx, dword [ebp + 0x10]
add esp, 0x1c
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.004406b0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.00440930
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
add esp, 0x1c
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.00440df0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.004406b0
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.004406b0
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
mov edx, 0xfff7
add esp, 0x20
and cx, dx
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x448e9e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x448eb4
cmp byte [edi], al
je 0x448ea7
inc ecx
cmp byte [ecx], al
jne 0x448ea2
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x448fb5
jmp 0x448ed3
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x448edb
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x448f3b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x448f1d
jmp 0x448f00
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x4d5eb8]
cmp dl, byte [eax + 0x4d5eb8]
jne 0x448f1d
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x448f00
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x4d5eb8]
movzx ecx, byte [ecx + 0x4d5eb8]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x448fa5
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x448f88
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x448f7e
jmp 0x448f60
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4d5eb8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x448f60
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x448f8a
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call fcn.00419e30
add esp, 8
test eax, eax
je 0x448fbc
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x448fb5
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x448ed0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x448fa5
Function at 0x449060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x44907d
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x449095
cmp byte [eax], 0
je 0x449088
inc ecx
cmp byte [ecx], 0
jne 0x449082
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 4]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x449177
mov ecx, dword [edx + 8]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x4490ba
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x44910a
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x4490f2
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4d5eb8]
cmp cl, byte [eax + 0x4d5eb8]
jne 0x4490ef
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x4490d2
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4d5eb8]
movzx edx, byte [edx + 0x4d5eb8]
sub edx, ecx
jne 0x449166
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x18]
je 0x449144
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x44913e
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4d5eb8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x449120
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x449146
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.00419e30
add esp, 8
test eax, eax
je 0x44917d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x449176
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x4490b0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x449163
Function at 0x44d750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [edx]
xor esi, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
lea esp, [esp]
test edi, edi
je 0x44d808
cmp byte [edi], 0
mov eax, edi
je 0x44d786
nop
inc eax
cmp byte [eax], 0
jne 0x44d780
sub eax, edi
and eax, 0x3fffffff
cmp dword [ebx + 0x1a8], 0
lea ecx, [ebx + 0x19c]
mov esi, eax
je 0x44d7e1
xor eax, eax
mov edx, esi
mov ecx, edi
test esi, esi
jle 0x44d7d1
jmp 0x44d7b0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4d5eb8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x44d7b0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 8]
xor edx, edx
div dword [ebx + 0x19c]
lea ecx, [ebx + 0x19c]
jmp 0x44d7e3
xor edx, edx
push esi
push edi
mov eax, ecx
call fcn.00419e30
add esp, 8
test eax, eax
je 0x44d7fe
mov eax, dword [eax + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
jmp 0x44d80b
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
xor eax, eax
jmp 0x44d80b
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x44d81d
movzx ecx, byte [esi + 0x4d64ec]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x44d83c
inc esi
mov dword [ebp - 4], esi
cmp esi, 3
jl 0x44d770
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
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 ecx, dword [eax + 0xc]
pop edi
pop esi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push ebx
xor eax, eax
test dword [edx + 0xc], 0x4000000
push esi
push edi
mov dword [ebp - 4], eax
je 0x453746
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 0x24]
test edi, edi
je 0x453666
lea ebx, [ebx]
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x45365c
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x45364c
or eax, 0xffffffff
jmp 0x453653
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 8
dec esi
jne 0x453640
mov edi, dword [edi + 4]
test edi, edi
jne 0x453630
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov eax, esi
test esi, esi
jne 0x453675
xor edi, edi
mov dword [ebp - 8], edi
jmp 0x453692
cmp byte [esi], 0
je 0x453686
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x453680
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 8], eax
mov ebx, dword [ecx + 0x44]
add ebx, 0x38
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0xc], ebx
je 0x4536d7
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x4536d1
jmp 0x4536b0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4d5eb8]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x4536b0
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [ebx]
jmp 0x4536d9
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.00419e30
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x453743
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x453743
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push edx
xor eax, eax
mov dword [ebp - 8], ebx
call fcn.00451d20
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
je 0x45373c
mov ecx, dword [eax + 4]
cmp ecx, ebx
jle 0x45373c
mov edx, dword [eax + 8]
mov esi, ecx
nop
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x45372c
or eax, 0xffffffff
jmp 0x453733
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 4
dec esi
jne 0x453720
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x4536f2
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476980
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi]
push edi
mov edx, ecx
ror edx, 8
and edx, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edx, ecx
mov dword [eax], edx
mov edx, dword [esi + 4]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 4], edi
mov edx, dword [esi + 8]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 8], edi
mov edx, dword [esi + 0xc]
lea ecx, [eax + 4]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov dword [eax + 0xc], esi
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
xor edx, 0x1000000
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff0000
and edx, 0xff000000
xor edx, edi
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi*4 + str.ccccwwww]
xor edx, edi
mov edi, esi
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff00
xor edx, edi
xor edx, dword [eax]
mov edi, dword [ecx]
xor edi, edx
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
xor edx, edi
mov dword [eax + 0x18], edx
xor edx, esi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], edx
mov esi, 0x4da62c
mov edx, dword [ecx + 0x18]
add ecx, 0x10
mov eax, edx
shr eax, 8
mov edi, edx
and eax, 0xff
mov eax, dword [eax*4 + str.ccccwwww]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and eax, 0xff0000
and edi, 0xff000000
xor eax, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr edi, 0x18
movzx edi, byte [edi*4 + str.ccccwwww]
xor eax, edi
and edx, 0xff00
xor eax, edx
xor eax, dword [ecx - 4]
add esi, 4
xor eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ecx]
xor edx, eax
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 4]
xor eax, edx
mov dword [ecx + 0x14], eax
mov edx, dword [ecx + 8]
xor edx, eax
mov dword [ecx + 0x18], edx
cmp esi, 0x4da650
jne 0x476a71
pop edi
pop esi
ret