Function at 0x4047b8
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x4047d0
cmp dword [ebp + 0x10], 0
jne 0x4047d8
or eax, 0xffffffff
jmp 0x404d45
cmp dword [ebp + 0xc], 0x80
je 0x4047fd
cmp dword [ebp + 0xc], 0xc0
je 0x4047fd
cmp dword [ebp + 0xc], 0x100
je 0x4047fd
mov eax, 0xfffffffe
jmp 0x404d45
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp + 0xc], 0x80
jne 0x40481b
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0xf0], 0xa
jmp 0x404840
cmp dword [ebp + 0xc], 0xc0
jne 0x404833
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xf0], 0xc
jmp 0x404840
mov edx, dword [ebp + 0x10]
mov dword [edx + 0xf0], 0xe
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx]
shl eax, 0x18
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx + 1]
shl ecx, 0x10
xor eax, ecx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx + 2]
shl ecx, 8
xor eax, ecx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx + 3]
xor eax, ecx
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 4]
shl ecx, 0x18
mov ebx, dword [ebp + 8]
xor eax, eax
mov al, byte [ebx + 5]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp + 8]
xor ebx, ebx
mov bl, byte [edx + 6]
shl ebx, 8
xor ecx, ebx
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax + 7]
xor ecx, edx
mov ebx, dword [ebp - 4]
mov dword [ebx + 4], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax + 8]
shl edx, 0x18
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx + 9]
shl eax, 0x10
xor edx, eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx + 0xa]
shl eax, 8
xor edx, eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx + 0xb]
xor edx, eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], edx
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0xc]
shl eax, 0x18
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx + 0xd]
shl ecx, 0x10
xor eax, ecx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx + 0xe]
shl ecx, 8
xor eax, ecx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx + 0xf]
xor eax, ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
cmp dword [ebp + 0xc], 0x80
jne 0x4049ec
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
shr eax, 0x10
and eax, 0xff
mov edx, dword [eax*4 + 0x5e08fc]
and edx, 0xff000000
mov ecx, dword [ebp - 4]
xor edx, dword [ecx]
mov eax, dword [ebp - 0xc]
shr eax, 8
and eax, 0xff
mov ecx, dword [eax*4 + 0x5e0cfc]
and ecx, 0xff0000
xor edx, ecx
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov ecx, dword [eax*4 + 0x5e00fc]
and ecx, 0xff00
xor edx, ecx
mov eax, dword [ebp - 0xc]
shr eax, 0x18
mov ecx, dword [eax*4 + 0x5e04fc]
and ecx, 0xff
xor edx, ecx
mov eax, dword [ebp - 8]
xor edx, dword [eax*4 + 0x5e21fc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 4]
xor eax, dword [edx + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 4]
xor edx, dword [ecx + 0x14]
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx + 0x18]
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ecx
inc dword [ebp - 8]
mov edx, dword [ebp - 8]
cmp edx, 0xa
jne 0x4049e3
xor eax, eax
jmp 0x404d45
add dword [ebp - 4], 0x10
jmp 0x40491f
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx + 0x10]
shl ecx, 0x18
mov ebx, dword [ebp + 8]
xor eax, eax
mov al, byte [ebx + 0x11]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp + 8]
xor ebx, ebx
mov bl, byte [edx + 0x12]
shl ebx, 8
xor ecx, ebx
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax + 0x13]
xor ecx, edx
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x10], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax + 0x14]
shl edx, 0x18
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx + 0x15]
shl eax, 0x10
xor edx, eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx + 0x16]
shl eax, 8
xor edx, eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx + 0x17]
xor edx, eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], edx
cmp dword [ebp + 0xc], 0xc0
jne 0x404b55
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
shr edx, 0x10
and edx, 0xff
mov ecx, dword [edx*4 + 0x5e08fc]
and ecx, 0xff000000
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx]
mov eax, dword [ebp - 0xc]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + 0x5e0cfc]
and edx, 0xff0000
xor ecx, edx
mov ebx, dword [ebp - 0xc]
and ebx, 0xff
mov eax, dword [ebx*4 + 0x5e00fc]
and eax, 0xff00
xor ecx, eax
mov edx, dword [ebp - 0xc]
shr edx, 0x18
mov ebx, dword [edx*4 + 0x5e04fc]
and ebx, 0xff
xor ecx, ebx
mov eax, dword [ebp - 8]
xor ecx, dword [eax*4 + 0x5e21fc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 4]
xor eax, dword [edx + 0x18]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 4]
xor edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx + 0x20]
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], ecx
inc dword [ebp - 8]
mov edx, dword [ebp - 8]
cmp edx, 8
jne 0x404b28
xor eax, eax
jmp 0x404d45
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x10]
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx + 0x24]
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x14]
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ecx
add dword [ebp - 4], 0x18
jmp 0x404a63
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx + 0x18]
shl ecx, 0x18
mov ebx, dword [ebp + 8]
xor eax, eax
mov al, byte [ebx + 0x19]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp + 8]
xor ebx, ebx
mov bl, byte [edx + 0x1a]
shl ebx, 8
xor ecx, ebx
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax + 0x1b]
xor ecx, edx
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x18], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax + 0x1c]
shl edx, 0x18
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx + 0x1d]
shl eax, 0x10
xor edx, eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx + 0x1e]
shl eax, 8
xor edx, eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [ecx + 0x1f]
xor edx, eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], edx
cmp dword [ebp + 0xc], 0x100
jne 0x404d43
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
shr edx, 0x10
and edx, 0xff
mov ecx, dword [edx*4 + 0x5e08fc]
and ecx, 0xff000000
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx]
mov eax, dword [ebp - 0xc]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + 0x5e0cfc]
and edx, 0xff0000
xor ecx, edx
mov ebx, dword [ebp - 0xc]
and ebx, 0xff
mov eax, dword [ebx*4 + 0x5e00fc]
and eax, 0xff00
xor ecx, eax
mov edx, dword [ebp - 0xc]
shr edx, 0x18
mov ebx, dword [edx*4 + 0x5e04fc]
and ebx, 0xff
xor ecx, ebx
mov eax, dword [ebp - 8]
xor ecx, dword [eax*4 + 0x5e21fc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 4]
xor eax, dword [edx + 0x20]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 4]
xor edx, dword [ecx + 0x24]
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ecx
inc dword [ebp - 8]
mov edx, dword [ebp - 8]
cmp edx, 7
jne 0x404c91
xor eax, eax
jmp 0x404d45
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x2c]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
shr eax, 0x18
mov edx, dword [eax*4 + 0x5e08fc]
and edx, 0xff000000
mov ecx, dword [ebp - 4]
xor edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [eax*4 + 0x5e0cfc]
and ecx, 0xff0000
xor edx, ecx
mov eax, dword [ebp - 0xc]
shr eax, 8
and eax, 0xff
mov ecx, dword [eax*4 + 0x5e00fc]
and ecx, 0xff00
xor edx, ecx
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov ecx, dword [eax*4 + 0x5e04fc]
and ecx, 0xff
xor edx, ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x14]
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x18]
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx + 0x34]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x1c]
mov ebx, dword [ebp - 4]
xor ecx, dword [ebx + 0x38]
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], ecx
add dword [ebp - 4], 0x20
jmp 0x404bcc
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret