Function at 0x40a820
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x20
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x40ace6
mov ebx, dword [esp + 0x44]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov al, byte [ebx]
mov cl, byte [ebx + 1]
shl eax, 0x18
inc ebx
xor ebp, ebp
shl ecx, 0x10
mov dh, byte [ebx + 1]
or eax, ecx
inc ebx
or eax, edx
inc ebx
xor ecx, ecx
xor edx, edx
mov cl, byte [ebx]
mov dl, byte [ebx + 1]
or eax, ecx
inc ebx
mov esi, edx
xor ecx, ecx
mov cl, byte [ebx + 1]
xor edx, edx
shl esi, 0x18
inc ebx
mov dword [esp + 0x48], eax
shl ecx, 0x10
mov dh, byte [ebx + 1]
or esi, ecx
inc ebx
or esi, edx
inc ebx
xor ecx, ecx
xor edx, edx
mov cl, byte [ebx]
mov dl, byte [ebx + 1]
or esi, ecx
inc ebx
mov dword [esp + 0x14], esi
mov esi, edx
shl esi, 0x18
inc ebx
xor ecx, ecx
xor edx, edx
mov cl, byte [ebx]
mov dh, byte [ebx + 1]
shl ecx, 0x10
or esi, ecx
inc ebx
or esi, edx
inc ebx
xor ecx, ecx
xor edx, edx
mov cl, byte [ebx]
or esi, ecx
inc ebx
xor ecx, ecx
mov dword [esp + 0x10], esi
mov cl, byte [ebx]
mov dl, byte [ebx + 1]
shl ecx, 0x18
inc ebx
shl edx, 0x10
or ecx, edx
inc ebx
xor edx, edx
mov dh, byte [ebx]
or ecx, edx
inc ebx
xor edx, edx
mov dl, byte [ebx]
sub ebx, 0xf
or ecx, edx
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
mov dword [esp + 0x18], ecx
cmp edx, ebp
jl 0x40acd9
lea eax, [edx + 0x10]
mov esi, dword [esp + 0x38]
shr eax, 4
mov edi, dword [esp + 0x34]
mov dword [esp + 0x44], eax
neg eax
shl eax, 4
add edx, eax
mov dword [esp + 0x3c], edx
xor eax, eax
xor ecx, ecx
mov al, byte [edi]
mov cl, byte [edi + 1]
shl eax, 0x18
inc edi
xor edx, edx
shl ecx, 0x10
mov dh, byte [edi + 1]
or eax, ecx
inc edi
or eax, edx
inc edi
xor ecx, ecx
xor edx, edx
mov cl, byte [edi]
mov dl, byte [edi + 1]
or eax, ecx
inc edi
mov ebp, edx
xor ecx, ecx
mov cl, byte [edi + 1]
xor edx, edx
shl ebp, 0x18
inc edi
shl ecx, 0x10
mov dh, byte [edi + 1]
or ebp, ecx
inc edi
or ebp, edx
inc edi
xor ecx, ecx
xor edx, edx
mov cl, byte [edi]
or ebp, ecx
inc edi
xor ecx, ecx
mov cl, byte [edi]
mov dl, byte [edi + 1]
shl ecx, 0x18
inc edi
shl edx, 0x10
or ecx, edx
inc edi
xor edx, edx
mov dh, byte [edi]
or ecx, edx
inc edi
xor edx, edx
mov dl, byte [edi]
or ecx, edx
inc edi
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov cl, byte [edi]
xor edx, edx
mov dl, byte [edi + 1]
shl ecx, 0x18
inc edi
shl edx, 0x10
or ecx, edx
inc edi
xor edx, edx
mov dh, byte [edi]
or ecx, edx
inc edi
xor edx, edx
mov dl, byte [edi]
or ecx, edx
mov edx, dword [esp + 0x48]
xor eax, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
xor ebp, eax
mov eax, dword [esp + 0x38]
inc edi
xor eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebp
xor ecx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.004086f0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], edx
mov edx, eax
shr edx, 0x18
mov byte [esi], dl
add esp, 8
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
mov ecx, dword [esp + 0x24]
mov edx, eax
inc esi
shr edx, 8
mov byte [esi], dl
inc esi
mov dword [esp + 0x48], eax
mov edx, ecx
mov byte [esi], al
mov eax, ecx
inc esi
mov dword [esp + 0x14], ecx
shr eax, 0x18
mov byte [esi], al
inc esi
shr edx, 0x10
mov byte [esi], dl
mov eax, ecx
inc esi
shr eax, 8
mov byte [esi], al
mov eax, dword [esp + 0x28]
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], cl
mov ecx, eax
inc esi
shr ecx, 0x18
mov byte [esi], cl
inc esi
mov ecx, eax
mov byte [esi], dl
inc esi
shr ecx, 8
mov byte [esi], cl
inc esi
mov byte [esi], al
mov eax, dword [esp + 0x2c]
mov edx, eax
inc esi
shr edx, 0x18
mov byte [esi], dl
mov ecx, eax
inc esi
mov edx, eax
shr ecx, 0x10
mov byte [esi], cl
inc esi
shr edx, 8
mov byte [esi], dl
inc esi
mov byte [esi], al
mov eax, dword [esp + 0x44]
inc esi
dec eax
mov dword [esp + 0x44], eax
jne 0x40a903
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
xor ebp, ebp
cmp edx, 0xfffffff0
je 0x40ac5e
lea edi, [edi + edx + 0x10]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
add edx, 0xf
xor ebp, ebp
cmp edx, 0xf
ja case.default.0x40aaa6
jmp dword [edx*4 + 0x40b1b0]
dec edi
xor edx, edx
mov dl, byte [edi]
mov dword [esp + 0x44], edx
mov ebp, dword [esp + 0x44]
dec edi
xor edx, edx
mov dh, byte [edi]
or ebp, edx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x44]
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x10
or ebp, edx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x44]
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x18
or ebp, edx
mov dword [esp + 0x44], ebp
dec edi
xor edx, edx
mov dl, byte [edi]
mov dword [esp + 0x38], edx
mov ebp, dword [esp + 0x38]
dec edi
xor edx, edx
mov dh, byte [edi]
or ebp, edx
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x38]
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x10
or ebp, edx
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x38]
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x18
or ebp, edx
mov dword [esp + 0x38], ebp
dec edi
xor edx, edx
mov dl, byte [edi]
mov dword [esp + 0x34], edx
mov ebp, dword [esp + 0x34]
dec edi
xor edx, edx
mov dh, byte [edi]
or ebp, edx
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x34]
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x10
or ebp, edx
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x34]
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x18
or ebp, edx
mov dword [esp + 0x34], ebp
dec edi
xor edx, edx
mov dl, byte [edi]
mov ebp, edx
dec edi
xor edx, edx
mov dh, byte [edi]
or ebp, edx
dec edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x10
or ebp, edx
xor edx, edx
mov dl, byte [edi - 1]
shl edx, 0x18
or ebp, edx
xor ebp, eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], ebp
xor eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
xor eax, edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
xor eax, ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
push eax
push ecx
call fcn.004086f0
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
mov edx, edi
shr edx, 0x18
mov byte [esi], dl
add esp, 8
mov edx, edi
inc esi
shr edx, 0x10
mov byte [esi], dl
mov edx, edi
inc esi
mov ecx, dword [esp + 0x28]
shr edx, 8
mov byte [esi], dl
mov dl, byte [esp + 0x20]
inc esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov eax, edi
mov byte [esi], dl
mov edx, dword [esp + 0x24]
inc esi
shr edx, 0x18
mov byte [esi], dl
mov edx, dword [esp + 0x24]
inc esi
shr edx, 0x10
mov byte [esi], dl
mov edx, dword [esp + 0x24]
inc esi
shr edx, 8
mov byte [esi], dl
mov dl, byte [esp + 0x24]
inc esi
mov byte [esi], dl
mov edx, dword [esp + 0x28]
inc esi
shr edx, 0x18
mov byte [esi], dl
mov edx, dword [esp + 0x28]
inc esi
shr edx, 0x10
mov byte [esi], dl
mov edx, dword [esp + 0x28]
inc esi
shr edx, 8
mov byte [esi], dl
mov dl, byte [esp + 0x28]
inc esi
mov byte [esi], dl
mov edx, ecx
inc esi
shr edx, 0x18
mov byte [esi], dl
mov edx, ecx
inc esi
shr edx, 0x10
mov byte [esi], dl
mov edx, ecx
inc esi
shr edx, 8
mov byte [esi], dl
mov dl, cl
mov byte [esi + 1], dl
mov edx, eax
pop edi
shr edx, 0x18
mov byte [ebx], dl
mov edx, eax
inc ebx
pop esi
shr edx, 0x10
mov byte [ebx], dl
mov edx, eax
inc ebx
pop ebp
shr edx, 8
mov byte [ebx], dl
inc ebx
mov byte [ebx], al
mov eax, dword [esp + 8]
mov edx, eax
inc ebx
shr edx, 0x18
mov byte [ebx], dl
mov edx, eax
inc ebx
shr edx, 0x10
mov byte [ebx], dl
mov edx, eax
inc ebx
shr edx, 8
mov byte [ebx], dl
inc ebx
mov byte [ebx], al
mov eax, dword [esp + 4]
mov edx, eax
inc ebx
shr edx, 0x18
mov byte [ebx], dl
mov edx, eax
inc ebx
shr edx, 0x10
mov byte [ebx], dl
mov edx, eax
inc ebx
shr edx, 8
mov byte [ebx], dl
inc ebx
mov edx, ecx
mov byte [ebx], al
mov eax, ecx
inc ebx
shr eax, 0x18
mov byte [ebx], al
inc ebx
shr edx, 0x10
mov byte [ebx], dl
mov eax, ecx
inc ebx
shr eax, 8
mov byte [ebx], al
mov byte [ebx + 1], cl
pop ebx
add esp, 0x20
ret
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
jmp 0x40aa7f
mov ebp, dword [esp + 0x44]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov al, byte [ebp]
mov cl, byte [ebp + 1]
shl eax, 0x18
inc ebp
xor ebx, ebx
shl ecx, 0x10
mov dh, byte [ebp + 1]
or eax, ecx
inc ebp
or eax, edx
inc ebp
xor ecx, ecx
xor edx, edx
mov cl, byte [ebp]
or eax, ecx
inc ebp
xor ecx, ecx
mov dword [esp + 0x48], eax
mov cl, byte [ebp]
mov dl, byte [ebp + 1]
shl ecx, 0x18
inc ebp
shl edx, 0x10
or ecx, edx
inc ebp
xor edx, edx
mov dh, byte [ebp]
or ecx, edx
inc ebp
xor edx, edx
mov dl, byte [ebp]
or ecx, edx
inc ebp
xor edx, edx
mov dword [esp + 0x14], ecx
mov dl, byte [ebp]
mov esi, edx
xor edx, edx
mov dl, byte [ebp + 1]
shl esi, 0x18
inc ebp
shl edx, 0x10
or esi, edx
inc ebp
xor edx, edx
mov dh, byte [ebp]
or esi, edx
inc ebp
xor edx, edx
mov dl, byte [ebp]
or esi, edx
inc ebp
xor edx, edx
mov dword [esp + 0x10], esi
mov dl, byte [ebp]
mov bl, byte [ebp + 1]
shl edx, 0x18
inc ebp
mov esi, dword [esp + 0x3c]
shl ebx, 0x10
or edx, ebx
inc ebp
xor ebx, ebx
mov bh, byte [ebp]
or edx, ebx
inc ebp
xor ebx, ebx
mov bl, byte [ebp]
sub ebp, 0xf
or edx, ebx
lea ebx, [esi - 0x10]
test ebx, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], ebx
jl 0x40b0ca
lea eax, [ebx + 0x10]
mov edi, dword [esp + 0x38]
shr eax, 4
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
neg eax
shl eax, 4
add ebx, eax
mov dword [esp + 0x3c], ebx
xor ebx, ebx
xor eax, eax
mov bl, byte [esi]
mov al, byte [esi + 1]
shl ebx, 0x18
inc esi
xor ecx, ecx
shl eax, 0x10
mov ch, byte [esi + 1]
or ebx, eax
inc esi
or ebx, ecx
inc esi
xor edx, edx
xor eax, eax
xor ecx, ecx
mov dl, byte [esi]
mov al, byte [esi + 1]
or ebx, edx
inc esi
shl eax, 0x18
mov cl, byte [esi + 1]
inc esi
shl ecx, 0x10
or eax, ecx
inc esi
xor edx, edx
xor ecx, ecx
mov dh, byte [esi]
mov cl, byte [esi + 1]
or eax, edx
inc esi
or eax, ecx
inc esi
xor ecx, ecx
xor edx, edx
mov cl, byte [esi]
mov dl, byte [esi + 1]
shl ecx, 0x18
inc esi
mov dword [esp + 0x34], eax
shl edx, 0x10
or ecx, edx
inc esi
xor edx, edx
mov dword [esp + 0x24], eax
mov dh, byte [esi]
mov dword [esp + 0x20], ebx
or ecx, edx
inc esi
xor edx, edx
mov dl, byte [esi]
or ecx, edx
inc esi
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov cl, byte [esi]
xor edx, edx
mov dl, byte [esi + 1]
mov eax, dword [esp + 0x38]
shl ecx, 0x18
inc esi
mov dword [esp + 0x28], eax
shl edx, 0x10
or ecx, edx
inc esi
xor edx, edx
mov dh, byte [esi]
or ecx, edx
inc esi
xor edx, edx
mov dl, byte [esi]
or ecx, edx
lea edx, [esp + 0x20]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x40]
inc esi
push ecx
push edx
call fcn.00409280
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
xor eax, ecx
mov ecx, dword [esp + 0x1c]
add esp, 8
xor ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
xor edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
xor edx, dword [esp + 0x2c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], edx
mov edx, eax
shr edx, 0x18
mov byte [edi], dl
mov edx, eax
inc edi
shr edx, 0x10
mov byte [edi], dl
mov edx, eax
inc edi
shr edx, 8
mov byte [edi], dl
inc edi
mov edx, ecx
mov byte [edi], al
mov eax, ecx
inc edi
shr eax, 0x18
mov byte [edi], al
inc edi
shr edx, 0x10
mov byte [edi], dl
mov eax, ecx
inc edi
shr eax, 8
mov byte [edi], al
mov eax, dword [esp + 0x10]
inc edi
mov edx, eax
shr edx, 0x10
mov byte [edi], cl
mov ecx, eax
inc edi
shr ecx, 0x18
mov byte [edi], cl
inc edi
mov ecx, eax
mov byte [edi], dl
inc edi
shr ecx, 8
mov byte [edi], cl
inc edi
mov byte [edi], al
mov eax, dword [esp + 0x18]
mov edx, eax
inc edi
shr edx, 0x18
mov byte [edi], dl
mov ecx, eax
inc edi
mov edx, eax
shr ecx, 0x10
mov byte [edi], cl
inc edi
shr edx, 8
mov ecx, dword [esp + 0x38]
mov byte [edi], dl
mov edx, dword [esp + 0x44]
inc edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov byte [edi], al
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
inc edi
dec eax
mov dword [esp + 0x1c], eax
jne 0x40adbe
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
cmp ebx, 0xfffffff0
je 0x40b129
xor ebx, ebx
xor eax, eax
mov bl, byte [esi]
mov al, byte [esi + 1]
shl ebx, 0x18
inc esi
xor ecx, ecx
shl eax, 0x10
mov ch, byte [esi + 1]
or ebx, eax
inc esi
or ebx, ecx
inc esi
xor edx, edx
xor eax, eax
xor ecx, ecx
mov dl, byte [esi]
mov al, byte [esi + 1]
or ebx, edx
inc esi
shl eax, 0x18
mov cl, byte [esi + 1]
inc esi
shl ecx, 0x10
or eax, ecx
inc esi
xor edx, edx
xor ecx, ecx
mov dh, byte [esi]
mov cl, byte [esi + 1]
or eax, edx
inc esi
or eax, ecx
inc esi
xor ecx, ecx
xor edx, edx
mov cl, byte [esi]
mov dl, byte [esi + 1]
shl ecx, 0x18
inc esi
mov dword [esp + 0x34], eax
shl edx, 0x10
or ecx, edx
inc esi
xor edx, edx
mov dword [esp + 0x24], eax
mov dh, byte [esi]
mov dword [esp + 0x20], ebx
or ecx, edx
inc esi
xor edx, edx
mov dl, byte [esi]
or ecx, edx
inc esi
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov cl, byte [esi]
xor edx, edx
mov dl, byte [esi + 1]
mov eax, dword [esp + 0x38]
shl ecx, 0x18
inc esi
mov dword [esp + 0x28], eax
shl edx, 0x10
or ecx, edx
inc esi
xor edx, edx
mov dh, byte [esi]
mov dl, byte [esi + 1]
or ecx, edx
lea edx, [esp + 0x20]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x40]
push ecx
push edx
call fcn.00409280
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
add esp, 8
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
xor edx, esi
mov esi, dword [esp + 0x18]
xor ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x2c]
xor esi, ecx
mov dword [esp + 0x14], eax
mov ecx, esi
mov esi, dword [esp + 0x3c]
lea edi, [edi + esi + 0x10]
add esi, 0xf
cmp esi, 0xf
ja case.default.0x40b05b
jmp dword [esi*4 + 0x40b1f0]
dec edi
mov byte [edi], cl
mov eax, ecx
dec edi
shr eax, 8
mov byte [edi], al
mov eax, ecx
dec edi
shr eax, 0x10
mov byte [edi], al
mov eax, dword [esp + 0x14]
dec edi
shr ecx, 0x18
mov byte [edi], cl
dec edi
mov byte [edi], dl
mov ecx, edx
dec edi
shr ecx, 8
mov byte [edi], cl
mov ecx, edx
dec edi
shr ecx, 0x10
mov byte [edi], cl
dec edi
shr edx, 0x18
mov byte [edi], dl
dec edi
mov byte [edi], al
mov edx, eax
dec edi
shr edx, 8
mov byte [edi], dl
mov ecx, eax
dec edi
shr ecx, 0x10
mov byte [edi], cl
dec edi
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x48]
dec edi
mov edx, eax
mov ecx, eax
mov byte [edi], al
dec edi
shr edx, 8
mov byte [edi], dl
dec edi
shr ecx, 0x10
mov byte [edi], cl
jmp 0x40b0ff
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
jmp 0x40af56
mov eax, dword [esp + 0x48]
dec edi
mov edx, eax
mov ecx, eax
shr edx, 8
mov byte [edi], dl
dec edi
shr ecx, 0x10
mov byte [edi], cl
jmp 0x40b0ff
mov eax, dword [esp + 0x48]
dec edi
mov ecx, eax
shr ecx, 0x10
mov byte [edi], cl
jmp 0x40b0ff
mov eax, dword [esp + 0x48]
shr eax, 0x18
mov byte [edi - 1], al
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ebx
mov eax, ebx
mov ebx, eax
pop edi
shr ebx, 0x18
mov byte [ebp], bl
mov ebx, eax
inc ebp
pop esi
shr ebx, 0x10
mov byte [ebp], bl
mov ebx, eax
inc ebp
shr ebx, 8
mov byte [ebp], bl
inc ebp
mov byte [ebp], al
mov eax, ecx
inc ebp
shr eax, 0x18
mov byte [ebp], al
mov eax, ecx
inc ebp
shr eax, 0x10
mov byte [ebp], al
mov eax, ecx
inc ebp
shr eax, 8
mov byte [ebp], al
mov eax, dword [esp + 8]
inc ebp
mov byte [ebp], cl
mov ecx, eax
inc ebp
shr ecx, 0x18
mov byte [ebp], cl
mov ecx, eax
inc ebp
shr ecx, 0x10
mov byte [ebp], cl
mov ecx, eax
inc ebp
shr ecx, 8
mov byte [ebp], cl
inc ebp
mov ecx, edx
mov byte [ebp], al
mov eax, edx
inc ebp
shr eax, 0x18
mov byte [ebp], al
inc ebp
shr ecx, 0x10
mov byte [ebp], cl
mov eax, edx
inc ebp
shr eax, 8
mov byte [ebp], al
mov byte [ebp + 1], dl
pop ebp
pop ebx
add esp, 0x20
ret